Salesforce Lookup Rollup Summaries
This library contains one single class called “LREngine” i.e. “L”ookup “R”ollup Engine, which:
- Performs rollup on multiple such fields in a single aggregate SOQL query.
- Allows easy addition/removal of new fields to rollup as requirement changes over the span of time.
- A developer needs to write only a single trigger for multiple rollup fields.
- Allows the developer to filter the child records getting rolled up, just like standard roll-up summary fields.