Hi
I have read this, but have a slightly different problem
Undo Delivery of Customer Order Line with Supply Code of Service Order
I have a WO with a Connected Customer Order on the CO information tab and the order type Normal Order

If I create a Invoice Preview

And approve it the lines are added to the existing Customer order

The lines are added in status Released but my problem occurs when the lines have been delivered/ invoiced.

So


If I then want to revoke approval (which I need to do to create credit lines) on the Invoice Preview

I get this error in the background.
If the customer order lines where invoiced the same error would occur but would be “The operation "SetCancelled" is not allowed for Customer Order Line objects in state "Invoiced".

And if I try to undo the delivery I get this error

Does anyone know of a way to get around this?