An administrator at a renewable energy firm is building an inspection tracking architecture using a custom object named Solar_Inspection__c, which links to a parent custom object named Solar_Site__c. The business requirement demands calculating the aggregate total count of inspections directly on the Solar_Site__c record. However, when the administrator attempts to create a new field on Solar_Site__c, the Roll-Up Summary field type option is greyed out and unavailable. Which scenario explains why this field type is unavailable, and what prerequisite step is required to enable it?
- The relationship between Solar_Inspection__c and Solar_Site__c is currently configured as a Lookup relationship; the administrator must convert it to a Master-Detail relationship after ensuring all Solar_Inspection__c records have a populated lookup value.Cevap
- BThe relationship between Solar_Inspection__c and Solar_Site__c is a Lookup relationship, which supports Roll-Up Summary fields only after enabling Chatter Feed Tracking on both standard and custom objects.
- CThe child object Solar_Inspection__c has deleted records residing in the Recycle Bin from a previous cascade deletion, which temporarily locks schema modifications on the master object until purged.
- DThe Roll-Up Summary field type must first be explicitly assigned to the active Record Type picklist settings on the parent object before it can be selected in Object Manager.
Cevap
The relationship between Solar_Inspection__c and Solar_Site__c is currently configured as a Lookup relationship; the administrator must convert it to a Master-Detail relationship after ensuring all Solar_Inspection__c records have a populated lookup value.
In Salesforce Core Administration, declarative Roll-Up Summary fields are exclusively available on the master object of a Master-Detail relationship. When a Lookup relationship is used, the system grey-outs the Roll-Up Summary option. To convert a Lookup relationship to a Master-Detail relationship, all existing child records must have a value in the lookup field.
Adım Adım Çözüm
Anahtar Kavram
Roll-Up Summary Field Eligibility and Relationship Conversion Prerequisites