Salesforce Certified Platform Developer (Plat-Dev-201) PDI Question # 7 Topic 1 Discussion

Salesforce Certified Platform Developer (Plat-Dev-201) PDI Question # 7 Topic 1 Discussion

PDI Exam Topic 1 Question 7 Discussion:
Question #: 7
Topic #: 1

A developer created a custom order management app that uses an Apex class. The order is represented by an Order object and an

OrderlItem 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 OrderItem records to a new Order record?


A.

Add without sharing to the Apex class declaration.


B.

Change the master-detail relationship to an external lookup relationship.


C.

Create a junction object between OrderItem and Order.


D.

Select the Allow reprinting option on the master-detail relationship.


Get Premium PDI Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.