Salesforce Platform Developer I (legacy) — Question 207
Universal Containers (UC) uses a custom object called Vendor. The Vendor custom object has a Master-Detail relationship with the standard Account object.
Based on some internal discussions, the UC administrator tried to change the Master-Detail relationship to a Lookup relationship but was not able to do so.
What is a possible reason that this change was not permitted?
Answer options
- A. The Vendor records have existing values in the Account object.
- B. The Account object is included on a workflow on the Vendor object.
- C. The Account records contain Vendor roll-up summary fields.
- D. The Vendor object must use a Master-Detail field for reporting.
Correct answer: C
Explanation
The correct answer is C because roll-up summary fields can only exist on Master-Detail relationships. If the Account records contain roll-up summary fields that summarize data from the Vendor records, this prevents the relationship from being changed to a Lookup. The other options do not impose such restrictions on the relationship type.