PDI · Question #27
PDI Question #27: Real Exam Question with Answer & Explanation
Sign in or unlock PDI to reveal the answer and full explanation for question #27. The question stem and answer options stay visible for context.
Question
A developer created a custom order management app that uses an Apex class. The order is represented by an Order object and an Orderltem object that has a master-detail relationship to Order. During order processing, an order may be split into multiple orders. What should a developer do to allow their code to move some existing Orderltem records to a new Order record?
Options
- AChange the master-detail relationship to an external lookup relationship.
- BAdd without sharing to the Apex class declaration.
- CCreate a junction object between Orderltem and Order.
- DSelect the Allow reparenting option on the master-detail relationship.
Unlock PDI to see the answer
You've previewed enough free PDI questions. Unlock PDI for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.