function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Lisa Horne 1Lisa Horne 1 

Help with a trigger for Rollup Summary field from Contracts

I need help with creating a trigger to create a Rollup Summary on the Accounts object from the Contracts object.  The field from the Contract that I need to rollup onto the Account screen is called Active_Contract_Count__c.

Could someone please help?
MikeGillMikeGill

This will save you lots of time and coding

http://andyinthecloud.com/2014/05/08/account-hierarchy-rollups-clicksnotcode/
Vinit_KumarVinit_Kumar
If you want to have Trigger only,go through the below link which has a sample code also :-

http://www.anthonyvictorio.com/salesforce/roll-up-summary-trigger/