Hello,
I am looking for a way to get a collection of related records in in Salesforce via SOQL query
When an Opportunity’s StageName changes to ‘Closed Won’, I want to find all related Opportunity Products.
The SOQL that I have written is correct, but I am encountering an issue; It seems as though I can only ever fetch the most recently created Opportunity Product.
The end goal is to create a customer and a sale within Quickbooks Online, but if I can’t work with multiple Salesforce records within one transaction, then I will have to look for another technical solution.