CRT-450 Exam QuestionsBrowse all questions from this exam

CRT-450 Exam - Question 218


AW Computing tracks order information in custom objects called Order__c and Order_Line__c. Currently, all shipping information is stored in the Order__c object.

The company wants to expand its order application to support split shipments so that any number of Order_Line__c records on a single Order__c can be shipped to different locations.

What should a developer add to fulfill this requirement?

Show Answer
Correct Answer: B

To support split shipments such that any number of Order_Line__c records on a single Order__c can be shipped to different locations, the best approach is to introduce a new custom object, Order_Shipment_Group__c. This object will serve as a junction between Order__c and Order_Line__c. By creating master-detail relationships between Order_Shipment_Group__c and both Order__c and Order_Line__c, you can link multiple Order_Line__c records to multiple shipping locations for a single order. This approach provides the necessary flexibility to manage split shipments effectively.

Discussion

3 comments
Sign in to comment
irina_735Option: C
Sep 13, 2023

Order_Shipment_Group__c object and master-detail field on Order_Line__c

KeiyoOption: B
Sep 16, 2023

B. Add an Order_Shipment_Group__c custom object and create master-detail relationships to both Order__c and Order_Line__c. This approach allows you to associate multiple Order_Line__c records with different shipping locations to a single Order__c record through the Order_Shipment_Group__c object. It provides the flexibility needed to manage split shipments for orders.

aregasOption: B
May 29, 2024

Usually the best approach is to create a Junction Option as described in option B. Providing the flexebility as requested.