Question

Difficulty: HardStandard and Custom Object Management

An administrator at an industrial equipment supplier manages a custom object named Equipment_Inspection__c that is linked to the standard Asset object through a Master-Detail relationship. The business operations team requests changing this Master-Detail relationship into a Lookup relationship so that inspection records can have independent record ownership and security control. However, when the administrator attempts to modify the relationship field type in Object Manager, Salesforce displays an error preventing the change. Which situation is preventing the administrator from converting the Master-Detail relationship to a Lookup relationship?

  1. The standard Asset object has a Roll-Up Summary field that calculates aggregate metrics from related Equipment_Inspection__c records.Answer
  2. B
    Existing Equipment_Inspection__c records in the organization do not have populated values in the Asset relationship field.
  3. C
    The Equipment_Inspection__c custom object has multiple active Record Types with distinct picklist value assignments.
  4. D
    The relationship field is currently included on a Dynamic Forms enabled page layout with conditional component visibility rules.

Answer

The conversion from a Master-Detail relationship to a Lookup relationship is blocked because the master Asset object contains a Roll-Up Summary field that references the child Equipment_Inspection__c object.
Salesforce prevents converting a Master-Detail relationship to a Lookup relationship if any Roll-Up Summary fields exist on the master object that aggregate data from the detail object. Because Roll-Up Summary fields are exclusively supported on Master-Detail relationships, those fields must be removed before the relationship type can be changed to Lookup.

Step-by-Step Solution

1
Analyze relationship conversion rules in Salesforce Object Manager.
Converting a Master-Detail relationship to a Lookup relationship is permitted only if the parent object does not reference the child object in any Roll-Up Summary fields.
Lookup relationships do not support Roll-Up Summary fields. Therefore, any existing Roll-Up Summary fields on the master object must be deleted prior to converting the field type.
2
Evaluate the requirement for converting in the reverse direction (Lookup to Master-Detail).
Converting Lookup to Master-Detail requires every existing child record to have a populated parent lookup reference.
Master-Detail relationships require every detail record to be linked to a master record, whereas Master-Detail to Lookup conversions do not have this requirement.

Key Concept

Relationship Field Type Conversions and Roll-Up Summary Dependencies
Rate this question