The Roll-up Summary field
The Roll-up Summary field in Salesforce is a special type of field that is created on the master object so that we can show rolled-up data from child records to master records. Roll-up Summary fields in Salesforce can only be created on a master object when there is a master-detail relationship between two objects.
The Roll-up Summary field is only capable of calculating the following:
SUM: This shows the sum of all the child records specific to the field on the master record
COUNT: This shows the number of child records present on the master record
MIN: This shows the minimum value of the child records on the master record
MAX: This shows the maximum value of the child records on the master record
In our application, as we already discussed, we have a master-detail relationship between the Sponsor
and Booth Registration
objects. So, it is possible to create a Roll-up Summary field on the Sponsor
object to count the number of booth registrations made by a specific...