ADM-201 · Question #329
The DreamHouse Realty team has a master-detail relationship set up with Open House as the parent object and Visitors as the child object. What type of field should the administrator add to the Open…
The correct answer is D. Roll-up summary. To track the number of Visitors (child records) on the Open House (parent) object in a master-detail relationship, a roll-up summary field should be used.
Question
The DreamHouse Realty team has a master-detail relationship set up with Open House as the parent object and Visitors as the child object. What type of field should the administrator add to the Open House object to track the number of Visitors?
Options
- AIndirect lookup
- BCross-object formula
- CMulti-select pickhst
- DRoll-up summary
How the community answered
(47 responses)- A4% (2)
- B2% (1)
- C11% (5)
- D83% (39)
Why each option
To track the number of Visitors (child records) on the Open House (parent) object in a master-detail relationship, a roll-up summary field should be used.
An indirect lookup is used to link a child external object to a parent standard or custom object, which is not applicable here for counting related records.
A cross-object formula field can pull data from related records but cannot aggregate counts or sums from multiple child records.
A multi-select picklist is a field type for selecting multiple values from a predefined list and is not used for counting related records.
A roll-up summary field is specifically designed for master-detail relationships to calculate values from related detail records and display them on the master record, such as counting the number of child records.
Concept tested: Roll-up summary fields in master-detail relationships
Source: https://help.salesforce.com/s/articleView?id=sf.fields_about_roll_up_summary_fields.htm&type=5
Topics
Community Discussion
No community discussion yet for this question.