Trt to avoid putting any business logic in triggers..Triggers should be used to pass current state of object(trigger.new)/trigger.old as a parameter to a method for a class based on the events.all the DML statements should be written in the method that is calledby the trigger..
Trt to avoid putting any business logic in triggers..Triggers should be used to pass current state of object(trigger.new)/trigger.old as a parameter to a method for a class based on the events.all the DML statements should be written in the method that is calledby the trigger..