Universal Containers tracks customer site deployments using a custom parent object named Installation_Site__c and individual maintenance events using a custom child object named Maintenance_Log__c. Currently, Maintenance_Log__c has a Lookup relationship to Installation_Site__c. The administration team needs to display the total aggregate cost of all completed maintenance logs directly on the parent Installation_Site__c record. Additionally, users need to view the email address of the Installation Site's Primary Contact directly on each Maintenance_Log__c record. Which TWO configurations or requirements must the administrator evaluate to successfully implement this solution?
- The relationship on Maintenance_Log__c must be converted to a Master-Detail relationship before a Roll-Up Summary field using a SUM aggregate function can be created on Installation_Site__c.Answer
- A cross-object formula field can be created on Maintenance_Log__c to retrieve the contact email address using the formula syntax Installation_Site__r.Primary_Contact__r.Email.Answer
- CA Roll-Up Summary field can be created on Installation_Site__c while preserving the Lookup relationship, provided field filter criteria are configured to restrict calculation to completed records.
- DConverting the relationship to Master-Detail ensures that deleting an Installation_Site__c record preserves all related Maintenance_Log__c records as unparented standalone records.
Answer
The administrator must convert the existing Lookup relationship to a Master-Detail relationship to enable Roll-Up Summary capabilities on the parent object, and create a cross-object formula field on the child object to reference the Primary Contact's email address.
Native Roll-up summary fields are strictly supported on the master object of a Master-Detail relationship, so converting the Lookup relationship to Master-Detail is a mandatory prerequisite to aggregate values on the parent object. In addition, cross-object formula fields allow referencing parent and grand-parent fields using relationship syntax across up to 10 relationship levels.
Step-by-Step Solution
Key Concept
Roll-Up Summary and Cross-Object Formula Capabilities and Relationship Constraints
Estimated Time:3m 0s