Salesforce.com Trigger for Roll-up Summary in Lookup Relationship

  • 9 years ago
https://goo.gl/WqBLB1 Salesforce.com Trigger for Roll-up Summary in Lookup Relationship
Salesforce provides roll-up summary fields to aggregate child records and their fields, but it only works in the master detail relationship. Often, due to number restrictions of the master detail relationships available on an object ( 2 ) or due to business requirements, you are bound to have a Lookup Relationship. This video explains how you can achieve the same functionality by using Trigger (in case of Lookup Relationship) ensuring the use of List and Map.

Recommended