ADM-201 · Question #376
The administrator at Universal Container has created two objects: Containers_c Purchase_c, Management has requested that all container records display on purchase records in Salesforce. Which type…
The correct answer is D. Lookup field. To display all related Container records on a Purchase record, the administrator should establish a Lookup relationship from the Container object to the Purchase object.
Question
The administrator at Universal Container has created two objects: Containers_c Purchase_c, Management has requested that all container records display on purchase records in Salesforce. Which type of relationship between Containers_c and Purchase_c should satisfy the requirement?
Options
- ARoll-Up Summary field
- BFormula field
- CMaster-detail field
- DLookup field
How the community answered
(25 responses)- A8% (2)
- B4% (1)
- C4% (1)
- D84% (21)
Why each option
To display all related Container records on a Purchase record, the administrator should establish a Lookup relationship from the Container object to the Purchase object.
A Roll-Up Summary field aggregates data from related detail records onto a master record, but it does not define the relationship itself; it depends on an existing Master-Detail relationship.
A Formula field calculates values based on other fields and does not establish a relationship between two objects for displaying related lists.
While a Master-Detail relationship also displays related records, a Lookup relationship is sufficient for merely displaying related records and offers more flexibility if strict ownership/security inheritance or roll-up summaries are not explicitly required.
A Lookup relationship links two objects, and by creating a Lookup field on the 'Containers__c' object pointing to 'Purchase__c', multiple Container records can be associated with a single Purchase record, automatically displaying them in a related list on the Purchase record.
Concept tested: Lookup relationships for related lists
Source: https://help.salesforce.com/s/articleView?id=sf.overview_of_custom_object_relationships.htm&type=5
Topics
Community Discussion
No community discussion yet for this question.