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.
When you modify an opportunity product on an opportunity, or when an opportunity product schedule changes an opportunity product, even if the opportunity product changes the opportunity, the before and after triggers and the validation rules don't fire for the opportunity. However, roll-up summary fields do get updated, and workflow rules associated with the opportunity do run