A System Administrator is creating a new field on a custom object called Project__c. The administrator intends to aggregate total cost values from related Project_Task__c records using a Roll-Up Summary field. However, when choosing the field type for Project__c, the Roll-Up Summary option is greyed out. Which relationship configuration explains why the Roll-Up Summary field type is unavailable?
- The relationship field linking Project_Task__c to Project__c is a Lookup relationship rather than a Master-Detail relationship.Cevap
- BThe child records on Project_Task__c are hidden by Dynamic Forms field visibility settings on the lightning record page layout.
- CDeleting a child record on Project_Task__c automatically locks the field creation wizard on the parent Project__c object.
- DRoll-Up Summary fields require at least one existing child record on Project_Task__c before the option becomes active in schema builder.
Cevap
The relationship field linking Project_Task__c to Project__c is a Lookup relationship rather than a Master-Detail relationship.
Roll-Up Summary fields can only be created on the master object of a Master-Detail relationship. Because the two objects are connected via a Lookup relationship, Salesforce disables the Roll-Up Summary field data type option.
Adım Adım Çözüm
Anahtar Kavram
Roll-Up Summary Relationship Requirements