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

after update trigger on master object fired when update made on record in child object related list
I have two custom objects, one is the master and one child. When I click on Edit on a record of the child object in the related list of the master object, make a change and click save, an after update trigger for the master object fires. Is this a bug? I am not updating anything on the master object but it is acting like I am......
Any thoughts on this?
Thanks,
There are a bunch of workarounds you can implement to prevent your master-level trigger from firing when the detail records are edited. Just add some boolean checks at the top of your trigger that determine whether your master-level record's relevant fields have changed. Looking at last modified date should work, for example.
HTH
Jeremy Kraybill
Austin, TX
Thanks for the info. I wrote a work-around that seems to have taken care of it. I can imagine cases though where this might actually come in handy....