Salesforce Certified Platform App Builder — Question 336
Universal Containers (UC) has a custom Invoice object and a custom Invoice Line Item object. The Invoice Line Item object has a lookup relationship to the Invoice. UC would like to convert the lookup relationship to a master-detail relationship but is unable to do so.
Which two reasons could be preventing this relationship conversion? (Choose two.)
Answer options
- A. There are already two master-detail relationships on the Invoice Line Item.
- B. Invoice Line Item records exist without having the Invoice lookup field populated.
- C. Custom objects are unable to be on the detail side of a master-detail relationship.
- D. There is a roll-up summary field on the Invoice object.
Correct answer: A
Explanation
The correct answer is A because Salesforce allows only two master-detail relationships per object, and adding a third would not be possible. Option B is incorrect because having records without the Invoice lookup populated does not prevent the conversion. Options C and D do not apply as custom objects can be detail records, and a roll-up summary field does not restrict the relationship type change.