Salesforce Exam CRT101: Converting Master-Detail Relationship to Look-up Relationship | SEO Guide

Master-Detail Relationship Conversion to Look-up Relationship

Question

A master-detail relationship can be converted to a look-up relationship if there are no roll-up summary fields existing on the master object.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B.

Correct Answer: A

If roll-up summary fields are not existing on a master object the master-detail relationship can be converted to a look-up relationship.

Reference:

The statement is true.

A master-detail relationship is a type of relationship in which the "master" record controls certain behaviors of the "detail" record. For example, when a master record is deleted, all associated detail records are also deleted. A roll-up summary field is a field on the master record that displays a calculated value based on the values of related detail records.

When a master-detail relationship is established, Salesforce creates a foreign key field on the detail object that references the master object. The detail object is then considered a child of the master object.

On the other hand, a lookup relationship is a type of relationship in which two objects are related, but the relationship does not have the characteristics of a master-detail relationship. A lookup relationship is established by creating a lookup field on the child object that references the parent object.

To convert a master-detail relationship to a lookup relationship, you need to remove the master-detail relationship and create a lookup field on the child object that references the parent object. However, if there are roll-up summary fields existing on the master object, you cannot convert the relationship to a lookup relationship. This is because roll-up summary fields rely on the master-detail relationship to calculate values based on related detail records.

Therefore, the statement "A master-detail relationship can be converted to a look-up relationship if there are no roll-up summary fields existing on the master object" is true.