Salesforce Certified Platform App Builder — Question 164
Universal Containers has a junction object called Billings with a primary Master-Detail relationship with Accounts and a secondary Master-Detail relationship with
Orders. The app builder has a requirement to change the primary Master-Detail relationship to a Lookup.
What happens to the secondary Master-Detail relationship with Orders?
Answer options
- A. The secondary Master-Detail object relationship needs to be reestablished.
- B. The secondary Master-Detail object also converts to a lookup.
- C. The secondary Master-Detail object becomes the primary.
- D. The secondary Master-Detail object relationship is no longer valid.
Correct answer: C
Explanation
When the primary Master-Detail relationship is changed to a Lookup, the secondary Master-Detail relationship automatically becomes the primary relationship. This is because a junction object can only have one primary Master-Detail relationship, and the secondary one takes precedence in this scenario. The other options do not accurately reflect what happens to the relationships in this case.