2

I have a non mandatory lookup field on a custom object C, which is the child of another custom object P. Now I want to prevent an record of P from being deleted if it has child C records. Is there any non programmatic solution for this? Thanks in advance

1 Answer 1

2

Please check the highlighted block for that lookup field in the below image. If you checked then it won't allow to delete the parent object if any child record present under that parent.

enter image description here

1
  • 1
    My bad, I missed that one completely. I though it was only possible if lookup was mandatory.
    – Prajith
    Commented Feb 24, 2016 at 12:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .