A Salesforce Administrator at a commercial wholesale distributor is configuring calculations between a custom master object, Purchase_Order__c, and a custom detail object, Purchase_Order_Line__c, connected via a Master-Detail relationship. The business requires displaying the aggregated total value of line items on the purchase order record, where line item unit prices are derived from a cross-object formula referencing a related Product2 record. Which TWO considerations and system limitations must the administrator account for when implementing this calculation? (Select 2)
- Roll-Up Summary fields cannot aggregate a custom formula field on a detail object if that formula references fields from another related object across a lookup relationship.Answer
- BRoll-Up Summary fields can be created on any parent object regardless of whether the relationship type is a Master-Detail or a standard Lookup relationship.
- Native Roll-Up Summary functionality is available for this requirement because Purchase_Order__c and Purchase_Order_Line__c share a Master-Detail relationship rather than a Lookup relationship.Answer
- DDeleting a master Purchase_Order__c record will leave the detail Purchase_Order_Line__c records intact as orphaned records while keeping the roll-up value frozen.
Answer
The administrator must account for the restriction that Roll-Up Summary fields cannot aggregate cross-object formulas on detail records, and recognize that native Roll-Up Summary capability is available specifically because the objects share a Master-Detail relationship.
The correct statements correctly identify the fundamental relationship prerequisite for native Roll-Up Summary fields (Master-Detail) and the specific system limitation regarding cross-object formulas on detail objects. When a detail record's formula field references another object via a lookup relationship, it cannot be targeted by a Roll-Up Summary field on the master record.
Step-by-Step Solution
Key Concept
Roll-Up Summary Field Requirements and Cross-Object Formula Restrictions