Disallow to delete a sale order that still has related invoice.
Delete Sales Order - Check Related Invoice