Shipment Import

From UG

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
[[Category:EDI to TMS]]
[[Category:EDI to TMS]]
 +
== DTD ==
 +
 +
see http://mantis.jaguarfreight.com/mantis/file_download.php?file_id=1577&type=bug
 +
 +
== ns0:Header ==
== ns0:Body ==
== ns0:Body ==
Line 7: Line 12:
==== DocShipment ====
==== DocShipment ====
 +
 +
Used to provide top level shipping information, like totals and main shipping refernece numbers
 +
 +
Sub-elements:
 +
 +
<pre>
 +
 +
<xs:sequence>
 +
<xs:element ref="DSGOriginAddress"/>
 +
<xs:element ref="DSGDestinationAddress"/>
 +
<xs:element ref="DSGBillToAddress" minOccurs="0"/>
 +
<xs:element ref="DSGReferenceNumbers" minOccurs="0" maxOccurs="unbounded"/>
 +
<xs:element ref="DocShpLineItem" maxOccurs="unbounded"/>
 +
<xs:element ref="DSGShipmentAccessorial" minOccurs="0" maxOccurs="unbounded"/>
 +
</xs:sequence>
 +
 +
</pre>
 +
 +
Attributes:
 +
 +
...
===== DSGOriginAddress =====  
===== DSGOriginAddress =====  

Revision as of 18:52, 3 September 2010


Contents

DTD

see http://mantis.jaguarfreight.com/mantis/file_download.php?file_id=1577&type=bug

ns0:Header

ns0:Body

parmDocEnvelope

DocShipment

Used to provide top level shipping information, like totals and main shipping refernece numbers

Sub-elements:


<xs:sequence>
<xs:element ref="DSGOriginAddress"/>
<xs:element ref="DSGDestinationAddress"/>
<xs:element ref="DSGBillToAddress" minOccurs="0"/>
<xs:element ref="DSGReferenceNumbers" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="DocShpLineItem" maxOccurs="unbounded"/>
<xs:element ref="DSGShipmentAccessorial" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>

Attributes:

...

DSGOriginAddress
DSGDestinationAddress
DSGReferenceNumbers
DSGShipmentAccessorial
DocShpLineItem
DSGReferenceNumbers

Example


  <?xml version="1.0" encoding="iso-8859-1" ?> 
- <ns0:Envelope xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing" xmlns:ns0="http://www.w3.org/2003/05/soap-envelope" xmlns:ebi="http://www.myvan.descartes.com/ebi/2004/r1">
- <ns0:Header>
- <wsa:From>
  <wsa:Address>urn:duns:657589457</wsa:Address> 
  </wsa:From>
  <wsa:To>urn:duns:657589457</wsa:To> 
  <wsa:Action>urn:myvan:856</wsa:Action> 
- <ebi:Sequence>
  <ebi:MessageNumber>12117</ebi:MessageNumber> 
  </ebi:Sequence>
  <wsa:MessageID /> 
  </ns0:Header>
- <ns0:Body>
- <parmDocEnvelope>
- <DocShipment ShipmentNo="3161007" MessagePurpose="1002" CarrierCode="" EarliestAvailDate="2010-08-130 08:00:00" LatestAvailDate="2010-08-30 16:00:00" TotalWgt="98" WgtUOM="200" BillingOption="10">
  <DSGOriginAddress LocationNo="08081831" StreetName="7725 PARKLAWN AVENUE" City="EDINA" State="MN" PostalCode="55439" Country="US" CompanyName="Company ABC" /> 
  <DSGDestinationAddress LocationNo="" StreetName="95 Paquin Road" City="MANITOBA" State="MB" PostalCode="R2J 3V9" Country="CA" CompanyName="Consumer Products" /> 
  <DSGReferenceNumbers RefNoType="Stack Pallets" Value="Yes" /> 
  <DSGShipmentAccessorial AccName="Hazardous" /> 
- <DocShpLineItem ContainerQuantity="1" Description="Goods" TotalLineItemWeight="98" WgtUOM="200" ContainerType="15" LineItemNumber="1" OrderQty="10" OrderQtyUOM="1" PurchaseOrderNo="PO#">
  <DSGReferenceNumbers RefNoType="Order Pieces" Value="200 Pieces" /> 
  </DocShpLineItem>
  </DocShipment>
  </parmDocEnvelope>
  </ns0:Body>
  </ns0:Envelope>

Personal tools