A non-profit organization tracks community outreach using a custom object named Volunteer Assignment, which has a Master-Detail relationship with a parent custom object named Community Event. What happens to the related Volunteer Assignment records when a Community Event record is deleted?
- The related Volunteer Assignment records are automatically deleted along with the parent record.Cevap
- BThe related Volunteer Assignment records remain intact with their parent lookup field cleared.
- CThe parent Community Event record cannot be deleted until all related Volunteer Assignment records are removed first.
- DThe related Volunteer Assignment records are automatically reassigned to the default System Administrator.
Cevap
When a parent master record in a Master-Detail relationship is deleted, Salesforce automatically deletes all associated child detail records.
In Salesforce custom object administration, a Master-Detail relationship tightly couples the detail object to the master object. A core feature of this architecture is cascading deletion: deleting the master record automatically deletes all linked detail records.
Adım Adım Çözüm
Anahtar Kavram
Master-Detail Cascading Deletion