My Products
Help
adrianm
PARTNER

Deleting lines on shipment puts order in strange state

by adrianm (Updated ‎19-01-2023 15:05 by adrianm PARTNER )

* An order has a single open shipment with a single line

* Delete the line on the shipment in GUI

 

The order get status "Open"

 

If the line is deleted via API the order status remains "Delivered"

(Using Shipment endpoint and line operation "Delete")

 

It can be corrected in the GUI by

* Mark Hold

* Hold is automatically removed and status is changed to "BackOrder"

* Mark Hold again

* Save order

* Order status is changed to Hold

* Remove Hold

* Order status is changed to "Open"

 

(Actually I would like to delete the entire shipment but there is no delete on the shipment endpoint)

 

2 REPLIES 2
Yıldırım
VISMA

by Yıldırım (Updated ‎20-01-2023 12:04 by Yıldırım VISMA )

This has been registered as a bug and conveyed to the development team.

 

1) Create Sales Order (Single line)

2) Create Shipment for that salesOrder (Single Shipment line)
3) Shipment status: Open
4) Salesorder status: Shipping

5) PUT - Delete Shipment Line > OK 
6) SalesOrder status, still Shipping. 
If we remove the Shipment Line via Financials ERP UI 
7) Sales order status become : Open

 

 
Yıldırım
VISMA

by Yıldırım (Updated ‎20-01-2023 10:11 by Yıldırım VISMA )

Hello, thank you for reporting this. We'll check it out.