I am trying to find what happens when Sync Quote is clicked on the Quote. What is the order of execution (Opportunity updated prior to OpportunityLineItem or vice-versa)? The execution flow is important because one of our logic works fine if sync is on and Quote is edited but doesn't work when Sync Quote is turned on after quote is edited.
I tried going through the debug logs and didn't find any OpportunityLineItem triggers fired.
Best Answer
I have tried with an example that I have created a Quote and Quote comes with QuoteLineItem as same as OpportunityLineItem. I Press the (StartSync) button on Quote and checked the debug I found that trigger sequence below :
Also tried with Created a Quote and changed the Quantity of QuoteLineItem then Press the (StartSync) Button, Sequence was :