A Salesforce administrator at a telecommunications provider is configuring a custom object named Service Audit to track quality evaluations associated with standard Account records. The business requirement dictates that deleting an Account record must automatically delete all associated Service Audit records, and administrators must be able to create a roll-up summary field on the Account object to count total evaluations. Which relationship configuration on the Service Audit object meets these requirements?
- Create a Master-Detail relationship field on the Service Audit object referencing the Account object.Cevap
- BCreate a Master-Detail relationship field on the Account object referencing the Service Audit object.
- CCreate a Lookup relationship field on the Service Audit object referencing the Account object and enable optional cascading delete.
- DCreate a Lookup relationship field on the Account object and assign a custom Record Type to govern deletion behavior.
Cevap
Create a Master-Detail relationship field on the Service Audit object referencing the Account object.
Defining a Master-Detail relationship on the custom Service Audit object pointing to the standard Account object allows Account to act as the master. This automatically deletes child Service Audit records whenever their parent Account is deleted, and enables administrators to create Roll-Up Summary fields directly on the Account object.
Adım Adım Çözüm
Anahtar Kavram
Standard and Custom Object Master-Detail Relationships and Capabilities