
Hello,
I am having trouble determining the best way to build a Packing structure so that my client can accomplish the following:
Client has Purchase Orders with many lines (sometimes hundreds) .
Client sends XML and receives ASN XML.
The data must come back in a way that a Parent License Plate is created. There must be multiple license plates nested underneath the parent license plate. Based on my knowledge of the WHSUOMStructure table, each Shipment, LicensePlateD, and module ID combination must be unique. Each parentLicenseID and module ID must be unique.
How can I build the XML file so that it is a nested packing structure WHSPackUOMStructure? I cannot find a true example online, and would appreciate some assistance on this.
I also believe once we accomplish this we can receive using the parentLicense plate, and this will automatically register the nested items. This is standard, correct?
Thanks in advance!
*This post is locked for comments
I have the same question (0)Here is the last sample that I attempted
<ns2:ShipmentId>034225529</ns2:ShipmentId>
<ns2:WHSUOMStructure class="entity">
<ns2:ItemId>1234567</ns2:ItemId>
<ns2:LicensePlateId>034508</ns2:LicensePlateId>
<ns2:LicensePlateParent>ABC02</ns2:LicensePlateParent>
<ns2:Qty>72.000</ns2:Qty>
<ns2:UOMItem>CA</ns2:UOMItem>
<ns2:WHSASNItem class="entity">
<ns2:ItemId>7891011</ns2:ItemId>
<ns2:PurchId>123</ns2:PurchId>
<ns2:Qty>72.000</ns2:Qty>
<ns2:UOM>CA</ns2:UOM>
<ns2:InventDim class="entity"/>
<ns2:WHSASNProductionBatch>
<ns2:ProductionCode>XX33333HJ</ns2:ProductionCode>
<ns2:BestBy>04212018</ns2:BestBy>
<ns2:Quantity>48</ns2:Quantity>
</ns2:WHSASNProductionBatch>
<ns2:WHSASNProductionBatch>
<ns2:ProductionCode>WWW231</ns2:ProductionCode>
<ns2:BestBy>05012017</ns2:BestBy>
<ns2:Quantity>24</ns2:Quantity>
</ns2:WHSASNProductionBatch>
</ns2:WHSASNItem>
</ns2:WHSUOMStructure>
<ns2:WHSUOMStructure class="entity">
<ns2:ItemId>034000002412</ns2:ItemId>
<ns2:LicensePlateId>99</ns2:LicensePlateId>
<ns2:LICENSEPLATEPARENT>ABC02</ns2:LICENSEPLATEPARENT>
<ns2:Qty>30.000</ns2:Qty>
<ns2:UOMItem>CA</ns2:UOMItem>
<ns2:WHSASNItem class="entity">
<ns2:ItemId>1842632</ns2:ItemId>
<ns2:PurchId>123</ns2:PurchId>
<ns2:Qty>30.000</ns2:Qty>
<ns2:UOM>CA</ns2:UOM>
<ns2:InventDim class="entity"/>
</ns2:WHSASNItem>
</ns2:WHSUOMStructure>