Valid PDI Dumps shared by ExamDiscuss.com for Helping Passing PDI Exam! ExamDiscuss.com now offer the newest PDI exam dumps, the ExamDiscuss.com PDI exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com PDI dumps with Test Engine here:
A developer has the following requirements: * Calculate the total amount on an Order. * Calculate the line amount for each Line Item based on quantity selected and price. * Move Line Items to a different Order if a Line Item is not in stock. Which relationship implementation supports these requirements on its own?
Correct Answer: A
* Why Re-Parentable Master-Detail Field? * A master-detail relationship allows Line Items to roll up totals (e.g., calculate total amount) to the Order. * Setting the relationship asre-parentablesupports moving Line Items between different Orders. * Why Not Other Options? * B. Lookup field: Does not support roll-up summary fields for calculations. * C and D: Relationships in the opposite direction (Order to Line Item) do not support the required logic. References:Master-Detail Relationships:https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/relationships_master_detail.htm