Hi all.
So I seem to be stuck. I have a table called People. 100s of records with them all associated with a Company Name (from Company Table). Some people are designated (checkbox) as being a billing contact or primary contact for a company. All of this is great. I made a view called People By Billing view that shows me just those marked
Now each year we sent out invoices. We have a table called Payments, with one record for each Company in the Company Table. This is all good. Here is where I am frozen. What I want to do is pull those that are marked as primary or billing from People to link in the Payments. We want this because we send out emails via the SendGrid tool to those people and attach the Payment ID to it so we can process.
I wrote a script that loops through a People By Billing and writes them to a linked record in Payments but it keeps overwriting the record already in the linked record, and honestly, I don’t feel like this needs to be a formula. I don’t want me client to have to run it. I want the People_Link to just pull those from the People By Billing View in People. The records you see in there now were pushed via my inefficient script! And Thanks as always! - Jon

I might as well add the script here in case someone can see where I am missing the addition to People_Link and not overriding.