+ Start a Discussion
Divya GoelDivya Goel 

Apex Trigger is not getting fired on child object

Hi,
 
I have Master Detail Relationship between two custom objects. I also have apex triggers on both of the custom objects. When I am deleting a record on master object all the records of child object gets deleted because of master detail realtionship but the delete trigger on child object does not get fired in this case.
 
Please suggest me a solution.
 
Thanks
TehNrdTehNrd
This is a cascade delete scenario and I don't belive triggers will execute on the children. See page 174 of the Apex Reference Guide.
Paulo CastroPaulo Castro
Please vote my idea to SF solve it: Enable triggers for cascade deleting