function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
-d-g--d-g- 

Sync Custom Objects

Hi, I'm working with QuoteLineItems. I want custom object fields to update on the Opportunity when the Quote Line Item is synced, and for subsequent changes to each to be updated as well. Whats the best way to accomplish this? It can't be done via workflow.  Is this possible to do through apex trigger(s)? Thanks for any guidance.

 

-david

sfdcfoxsfdcfox

Yes, a trigger can accomplish your goal. When a qualifying edit occurs (e.g. the quote is modified), you can update the opportunity via a trigger.