Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Plat-Admn-202 Exam - Topic 3 Question 11 Discussion

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?
B) Create a master-detail relationship between the parent and child object with a roll-up summary field that fitters on the status held.
A) Utilize the AppExchange to download a third-party application that can roll_up the sales dollars with the appropriate filter.
C) Create a lookup relationship between the parent and child object with a roll-up summary held that filters on the status field.
D) Utilize Apex code to roll up the desired amounts.

Salesforce Plat-Admn-202 Exam - Topic 3 Question 11 Discussion

Actual exam question for Salesforce's Plat-Admn-202 exam
Question #: 11
Topic #: 3
[All Plat-Admn-202 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: B

Create a master-detail relationship between the parent and child object with a roll-up summary field that filters on the status field is the recommended method for the app builder to achieve the request of rolling up sales metrics to an opportunity for only Detailed.Sales__c records that have their picklist status set to Active. According to theSalesforce documentation, ''Roll-up summary fields calculate values from related records, such as those in a master-detail relationship.'' A roll-up summary field can filter on a field value of the child records and sum up only those records that match the criteria. Utilize the AppExchange to download a third-party application that can roll up the sales dollars with the appropriate filter, create a lookup relationship between the parent and child object with a roll-up summary field that filters on the status field, and utilize Apex code to roll up the desired amounts are not valid or necessary methods for this request.


Contribute your Thoughts:

0/2000 characters
Barney
3 days ago
I think option B is the best. Master-detail is perfect for roll-ups.
upvoted 0 times
...
Ramonita
8 days ago
Definitely B, it’s the simplest solution for filtering!
upvoted 0 times
...
France
13 days ago
Wait, can you really use Apex for this? Sounds complicated!
upvoted 0 times
...
Sherron
18 days ago
C seems off, lookup relationships can’t do roll-ups.
upvoted 0 times
...
Venita
23 days ago
I think A is a bit overkill for this situation.
upvoted 0 times
...
Hui
29 days ago
Option B sounds right, master-detail is the way to go!
upvoted 0 times
...
Albina
1 month ago
Totally agree with B, it’s the simplest solution!
upvoted 0 times
...
Lindsay
1 month ago
Wait, can you really filter roll-up summaries like that?
upvoted 0 times
...
Viki
1 month ago
A third-party app could complicate things, stick with B!
upvoted 0 times
...
Rebbecca
2 months ago
I think D might be overkill for this situation.
upvoted 0 times
...
Rodolfo
2 months ago
B is the way to go! Master-detail is perfect for this.
upvoted 0 times
...
Breana
2 months ago
I practiced a similar question where we had to use Apex for more complex roll-ups, but I feel like this one might be simpler with a roll-up summary field.
upvoted 0 times
...
Leslie
2 months ago
I’m a bit confused about the filtering part. Can we really filter on picklist values in a roll-up summary?
upvoted 0 times
...
Lavonna
2 months ago
I think option B sounds right since it mentions a master-detail relationship, which is required for roll-up summaries.
upvoted 0 times
...
Hui
4 months ago
I remember we discussed roll-up summary fields in class, but I’m not sure if they work with lookup relationships.
upvoted 0 times
...

Save Cancel