Troubleshooting
Problem
OrderLineTranQuantity tab: createOrder xml structure when using AlternateUOM
Symptom
Whenever AlternateUOM is used on the Orderline while order creation Order quantity and UOM are to be mentioned along with the OrderLineTranQuantity attribute and not along with the item attributes. Please find the description of the OrderLineTranQuantity attribute.
OrderLineTranQuantity
Describes the OrderLine Transaction Quantity in the TransactionalUOM. Should be passed only if OrderedQty has to be passed in a different UnitOfMeasure than Inventory UnitOfMeasure and hence is not passed as part of OrderLine element.
Please note the below xml's which explain this is detail:
XML#1:
<Order DocumentType="0001" EnterpriseCode="DEFAULT" OrderNo="tracer1112" ReserveInventoryFlag="Y" SellerOrganizationCode="" >
<OrderLines>
<OrderLine OrderedQty="1" ShipNode="noodle" PrimeLineNo="1" SubLineNo="1" >
<Item ItemID="12327" ProductClass="A" UnitOfMeasure="CASE"/>
</OrderLine>
</OrderLines>
<PersonInfoShipTo City="" Company="YANTRA CORP" State="KA" ZipCode="01720" Country="IN"/>
<PersonInfoBillTo City="" Company="YANTRA CORP" State="KA" ZipCode="01720" Country="IN"/>
</Order>
XML#2:
<Order DocumentType="0001" EnterpriseCode="DEFAULT" OrderNo="final" ReserveInventoryFlag="Y" SellerOrganizationCode="" >
<OrderLines>
<OrderLine OrderedQty="1" ShipNode="noodle" PrimeLineNo="1" SubLineNo="1" >
<OrderLineTranQuantity OrderedQty="1.0" TransactionalUOM="CASE"/>
<Item ItemID="12327" ProductClass="A"/>
</OrderLine>
</OrderLines>
<PersonInfoShipTo City="" Company="YANTRA CORP" State="KA" ZipCode="01720" Country="IN"/>
<PersonInfoBillTo City="" Company="YANTRA CORP" State="KA" ZipCode="01720" Country="IN"/>
</Order>
Results:
Using the first xml (of the attachment) structure the order goes to created and then while scheduling it reaches backordered.
Whereas the second one (of the attachment); the order is reserved and gets scheduled when done.
Whenever Alternate UOM is used, therefore OrderLineTranQuantity is to be used instead of item attributes.
Historical Number
PAL77
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21561943