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
chamanthula shekharchamanthula shekhar 

Please solve this Question.....

How to create rollup summary for lookup relationship objects ???
 If anybody know please give the solution for this Question...
VinayVinay (Salesforce Developers) 
Hi Shekhar,

Check below references that can help to create Roll-Up Summary Fields on Lookup Relationships.

http://varasi.com/salesforce/implementing-roll-up-summary-when-you-are-dealt-with-a-lookup-relationship/
https://developer.salesforce.com/forums/?id=906F0000000g0q1IAA
https://www.salesforceben.com/4-ways-to-create-roll-up-summary-fields-on-lookup-relationships-in-salesforce/

Please mark as Best Answer if above information was helpful.

Thanks,
chamanthula shekharchamanthula shekhar
Thank you for the information vinay... 
H 007H 007
Hi ,
In Salesforce, a roll-up summary field is a field on a master object that calculates the sum, minimum, maximum, or count of a related object's fields. To create a roll-up summary field for a lookup relationship object:
  • Go to the master object's page layout and click on the gear icon. Select "Edit Layout"
  • Drag and drop the Roll-Up Summary field from the Fields section to the page layout.
  • In the Roll-Up Summary field properties, select the related object and the field that you want to summarize.
  • Select the type of summary you want to perform (sum, minimum, maximum, or count).
  • Save the page layout.
Please note that Roll-up Summary fields can only be created on the Master side of a Lookup Relationship. Also, The related object should be on the other side of the relationship.
You can also use the Salesforce's declarative Roll-Up Summary tool, The Salesforce's Roll-Up Summary Tool can be used to create roll-up summary fields for master-detail and lookup relationships. It's a third-party tool that simplifies the process of creating roll-up summary fields, and also provides additional functionality such as the ability to create roll-ups on multiple levels and across multiple objects.