A Salesforce administrator needs to display the total sum of all related child record amounts on a custom parent object. However, when creating a new field on the parent object, the Roll-Up Summary field type option is greyed out and cannot be selected. What is the primary reason the administrator is unable to create a Roll-Up Summary field?
- The relationship between the parent object and the child object is a Lookup relationship rather than a Master-Detail relationship.Cevap
- BThe parent object has Organization-Wide Defaults configured as Private, which restricts roll-up calculations.
- CRoll-Up Summary fields can only be created on child objects to aggregate values from parent records.
- DThe child object contains active records that must be deleted first to allow cascading deletion setup.
Cevap
The relationship between the parent object and the child object is a Lookup relationship rather than a Master-Detail relationship.
Declarative Roll-Up Summary fields are only available on the master object in a Master-Detail relationship. When objects are connected via a Lookup relationship, Salesforce disables the Roll-Up Summary field option during custom field creation.
Adım Adım Çözüm
Anahtar Kavram
Roll-Up Summary fields require a Master-Detail relationship between parent and child objects.