CRT-403 practice question 18 of 35
Universal Containers utilizes opportunities and a custom object called Detaited.Sales__c. The company would like to roll sales metrics up to an opportunity for only Detailed.Sales__c records that have their picklist status set to Active. What is the recommended method for the app builder to achieve this request?
Full set: 291 questionsThe most recommended method is to use a standard, declarative feature. A roll-up summary field is the designated tool for aggregating data from a child object (DetailedSalesc) to a parent object (Opportunity). This feature is exclusively available on the master object in a master-detail relationship. Critically, roll-up summary fields allow for filter criteria to be set, enabling the calculation to include only those child records that meet specific conditions, such as the 'Status' picklist being set to 'Active'. This approach avoids custom code and third-party dependencies, aligning with Salesforce best practices for maintainability and scalability.
A. Utilizing the AppExchange is unnecessary as standard Salesforce functionality directly addresses the requirement. It introduces external dependencies and potential costs.
C. Roll-up summary fields are a feature exclusive to master-detail relationships and cannot be created on objects linked by a lookup relationship.
D. Using Apex code is a programmatic solution. It is not the recommended method when a declarative tool like a roll-up summary field can achieve the same outcome.
1. Salesforce Help: Create a Roll-Up Summary Field. This document explicitly states, "You can create a roll-up summary field to display a value in a master record based on the values of fields in a detail record. The detail record must be related to the master through a master-detail relationship." It also details the steps to "Define the filter criteria," confirming that only records meeting the criteria can be included in the calculation.
2. Salesforce Help: Relationship Considerations. This guide outlines the differences between relationship types. For Master-Detail relationships, it lists "Roll-up summary fields" as a key feature, which is absent from the feature list for Lookup relationships, confirming their exclusivity to the master-detail context.
3. Trailhead: Data Modeling - Create Object Relationships. This module explains, "With a master-detail relationship, you can... Create roll-up summary fields on the master object to summarize the detail records." (Unit: Create Object Relationships, Section: Create a Master-Detail Relationship Field). This reinforces that the master-detail relationship is a prerequisite for using roll-up summary fields.
Keep practicing
Take the free CRT-403 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CRT-403 practice questions
- Question 1Universal Containers is adding drone delivery to service offerings, and the developer has…
- Question 2An app builder at Ursa Major Solar has been working on a new custom app in a sandbox that…
- Question 3An app builder would like to streamline the user experience by reflecting summarized calc…
- Question 4The services manager wants to make sure the team enters case priority consistently. What …
- Question 5Ursa Major Solar wants to convert the relationship between Galaxy and Star from a lookup …
- Question 6Universal Containers has two types of applicants, hourly and salary. There are separate r…
