Salesforce Service Cloud Consultant (legacy) — Question 3

Universal Containers has a public sharing model for accounts and uses the parent account field to create a multi-level account hierarchy. When viewing a parent account, the company wants to see the total value of open opportunities for all accounts in the hierarchy. Which solution should a consultant recommend to meet this requirement?

Answer options

Correct answer: A

Explanation

The correct answer is A because using Apex allows for dynamic calculations and updates of the parent account's custom field with the total value of open opportunities from child accounts. Roll-up summary fields (option B) can only be used for certain standard relationships and may not fit all cases. Workflow rules (option C) are not as efficient for this type of calculation as they do not update in real-time. Option D does not provide a direct total value on the parent account but rather a separate report.