A Salesforce administrator at a freight logistics company is configuring custom fields on a parent Freight_Shipment__c object and a child Package__c object. The administrator needs to display the total calculated weight of all associated packages directly on the Freight_Shipment__c detail page. However, when attempting to create a new custom Roll-Up Summary field on the parent object, the option is unavailable because the objects are currently connected via a Lookup relationship. Which field configuration step is required to enable the Roll-Up Summary data type on the parent object?
- Convert the relationship on the Package object from a Lookup relationship to a Master-Detail relationship.Answer
- BConfigure Lead Custom Field Mapping to link the child object weight field directly to the parent object.
- CAssign the existing Lookup field to all available Record Types on the child object.
- DDelete all existing detail records on the child object so the system enables roll-up capabilities on the Lookup relationship.
Answer
Convert the relationship on the child Package object from a Lookup relationship to a Master-Detail relationship.
Roll-Up Summary fields calculate metrics such as SUM, COUNT, MIN, or MAX from child records, but in declarative Salesforce setup, they can only be created on the master object of a Master-Detail relationship. Converting the lookup field on the child Package object to a Master-Detail relationship fulfills this system prerequisite.
Step-by-Step Solution
Key Concept
Master-Detail vs. Lookup Relationship Roll-Up Summary Capabilities