I wish to write a trigger for to sum up Fees (Custom Field) on the Contact object. The sum needs to be displayed on the account object as a Total Fee.
For Example - I have an Account A1 that has 3 contacts(C1,C2,C3) where the fees are 500,400,400. I wish to show the sum 1300 on the custom field (Total Fee) of the Account object.
Please help me, I have made triggers for adding total fees under account, but I need a little bit of guidance.