Hi,
As part of a warehouse management system implementation, we are using XML files to update sales orders after an order has been picked.
When a sales order line is non-serialised, the <QuantityThisDel> tag gets updated with the adjusted picked quantity. No problems there. The difference between the ordered qty and QtyThisDel just goes to backorder.
The problem is when an item is serialised, the QtyThisDel tag is not adjusting.
I have 3 scenarios I need to deal with
1. Serialised item has a Qty Ordered = 1 and the XML is returned with QtyThisDel = 0 i.e nothiing delivered
2. Serialised item has a Qty Ordered > 1 and QtyThisDel < Qty Ordered, so some lines in SO_LineDetails need to be either deleted or adjusted
3. Serialised item has a different serial number picked by warehouse staff than what Jiwa says.
Can I deal with those scenarios via the incoming XML file? It is actually a CSV file. I am using stored procs to convert into XML as per standard CSV import functionality.
Cheers
Danny