+ Start a Discussion
Deepu sfdcDeepu sfdc 

There is Master detail relation b/w two objects.. validation rule in child object that no one can delete it.. so if we delete parent object,child will delete or not ?

Best Answer chosen by Deepu sfdc
Anupama SamantroyAnupama Samantroy
Hi Deepu,

Validation rules are just to validate the data before saving to the database. You cannot have validation rule to restrict the deletion of records.

Thanks
Anupama

All Answers

Anupama SamantroyAnupama Samantroy
Hi Deepu,

Validation rules are just to validate the data before saving to the database. You cannot have validation rule to restrict the deletion of records.

Thanks
Anupama
This was selected as the best answer
Deepu sfdcDeepu sfdc
Thanks Anupama