Can we avoid deletion of records through validation rules? : salesforce validation rules
Answer / Sameer Kumar
Yes, you can use a validation rule to prevent deletions by setting up an ON DELETE trigger on the object and using the IF(AND(), TRUE, FALSE) formula with the DELETE function.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the different ways to conditionally display markup, and what is the preferred approach?
What are the three types of object relations in salesforce?
Can we change the grant access using the role hierarchy for standard objects?
What is workflow rule and workflow actions? : salesforce workflows and approval process
Is it possible to create parallel approval process (ability for multiple user to approve or reject a record)? : salesforce workflows and approval process
Is it possible to invoke an adderror() operation on the trigger.old list in a delete operation in trigger ?
What is the default timeout period while calling webservice from apex.
Define a validation rule?
What all data types can a set store? : salesforce crm
What is the use of “@future” annotation?
If a user does not have access to a specific record type, will they be able to see the records that have that record type? : salesforce sharing and security
What are the type of events into salesforce lightning component?