You need to sign in to do that
Don't have an account?

How to avoid before trigger to fire on quote Object when any of the related quotelines are getting deleted.
How to avoid before trigger to fire on quote Object when any of the related quotelines are getting deleted.
I have a trigger on quote trigger which has soql to fetch quotelines from db, but I don't want to fire this trigger when quotelines are getting deleted.
I have a trigger on quote trigger which has soql to fetch quotelines from db, but I don't want to fire this trigger when quotelines are getting deleted.

If the trigger is on Quote object, then it would only if there is an insert/update activity on the Quote object only. However only if there is an update on the Quote object in any field due to deleting the line items, only then this would be possible. Can you please check if there is a trigger on QuoteLineItems which updates the parent Quote object. In that case you need to !isDelete in the trigger for QuoteLineItem to prevent the same.