A Salesforce Administrator is configuring tracking for a custom parent object, Vendor_Contract__c, and a custom child object, Deliverable__c, which are currently connected by a Lookup relationship. The business management team requires displaying two metrics on each vendor contract record: the combined total financial value of all related deliverables, and the calculated average value per deliverable. Which two configuration steps should the administrator perform to fulfill these requirements? (Select 2)
- Convert the existing Lookup relationship field on Deliverable__c to a Master-Detail relationship field.Answer
- Create a Roll-Up Summary field on Vendor_Contract__c using the SUM aggregate function, and a Formula field on Vendor_Contract__c to calculate the average value.Answer
- CCreate a Roll-Up Summary field directly on Vendor_Contract__c while keeping the existing Lookup relationship intact.
- DDelete existing parent Vendor_Contract__c records to force Salesforce to reclassify child lookup fields into Master-Detail fields automatically.
Answer
The administrator must convert the Lookup relationship on Deliverable__c to a Master-Detail relationship, then create a Roll-Up Summary field (SUM) on Vendor_Contract__c along with a Formula field to calculate the average value.
To create standard Roll-Up Summary fields, the underlying object relationship must be a Master-Detail relationship. Converting the lookup field on the child object to a master-detail field enables roll-up capabilities. Once converted, a Roll-Up Summary field using the SUM operation calculates the total deliverable value, and a formula field can calculate the average by dividing total value by total deliverable count.
Step-by-Step Solution
Key Concept
Roll-Up Summary Field Relationship Requirements and Aggregate Formula Calculations