+ Start a Discussion

trigger on update and delete

On insertion or updation on records of object (say A ) i want insert or update to be reflected in two other objects (say B and C)

Object A consist of fields from Band C 

B and C have master detail relationship between them

how can i write a trigger for same?




If I am correct you have Object A, Object B and Object C. Now Object B and Object C having the Master Details relation with Object A. If this is the scenario you can simply create the formula field in object B and Object C which will display the value of Object A. If I am wrong than please explain little bit more??






Actually B and C have masterdetail relationship between them not with A

And object A has all the fields combining from both B and C