Hello,
I would like to explain the issue step by step.
-
I created a Work Order and a Work Task, assigned and reported personnel, and issued the required materials.
-
On the Sales tab, I configured the lines as Invoiceable or Not Invoiceable.
-
I created a new Invoice Preview and it was approved.
-
After approval, the lines were transferred to a Customer Order.
-
The Customer Order was delivered, and the line status changed to “Delivered”. Everything works correctly up to this point.
The issue occurs when I want to add one more part as an “Invoiceable” line on the Work Task and include all Invoiceable lines in a single invoice:
-
When I try to revoke the order from the Invoice Preview, the background job returns an error because the Customer Order lines are already in Delivered state.
Error:
“The operation ‘SetLineCancelled’ is not allowed for Customer Order objects in state ‘Delivered’.
ORA-20105: ServiceInvoice.SERVICEINVERROR” -
After this, I attempted to undo the delivery from the Undo Customer Order Delivery screen, but I received another error due to the SEO supply code:
“Cannot undo delivery for customer order lines with supply code Service Order.”
At this point:
-
I cannot delete or cancel the Customer Order lines.
-
I cannot create a new Invoice Preview that includes all Invoiceable lines, because some lines are already in “Transferred” state. The system only brings one line into the new Invoice Preview. (Additionally, I have already cancelled the first invoice on the Customer Invoice screen, so I cannot use those lines anymore.)
-
I cannot undo the Customer Order delivery because of the SEO supply code restriction.
Therefore, I need a simple and supported way to undo the process for SEO order types or to reset the flow so that all Invoiceable lines can be included in a single invoice.
Thank you.
Application service update: 25.1.3
Framework service update: 25.1.6