Text:
I am interacting with two tables in my Airtable
First table: "Payment History," where I have a lookup column called "Unpaid Delivered Tasks" that displays codes in a format like "#C0005, #F0055, #T800."
Second table: "Sales," where the first column is called "Unique Code," and it contains codes corresponding to each sale. Additionally, there's an important column named "Advisor Payment Status" with two options: "Pending" and "Paid."
What am I looking for?
I'm trying to find the most effective way to update records in the "Sales" table when an automation or script is executed from a specific record in the "Payment History" table. The goal is to search for all the codes listed in the "Unpaid Delivered Tasks" column of the "Payment History" table and update the corresponding records in the "Advisor Payment Status" column of the "Sales" table to mark them as "Paid."
What I've tried:
I attempted to create an automation where I manually entered the code into a text column. This worked well with a single code, for example, "#C0005." However, when I tried with two codes, like "#C0005, #F0055," it didn't work because Airtable treated it as a single value.
I also tried creating a script with a button in the record, but I'm not an expert in programming. I've created some scripts, but I always receive the message that no matching codes were found in the "Sales" table, even when I'm attempting to update just one code.
I would greatly appreciate it if someone could provide a solution or tips for achieving this efficient update in Airtable. Thank you!