Soru

Zorluk: ZorFormula Fields and Roll-Up Summary Fields

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?

  1. 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
  2. B
    Roll-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.
  3. C
    Roll-Up Summary fields can only be created on the child detail object (Project_Expense__c) to aggregate calculations pulled down from the parent object.
  4. D
    Roll-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

1
Analyze the relationship requirement for Roll-Up Summary fields in Salesforce.
Salesforce declarative Roll-Up Summary fields can only be defined on the master object in a Master-Detail relationship.
Standard declarative roll-up summaries are not natively available over standard Lookup relationships.
2
Identify the relationship type between Project__c and Project_Expense__c in the scenario.
The objects are currently linked using a Lookup relationship.
Because the objects use a Lookup relationship, the Roll-Up Summary data type is disabled on Project__c.
3
Determine the configuration change required to enable Roll-Up Summary functionality.
Convert the Lookup field on Project_Expense__c to a Master-Detail field.
Converting the relationship field on the child object to Master-Detail (ensuring all existing child records have parent values populated) makes Roll-Up Summary fields available on Project__c.

Anahtar Kavram

Roll-Up Summary Field Relationship Requirements
Bu soruyu puanla