What is the correct implementation?

An org tracks customer orders on an Order object and the items of an Order on the Line Item object. The Line Item object has a MasterDetail relationship to the order object. A developer has a requirement to calculate the order amount on an Order and the line amount on each Line item based on quantity and price.

What is the correct implementation?
A . Implement the line amount as a numeric formula field and the order amount as a roll-up summary field.
B. Write a single before trigger on the Line Item that calculates the item amount and updates the order amount on the Order.
C. Implement the Line amount as a currency field and the order amount as a SUM formula field.
D. Write a process on the Line item that calculates the item amount and order amount and updates the filed on the Line Item and the order.

Answer: C

Latest PDI Dumps Valid Version with 191 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments