An administrator at a wealth management firm is configuring a custom object named Portfolio__c linked to the standard Account object. Compliance regulations mandate that deleting an Account record must NOT result in the deletion of associated Portfolio__c records. However, business leadership requires a standard roll-up calculation on the Account record to display the sum of total asset values from related Portfolio__c records. Which relationship architectural consideration must the administrator present to leadership?
- Standard Roll-Up Summary fields are strictly supported on Master-Detail relationships, which force cascading record deletion; a Lookup relationship with automated record updates (such as Flow) is required to meet both constraints.Cevap
- BA Lookup relationship should be defined, as standard Roll-Up Summary fields can be configured natively on standard parent objects regardless of relationship type.
- CA Master-Detail relationship should be created because detail records are automatically preserved and unlinked whenever the parent Account record is deleted.
- DA Master-Detail relationship should be selected and configured with custom record type picklists to block the standard Account deletion behavior.
Cevap
Standard Roll-Up Summary fields are strictly supported on Master-Detail relationships, which force cascading record deletion; a Lookup relationship with automated record updates (such as Flow) is required to meet both constraints.
The solution correctly identifies the fundamental trade-off between Salesforce relationship types. Standard Roll-Up Summary fields require a Master-Detail relationship, but Master-Detail relationships enforce cascading deletion of child records when the master is deleted. To comply with the non-deletion business constraint, the administrator must implement a Lookup relationship and use Flow automation or apex/custom tooling to handle summary calculations on the parent Account.
Adım Adım Çözüm
Anahtar Kavram
Master-Detail vs. Lookup Relationship Capabilities and Deletion Behavior
Tahmini Süre:2m 0s