Custom roll up summary to find count of contacts on account

Sharing is caring!

Custom roll up summary

By using formula field we can achieve only single records using field but roll up summary is helps to calculate value from related set of records. In order to create roll up summary their must be master detail relationship between objects and we can auto assign using roll up summary fields. It helps you to find count,sum,max,min of requested fields.

trigger to count number of contacts on account by Custom roll up summary

Business case :

As per requirement, System Administrator need to know count of associated contacts to single account.

In order to achieve requirement we can use out of box functionality with standard roll up summary  or custom roll up summary, Here I am explain about Custom Roll up Summary.

Keep visiting us for more updates No tags for this post.


Like Us for FB Page

Trailhead Profile

Subscribe Us

Global View

Follow us in twitter