A Salesforce administrator at a luxury hospitality group is configuring custom fields to track guest charges. The organization has a parent custom object named Reservation__c and a child custom object named Addon_Service__c, linked together by a standard Lookup relationship. Management requires a field on the Reservation__c object that automatically calculates the total monetary sum of all related Addon_Service__c records. What administrative action must be completed before the administrator can create this calculated field?
- Convert the existing Lookup relationship on the child object to a Master-Detail relationship after ensuring all child records have populated lookup values.Cevap
- BCreate the Roll-Up Summary field directly on the parent object using the existing Lookup relationship, as summary calculations natively support both relationship types.
- CConfigure Lead Custom Field Mapping to transfer summary values from the child object to the parent object during record creation.
- DAssign the custom fields to a new Record Type on the parent object to unlock summary field capabilities across lookup objects.
Cevap
Convert the existing Lookup relationship on the child object to a Master-Detail relationship after ensuring all child records have populated lookup values.
In Salesforce, Roll-Up Summary fields aggregate data from child records onto a parent record, but they can only be created on the master object in a Master-Detail relationship. To enable this functionality when objects are currently connected via a Lookup relationship, the administrator must convert the lookup field on the child object to a master-detail field. For this conversion to be allowed by Salesforce, every existing child record must already have a non-null reference to a parent record.
Adım Adım Çözüm
Anahtar Kavram
Roll-Up Summary Field Eligibility and Master-Detail Conversion
Tahmini Süre:2m 0s