An administrator is attempting to create a Roll-Up Summary field on a parent custom object to calculate the sum of related child record amounts. However, during field creation, the administrator observes that the Roll-Up Summary field type option is greyed out and unavailable. What is the reason the Roll-Up Summary field type is disabled?
- The parent object and child object are connected using a Lookup relationship rather than a Master-Detail relationship.Answer
- BRoll-Up Summary fields are only supported on standard Salesforce objects such as Accounts and Opportunities.
- CThe detail records were deleted, which permanently locks field creation on the master object.
- DRoll-Up Summary fields can only perform MIN and MAX operations, not SUM calculations.
Answer
The Roll-Up Summary field type is disabled because the parent and child objects are linked via a Lookup relationship instead of a Master-Detail relationship.
In Salesforce, Roll-Up Summary fields can only be created on the master object of a Master-Detail relationship. When objects are linked via a standard Lookup relationship, the Roll-Up Summary field type option remains disabled.
Step-by-Step Solution
Key Concept
Roll-Up Summary Relationship Requirement