Question

Difficulty: EasyObject Relationships (Lookup, Master-Detail, Many-to-Many)

A Salesforce Administrator needs to calculate the total cost of maintenance records on a parent custom object, Equipment__c. However, when attempting to create a new custom field on Equipment__c, the Roll-Up Summary field type option is greyed out and unavailable. Which relationship configuration explains why the Roll-Up Summary field cannot be created?

  1. The child object is linked to Equipment__c through a Lookup relationship.Answer
  2. B
    The child records are configured to automatically be deleted when the Equipment__c record is deleted.
  3. C
    The parent Equipment__c object has its Organization-Wide Sharing Default set to Public Read-Only.
  4. D
    The relationship allows reparenting of child records to a different Equipment__c record.

Answer

The child object is linked to Equipment__c through a Lookup relationship.
In Salesforce, Roll-Up Summary fields can only be created on the master object in a Master-Detail relationship. When objects are connected via a Lookup relationship, the Roll-Up Summary field type is unavailable because lookup relationships do not maintain the strict parent-child data dependency required for native summary aggregations.

Step-by-Step Solution

1
Identify the relationship requirements for Roll-Up Summary fields.
Roll-Up Summary fields require a Master-Detail relationship between the parent (master) and child (detail) objects.
Salesforce native summary aggregation relies on the strict parent-child relationship enforced by Master-Detail relationships.
2
Analyze why the Roll-Up Summary option is unavailable on Equipment__c.
The target child object is connected to Equipment__c via a Lookup relationship.
Lookup relationships are loosely coupled and do not support standard native Roll-Up Summary fields.

Key Concept

Roll-Up Summary fields are only supported on the master object in a Master-Detail relationship.
Rate this question