You need to sign in to do that
Don't have an account?
nagarjuna guraja
Need Trigger for Apex
We have two objects Account and Contact, We need to write a trigger such that Account has three child contacts, There is a field called "Revenue" on all three child contacts, and there is Field called "Total Revenue" on Account. If we update all three child contacts revenue field then automatically parent Account Total Revenue value should be populated.
If any revenue is updated or new contact is created then total revenue field need to be updated? Can you confirm if this is the scenerio.
Thanks.