A Salesforce administrator attempts to create a Roll-Up Summary field on a custom parent object called Course__c to count related student registration records. However, during field creation, the Roll-Up Summary field type option is greyed out and disabled. What is the most likely reason for this restriction?
- The relationship between Course__c and the student registration object is a Lookup relationship rather than a Master-Detail relationship.Cevap
- BRoll-up summary fields can only be defined on child detail objects to summarize data from parent master records.
- CDeleting a master record preserves related detail records as independent records, which prevents summary calculations.
- DRoll-up summary fields are exclusive to standard objects and cannot be created between custom objects.
Cevap
The relationship between Course__c and the student registration object is a Lookup relationship rather than a Master-Detail relationship.
In Salesforce, native Roll-Up Summary fields can only be created on the master object of a Master-Detail relationship. If two objects are joined using a Lookup relationship, the Roll-Up Summary field type remains disabled during field setup on the parent object.
Adım Adım Çözüm
Anahtar Kavram
Roll-Up Summary Field Relationship Prerequisites