An administrator at Universal Containers needs to display the total monetary value of all related child Service_Ticket__c records on a custom parent object named Asset_Tracker__c. The two objects are currently linked using a custom Lookup relationship. While attempting to set up the field on Asset_Tracker__c, the administrator notices that the Roll-Up Summary field type is greyed out and cannot be selected. Which statement correctly explains why the Roll-Up Summary field type is disabled in this scenario?
- Roll-Up Summary fields can only be created on the parent object in a Master-Detail relationship, not a Lookup relationship.Cevap
- BRoll-Up Summary fields are exclusively supported on standard objects and cannot be created on custom parent objects.
- CRoll-Up Summary fields cannot perform aggregate SUM operations on custom currency fields.
- DDeleting records in a Lookup relationship automatically cascades to detail records, which disables summary field functionality.
Cevap
Roll-Up Summary fields require a Master-Detail relationship between the parent and child objects.
In Salesforce, native Roll-Up Summary fields can only be created on the master object of a Master-Detail relationship. Because Asset_Tracker__c and Service_Ticket__c are linked via a Lookup relationship, the Roll-Up Summary field type is disabled. To resolve this, the administrator would need to convert the Lookup relationship to a Master-Detail relationship or use an automated flow/Apex solution to calculate the sum.
Adım Adım Çözüm
Anahtar Kavram
Roll-Up Summary Field Relationship Requirements