An administrator at Cloud Kicks is tasked with creating a summary field on the custom object Project__c to display the total monetary value of related child Project_Expense__c records. Currently, Project_Expense__c is connected to Project__c via a standard Lookup relationship. When attempting to create the new field on Project__c, the administrator notices that the Roll-Up Summary field type option is disabled. Which statement accurately explains why this option is unavailable and identifies the solution required to fulfill the business requirement?
- Roll-Up Summary fields are only supported on the parent object of a Master-Detail relationship; the administrator must convert the existing Lookup relationship on Project_Expense__c to a Master-Detail relationship.Cevap
- BRoll-Up Summary fields are supported on Lookup relationships, but the administrator must first set the Organization-Wide Default (OWD) sharing setting on Project_Expense__c to Controlled by Parent.
- CRoll-Up Summary fields can only be created on the child detail object (Project_Expense__c) to aggregate calculations pulled down from the parent object.
- DRoll-Up Summary fields on Lookup relationships require Field-Level Security permissions to be explicitly assigned to the System Administrator profile before the data type becomes selectable.
Cevap
Roll-Up Summary fields are only supported on the parent object of a Master-Detail relationship; the administrator must convert the existing Lookup relationship on Project_Expense__c to a Master-Detail relationship.
In Salesforce, standard declarative Roll-Up Summary fields are strictly supported on the Master side of a Master-Detail relationship. Because the two custom objects are currently connected via a Lookup relationship, the option to create a Roll-Up Summary field on the parent object is disabled. Converting the Lookup relationship on the child object to a Master-Detail relationship enables the creation of Roll-Up Summary fields on the parent object.
Adım Adım Çözüm
Anahtar Kavram
Roll-Up Summary Field Relationship Requirements