A developer needs to configure a calculation procedure to calculate the sum of the entire BasePrice. What is the most efficient way for the developer to meet this requirement?
A.
Add a Calculation Step as SUM(BasePrice).
B.
Add an Aggregation Step as SUM(BasePrice).
C.
Create a Postprocessor apex class to calculate the sum.
D.
Create a Preprocessor apex class to calculate the sum.
B. Add an Aggregation Step as SUM(BasePrice) is the most efficient way to calculate the sum of the entire BasePrice. Aggregation steps are designed to perform common aggregation functions, such as SUM, MAX, and COUNT. In this case, the SUM function is used to calculate the sum of the entire BasePrice. Aggregation steps can be used in calculation procedures to process large amounts of data quickly and efficiently.
upvoted 2 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Tonganeitor
2 months, 2 weeks agoppremy
1 year, 6 months ago