Delete record only if the record isn't related which other record in specific module

@bf.ts90

Logichooks work with data of the record. You can create special field as a switch for showing message. The message can be show in list, detail, edit view. Look at the post for more information.