Hi, there's no universal tool to do that.
What You can do is edit needed functions to log in the message if there's an error(for example XXVcRecordSave/XXVcRecordUpdate/XXVcRecordRemove)
Hello!
You can mark it as closed as option. If document is connected with other documents you can not delete it so you will not be able to delete PO, as you will not be able to remove Goods receipt...