An administrator is configuring custom calculation fields for a custom object called Project_Milestone__c, which has a Master-Detail relationship with Project__c and a Lookup relationship with Department__c. Which two statements accurately describe supported field configurations on these objects? (Select 2)
- A Roll-Up Summary field can be created on Project__c to aggregate values from related Project_Milestone__c records.Answer
- BA Roll-Up Summary field can be created on Department__c to count the number of related Project_Milestone__c records.
- A cross-object formula field on Project_Milestone__c can reference and display fields from the parent Department__c record.Answer
- DDeleting a Project__c master record preserves related Project_Milestone__c records if a Roll-Up Summary field is present.
Answer
Roll-Up Summary fields can be created on the master object (Project__c) to aggregate detail records, and cross-object formula fields on the child object (Project_Milestone__c) can reference fields from parent records across lookup relationships.
Roll-Up Summary fields can only be created on the master object in a Master-Detail relationship (Project__c to Project_Milestone__c). Additionally, cross-object formula fields on child records can reference parent values through both Lookup and Master-Detail relationships.
Step-by-Step Solution
Key Concept
Roll-Up Summary fields require a Master-Detail relationship on the master object, whereas cross-object formulas can reference parent fields across both Lookup and Master-Detail relationships.