An administrator at a financial advisory enterprise needs to display the total monetary value of all child holdings on a parent portfolio object, Investment_Portfolio__c. Currently, the child object, Holding__c, links to Investment_Portfolio__c through a Lookup relationship. When attempting to create a Roll-Up Summary field on Investment_Portfolio__c to calculate the total holding values, the administrator finds that the Roll-Up Summary field type is disabled. Which action must the administrator perform to enable the creation of the Roll-Up Summary field?
- ACreate a Roll-Up Summary field directly on the Holding__c child object to calculate aggregate amounts from the parent record.
- BMap the custom lookup field to a Lead object custom field configuration in Object Manager prior to enabling aggregate field options.
- Convert the Lookup relationship field on Holding__c to a Master-Detail relationship after ensuring all existing Holding__c records have a populated lookup value.Cevap
- DAssign the existing lookup field to a dedicated Record Type on Investment_Portfolio__c to unlock Roll-Up Summary capabilities.
Cevap
Convert the Lookup relationship field on Holding__c to a Master-Detail relationship after ensuring all existing Holding__c records have a populated lookup value.
Native Roll-Up Summary fields are exclusively available on the master object within a Master-Detail relationship. To enable this option on Investment_Portfolio__c, the lookup field on Holding__c must first be converted to a Master-Detail relationship. Before converting a Lookup to a Master-Detail relationship, every existing child record must have a value in the lookup field because master-detail child records cannot exist without a parent.
Adım Adım Çözüm
Anahtar Kavram
Master-Detail vs. Lookup Relationship Capabilities and Roll-Up Summary Conversion Rules
Tahmini Süre:2m 0s