Exam4Training

What should a developer do to allow their code to move some existing Orderltem records to a new Order record?

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?
A . Change the master-detail relationship to an external lookup relationship.
B . Add without sharing to the Apex class declaration.
C . Create a junction object between Orderltem and Order.
D . Select the Allow reparenting option on the master-detail relationship.

Answer: C

Latest CRT-450 Dumps Valid Version with 372 Q&As

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

Exit mobile version