As soon as it is not possible to delete an order, there is a good chance that the relevant order will already be included in a delivery recommendation.

If the order really needs to be deleted, it is possible to remove the line from the delivery advice via the menu Sales -> Delivery advice -> Edit delivery advice.