The sales Operations team at AWS Computing deletes accounts for a variety of a reasons.
The sales ops director is worried that the Sales team may delete accounts that sales reps
are actively selling into.
Now should the app builder keep accounts with open opportunities from being deleted?
A. Create an Apex Trigger on the Account object
B. Create a validation rule on the Account object.
C. Remove the delete button on the account layout
D. Remove the Delete permission from the Sales Rep profile.
B. Create a validation rule on the Account object.
Explanation: Create a validation rule on the Account object is how the app builder can
keep accounts with open opportunities from being deleted. According to the Salesforce
documentation, “Validation rules verify that data entered by users in records meet the
standards you specify before they can save it.” A validation rule can check if an account
has any open opportunities and display an error message if someone tries to delete it.
Create an Apex trigger on the Account object, remove the delete button on the account
layout, and remove the Delete permission from the Sales Rep profile are not valid or
sufficient solutions for this requirement.