Cloud Kicks tracks custom Project__c records that are linked to the standard object via a Lookup relationship, allowing independent record ownership and security settings. The executive team requires a real-time field on the record displaying the total budget of all related active projects. When attempting to create a new field on , the administrator observes that the Roll-Up Summary field type is disabled. What is the fundamental cause of this behavior, and how should the administrator meet the requirement using declarative functionality?
- Roll-Up Summary fields require a Master-Detail relationship; the administrator should create a custom currency field on Account and use a Record-Triggered Flow on Project__c to recalculate the total upon record creation, update, or deletion.Cevap
- BRoll-Up Summary fields are disabled on standard objects when referencing custom child objects; the administrator must convert the Account relationship into a custom lookup formula field on the Project__c object.
- CRoll-Up Summary fields cannot be selected because the Lookup field on Project__c is editable; making the Lookup field required and read-only will enable native Roll-Up Summary capabilities on the Account object.
- DThe administrator must convert the Lookup relationship on Project__c to a Master-Detail relationship to enable Roll-Up Summary fields, ignoring that deleting an Account will now automatically cascade delete all related Project__c records and change record ownership behavior.
Cevap
Roll-Up Summary fields require a Master-Detail relationship; the administrator should create a custom currency field on Account and use a Record-Triggered Flow on Project__c to recalculate the total upon record creation, update, or deletion.
The correct response identifies that declarative Roll-Up Summary fields are structurally limited to Master-Detail relationships. Because the business requirement explicitly demands independent record ownership and security on the child object (which Lookup relationships provide), converting the relationship to Master-Detail would violate sharing and deletion requirements. Therefore, creating a custom target field on the parent object updated via a Record-Triggered Flow on the child object is the proper declarative solution.
Adım Adım Çözüm
Anahtar Kavram
Roll-Up Summary Field Eligibility and Lookup Aggregation Strategies