InvoiceDetailByPO
The Submit and Response documents of the XML InvoiceDetailByPO Transaction are not changing. However, some of the Element data values and related functionality is different in the latest update of the XML Service. Affected fields are highlighted.
Following is an example of an InvoiceDetailByPO Submit message:
<XML_InvoiceDetailByPO_Submit>
<Header>
<UserName>UserID</UserName>
<Password>Password</Password>
</Header>
<Detail>
<EDIInclusion>O</EDIInclusion>
<POInfo>
<PONbr>ORDER-TEST-1234</PONbr>
</POInfo>
</Detail>
</XML_InvoiceDetailByPO_Submit>
Element Name |
What�s Different |
EDIInclusion |
No longer used. |
PONbr |
The length of the Customer PO Number increased to 35 characters. |
A sample XML InvoiceDetailsByPO Response message will look like the following:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE XML_InvoiceDetailByPO_Response SYSTEM "XML_InvoiceDetailByPO_Response.dtd"[]>
<XML_InvoiceDetailByPO_Response>
<Header>
<ResponseVersion>1.4</ResponseVersion>
</Header>
<Detail>
<OrderInfo>
<PONbr>ORDER-TEST-1234</PONbr>
<EndUserPONbr />
<OrderNbr>6000000911</OrderNbr>
<OrderDate>120329</OrderDate>
<EstShipDate>120329</EstShipDate>
<OrderStatus>SHIPPED</OrderStatus>
<InvoiceNbr>8000034006</InvoiceNbr>
<ContainerInfo>
<ContainerID>919405370023083</ContainerID>
<ShipToName>ELECTRONIC COMMERCE</ShipToName>
<ShipToAddr1>5350 TECH DATA DRIVE</ShipToAddr1>
<ShipToAddr2>SUITE 101</ShipToAddr2>
<ShipToAddr3 />
<ShipToCity>CLEARWATER</ShipToCity>
<ShipToStateProv>FL</ShipToStateProv>
<ShipToPostalCode>33760</ShipToPostalCode>
<DateShipped>120329</DateShipped>
<DateInvoiced>120329</DateInvoiced>
<Weight>18.400</Weight>
<ContainerValue>0.00</ContainerValue>
<HandlingCharge>2.00</HandlingCharge>
<CODCharge>0.00</CODCharge>
<DebitCredit>0.00</DebitCredit>
<NetFreightCharge>0.00</NetFreightCharge>
<TaxCharge>0.00</TaxCharge>
<StateFee>0.00</StateFee>
<TotalContainerValue>1710.11</TotalContainerValue>
<NbrOfItems>1</NbrOfItems>
<ItemInfo>
<OrderLineNbr />
<TechDataItemNbr>000000000010044877</TechDataItemNbr>
<MfgItemNbr>PS.VCYP3.005</MfgItemNbr>
<ItemDesc>VX4618G DT CI5/3.0 4GB 500GB DVDR W7P 64</ItemDesc>
<QtyShipped>1.000</QtyShipped>
<SerialNbrInd>Y</SerialNbrInd>
<SerialNbrInfo>
<SerialNbr>DED22222222222222222222</SerialNbr>
</SerialNbrInfo>
</ItemInfo>
</ContainerInfo>
<ContainerInfo>
<ContainerID>919405370023106</ContainerID>
<ShipToName>ELECTRONIC COMMERCE</ShipToName>
<ShipToAddr1>5350 TECH DATA DRIVE</ShipToAddr1>
<ShipToAddr2>SUITE 101</ShipToAddr2>
<ShipToAddr3 />
<ShipToCity>CLEARWATER</ShipToCity>
<ShipToStateProv>FL</ShipToStateProv>
<ShipToPostalCode>33760</ShipToPostalCode>
<DateShipped>120329</DateShipped>
<DateInvoiced>120329</DateInvoiced>
<Weight>30.150</Weight>
<ContainerValue>0.00</ContainerValue>
<HandlingCharge>0.00</HandlingCharge>
<CODCharge>0.00</CODCharge>
<DebitCredit>0.00</DebitCredit>
<NetFreightCharge>0.00</NetFreightCharge>
<TaxCharge>0.00</TaxCharge>
<StateFee>0.00</StateFee>
<TotalContainerValue>0.00</TotalContainerValue>
<NbrOfItems>1</NbrOfItems>
<ItemInfo>
<OrderLineNbr />
<TechDataItemNbr>000000000010044903</TechDataItemNbr>
<MfgItemNbr>PU.VD703.001</MfgItemNbr>
<ItemDesc>VX2110-BU260W ATH2/3.2 2GB 300GB DVDR GE</ItemDesc>
<QtyShipped>1.000</QtyShipped>
<SerialNbrInd>N</SerialNbrInd>
<SerialNbrInfo />
</ItemInfo>
</ContainerInfo>
</OrderInfo>
</Detail>
</XML_InvoiceDetailByPO_Response>
Element Name |
What�s Different |
OrderNbr |
The length of the Tech Data Sales Order Number increased to 10 characters. |
OrderStatus |
Tech Data status possible values include: OPEN, BLOCKED, RELEASED, SHIPPED, and CANCELLED. |
InvoiceNbr |
The length of the Tech Data Sales Order Number increased to 10 digits. |
WhseCode |
Tech Data Warehouse Codes have changed. |
ShipViaDesc |
Ship Via/Delivery Codes have changed. |
ContainerValue |
Always set to 0.00. |
HandlingCharge |
Value set in first Container (applies to entire Invoice). Subsequent Containers set to 0.00. |
CODCharge |
Always set to 0.00. |
DebitCredit |
Always set to 0.00. |
NetFreightCharge |
Value set in first Container (applies to entire Invoice). Subsequent Containers set to 0.00. |
TaxCharge |
Always set to 0.00. |
StateFee |
Value set in first Container (applies to entire Invoice). Subsequent Containers set to 0.00. |
TotalContainerValue |
Value set in first Container (applies to entire Invoice). Subsequent Containers set to 0.00. |
TechDataItemNbr |
The length of the Tech Data Product Number increased to 8 digits. |