Hi Steve,
I'm on the point that's already described in SF issue 1449632.
#1449632
Check usage before delete
I would like to have a feature that can check if there
are childs using a record, on deletion.
E.g. When i sell something to a customer and I create
an invoice I don't want to be able to delete the
customer. Because the invoice doesn't have a customer
anymore.
Is this possible?
#1449632
But isn't this possible with a beforeDelete trigger? I tried to get this worked with the trigger but without success.
Do you have a good sugestion of isn't the trigger the solution for this problem?
Thanks, Jerry