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
Rahul Rahul 13Rahul Rahul 13 

Hi guys, I got 2 question about roll up summary can someone help me please

1.   What if the master object has 20 roll-up summary fields and a new managed package installing has 10 roll-up summer fields on the same master object?? managed package install successfully or else??

2. how many roll-up summaries can be created per object this question is for ADM 201 because I read somewhere in enterprise edition we can only create 10 roll-up summary per custom object can someone clarify this for me please
Best Answer chosen by Rahul Rahul 13
ravi soniravi soni
hy Rahul,
rolupSummery limit => 25
I think managed package will not be installed successfuly. it can throw error.

There is a soft limit of 25 rollup summary fields per object but that can be increased to 40, as per this Salesforce article. It is not recommended to go beyond 25, as the more rollup summary fields you create, the more complex the org can become.

https://www.m4b.co.uk/resources/declarative-lookup-rollup-summaries-in-salesforce/

don't forget to mark it as best answer. if this answer is useful to you.
Thank you