Delivery & Invoice on imported Sales Order does not update status


I am on v5.4.2; I am importing some Sales Orders, but when I create and submit delivery note and invoice against those sales orders, the order status is not updated, and remain overdue. The only difference in between manual sales order and imported sales order is on the actual_qty field, which is 0 (zero), compared to a value on manual sales order.

Any clue why this is happening?

@Cahyadi_Suwindra I don’t think the actual qty field is updated on Sales Order, so you will have to also pass actual_qty from source when you update.

@rmehta I will try to import sales order with similar information on manual sales order. In this case the actual_qty, and test the delivery again… will revert…