I have object called Carset.In Carset am having a field "Valid" checkbox.
If the checkbox is checked then i cannot edit or delete the related list record(Child object-Service)
for editing i have written the below validation rule.It's working.
IF(Car_Set__r.valid__c,true,false)
But for delete how to handle it using validation rule ?
Best Answer
Since validation rule doesn't fire on delete of record. You need to go with a simple trigger approach to prevent deletion