A Salesforce administrator wants to create a field on the custom Invoice object to display the total monetary amount of all related Invoice Line Item records. While launching the Custom Field wizard on the Invoice object, the administrator notices that the Roll-Up Summary field type option is disabled (greyed out). What is the primary cause of this issue?
- The Invoice Line Item object is linked to the Invoice object using a Lookup relationship rather than a Master-Detail relationship.Cevap
- BRoll-Up Summary fields can only be created on child objects, not on parent objects.
- CThe detail record side of a Master-Detail relationship automatically deletes roll-up field capabilities when records are modified.
- DRoll-Up Summary fields cannot perform SUM calculations on currency fields from child records.
Cevap
The Roll-Up Summary field type is disabled because Roll-Up Summary fields require a Master-Detail relationship, whereas the objects currently use a Lookup relationship.
In Salesforce, Roll-Up Summary fields can only be created on the master object of a Master-Detail relationship. If two objects are connected via a standard Lookup relationship, the Roll-Up Summary option will be greyed out and unavailable during field creation.
Adım Adım Çözüm
Anahtar Kavram
Roll-Up Summary Field Relationship Prerequisites