declare variable $quote external;
declare variable $nl external;
declare option ddtek:serialize "indent=yes";
{
for $Shipment in /ASN/Shipment
return
{ concat($quote, "H", $quote) }
{ concat($quote, "VADIR90F.", $Shipment/ASNNumber, $quote) }
{ concat($quote, "VADIR90F", $quote) }
{ concat($quote, $Shipment/BillofLading, $quote) }
{ concat($quote, "missing", $quote) }
{ concat($quote, $Shipment/ShippedDate, $quote) }
""
""
{ concat($quote, $Shipment/shipToIdCode, $quote) }
""
""
{ concat($quote, "VADI", $quote) }
{ concat($quote, "R90F", $quote) }
{
for $Package in $Shipment/Orders/Order/Packages/Package
return
{ concat($quote, "C", $quote) }
{ concat($quote, "VADIR90F.", $Shipment/ASNNumber, $quote) }
{ concat($quote, $Package/CartonID, $quote) }
{ concat($quote, $Shipment/Orders/Order/PONumber, $quote) }
{ concat($quote, $Shipment/shipToIdCode, $quote) }
{
for $Item in $Package/Items/Item
return
{ concat($quote, "I", $quote) }
{ concat($quote, "VADIR90F.", $Shipment/ASNNumber, $quote) }
""
""
""
""
""
""
{ concat($quote, $Item/UPCCode, $quote) }
{ concat($quote, $Item/ShippedQuantity, $quote) }
""
""
{ concat($quote, $Shipment/Orders/Order/PONumber, $quote) }
{ concat($quote, $Package/CartonID, $quote) }
}
}
}
(: Stylus Studio meta-information - (c) 2004-2009. Progress Software Corporation. All rights reserved.
:)