Shipment set to correct status after connected invoice is deleted

Order To Cash: Sales Order Version 9.08

Previously, in certain scenarios, the status of a shipment remained in the Invoiced status eventhough the connected invoice was deleted, this has now been fixed so that it is possible to generate a new invoice for the shipment.