When we create a Sales Return Order from a posted invoice (linked to an open Sales Order with backorders), posting the return resets the original Sales Order’s Qty. Shipped and Qty. Invoiced to 0. This makes the order look open again and causes users to re-ship. Scenario A Sales Order is created with partial shipment (backorder remains open). A Posted Sales Invoice is created from that Sales Order. Later, we create a Sales Return Order using Get Posted Document Lines to Reverse (based on the posted invoice). We post the Return Shipment and Credit Memo And the issue is
On the original Sales Order (which is still open):
Qty. Shipped = 0
Qty. Invoiced = 0
The order now appears as if nothing has been shipped.
Is this expected behavior? How do you prevent duplicate shipments in this scenario? Any response or best practices would be greatly appreciated.
A separate Sales Return Order, posted as return receipt and credit memo, should not touch the Qty. Shipped / Qty. Invoiced on the original Sales Order line - those get set when you post the shipment/invoice of that same order, and a return is its own document with its own item entries. So reset to 0 on the live order sound wrong to me.
First thing I would check is if there is customisation or an event subscriber on the return posting that write back to the sales line, because base BC does not do that as far as I know. Also confirm it really is a separate return order and not the same order reused. If you only want to undo a wrong shipment, the proper native way is Undo Shipment on the posted shipment, not a return order.
Which version you are on, cloud or on-prem?
Hope this helps
✅Tick the checkbox below to mark the answer as verified, if it helped resolve your question.
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.