When you delete a sales order line, you will now get a warning when a purchase order is connected to it.