I just noticed that creating an OpportuniyLineItem fires my Opportunity trigger. I think that when the OpportunityLineItem gets created SF updates the HasOpportunityLineItem field on Opportunity which kicks in the Opportunity trigger.
- Can somebody confirm if that's correct as I couldn't find anything on Google?
- If that's the case is there a way to prevent the opportunity's trigger to fire?