You need to sign in to do that
Don't have an account?
Yunus Mohammed
The total contract revenues for an account should be auto summed as a field on the account.
How to calculate total contract revenues
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
You need to write a trigger on Contract object which will sum up the amount of all related contract records. The summed up amount you can put on Account Field.
Check the sample roll-up summery code here for reference: https://github.com/amitastreait/Rollup-Summary-Trigger/blob/master/Attachment_Trigger.java
Let me know if this helps.
**Please mark this as best answer if this answers your query.**
Thanks,
Manish Choudhari
14x Certified Salesforce Architect
Certification link: http://certification.salesforce.com/certification-detail-print?conId=003G000002gRrrEIAS
My Blog: http://sfdcfacts.com/
Youtube Channel: https://www.youtube.com/SFDCFacts
LinkedIn: https://www.linkedin.com/in/manish-choudhary/
Trailhead: https://trailhead.salesforce.com/en/me/manish-choudhari
Twitter: https://mobile.twitter.com/manish_sfdc
Try this