Why Before Trigger should not have DML for other objects
if you update or delete a record in its before trigger, or delete a record in its after trigger, you will receive a runtime error. This includes both direct and indirect operations. For example, if you update account A, and the before update trigger of account A inserts contact B, and the after insert trigger of contact B queries for account A and …
Why Before Trigger should not have DML for other objects Read More »