Documente Academic
Documente Profesional
Documente Cultură
FOR
DESADV MESSAGE
DESPATCH ADVICE (ASN) MESSAGE
TABLE OF CONTENTS
INTRODUCTION .............................................................................................................................................................5
This document is intended to describe the DESADV or Advance Ship Notice (ASN) message, representing a vendor’s
or freight forwarder’s notification to General Motors Mexico SPO Division (SPOM) that a shipment has been made
in response to a SPOM order.
This guideline provides response instructions to all Purchase Order types issued by SPOM in the DELJIT Message.
Any SPOM DESADV requirements that are dependent upon PO type are explained within the individual segment
definitions and an example message is provided in response to the two basic order types, Stock and Ship Direct.
The following usage is observed and expected by GM for EDIFACT D97A messages::
Any variance from the above in the guidelines or the examples is unintentional.
SEGMENT CLARIFICATION
HEADING SECTION
The UNB is a service segment providing the unique identification of an interchange. It allows the
identification of the sender and the receiver of the interchange, gives date and time of preparation as well
as the interchange control reference and the application reference.
Not used.
A service segment starting and uniquely identifying a message. The message type code for the Despatch
advice message is DESADV.
A segment for unique identification of the Despatch Advice document, by means of its name and its
number.
DTM Date/Time/Period
Date/time/period related to the whole message. The DTM segment must be specified at least once to
identify the Despatch Advice date.
MEA Measurements
A group of segments giving references where necessary, their dates relating to the whole message, e.g. contract
number.
RFF Reference
A segment for referencing documents relating to the whole despatch advice message, e.g. purchase
orders, delivery instructions, import/export license.
A group of segments identifying names, addresses, locations, and required supporting documents relevant to the
whole Despatch Advice.
A segment for identifying names, addresses, and their functions relevant to the whole Despatch Advice.
Identification of the parties involved is recommended for the Despatch Advice message, and is to be given
in the NAD segment.
It is recommended that where possible, only the coded form of the party ID should be specified, e.g. the
buyer and seller are known to each other, thus only the coded ID is required. The consignee or delivery
address may vary and would have to be clearly specified, preferably in structured format.
A segment indicating more details regarding specific places/locations related to the party specified in the
NAD segment, e.g. internal site/building number.
A segment specifying the carriage, and the mode and means of transport of the goods being despatched.
A group of segments providing information relative to the equipment used for the transportation of goods relevant
to the whole despatch advice.
A segment to define fixed information regarding equipment used in conjunction with the whole despatch
advice, and if required, to indicate responsibility for supply of the equipment.
DETAIL SECTION:
A group of segments providing details of all package levels and of the individual despatched items contained in the
consignment. This segment group provides the capability to give the hierarchical packing relationships. The group
defines a logical top-down order structure. The lowest level package information of the hierarchy is followed by
the detail product information.
A segment identifying the sequence in which packing of the consignment occurs, e.g. boxes loaded onto a
pallet.
A group of segments identifying packaging, physical dimensions, marks and numbers, quantities, date and time
information, handling information and information about packing at this level.
PAC Package
A segment specifying the number and type of the packages/physical units and the physical type of
packaging for the despatched goods. The only use of this segment in the SPOM DESADV guideline is to
serve as the required trigger segment for the following Segment Group 13.
RFF Reference
A segment for referencing the package identification e.g. master label number.
LIN-PIA-IMD-MEA-QTY-ALI-GIN-GIR-DLM-DTM-NAD-TDT-HAN-FTX-MOA-SG16-SG17-SG18-SG19-SG20-SG23
QTY Quantity
RFF Reference
SUMMARY SECTION:
A service segment ending a message, giving the total number of segments in the message and the control
reference number of the message.
The following tables defines the subset of segments that form the mandatory (“Must Use”) and conditional
segments of the SPOM DESADV message. The segment grouping and looping structure is also represented.
HEADING SECTION:
SUMMARY SECTION:
Following service segments are as defined by UN/EDIFACT and presented under ISO 9735.
The UNB, UNH, UNT and UNZ segments are the envelope of any message, enclosing all the data that is
being transmitted.
The UNB (Interchange header) and UNZ (Interchange trailer) segments mark respectively the beginning
and the end of an “interchange” (or EDI transmission) thereby providing a unique interchange control
reference.
Within the interchange the UNH (message header) and UNT (Message trailer) segments uniquely begin
and end the various messages contained in an interchange.
UNB
UNH
MESSAGE
1
UNT
UNH
EXAMPLE OF AN MESSAGE
INTERCHANGE STRUCTURE 2
UNT
...
UNH
MESSAGE N
UNT
UNZ
COMMENTS
The Interchange Control Reference number used by General Motors is a sequence number representing interchanges between a given GM
Sender ID (0004) and a given Receiver ID (0010). The first number in the sequence is generally 2000000. ICRs at the interchange level are not
reset annually.
Example: UNH+1+DASADV:D:97A:UN’
A B C D E
Example: UNT+99+1’
A B
Example: UNZ+1+12’
A B
This part includes only the segments defined in the standard and used in the subset exchanged
between SPOM and its Trading Partners. The segments are described in the same sequence as
they appear in the message.
Data Component
Usage Element Element Name Attributes
C002 DOCUMENT/MESSAGE NAME C
Identification of a type of document/message by code or name. Code preferred.
>> 1001 Document/message name, coded C an..3
Document/message identifier expressed in code.
351 Despatch advice
Document/message by means of which the seller or
consignor informs the consignee about the despatch of
goods.
X 1131 Code list qualifier C an..3
Identification of a code list.
Refer to D.97A Data Element Dictionary for acceptable code values.
X 3055 Code list responsible agency, coded C an..3
Code identifying the agency responsible for a code list.
Refer to D.97A Data Element Dictionary for acceptable code values.
X 1000 Document/message name C an..35
Plain language identifier specifying the function of a document/message.
>> C106 DOCUMENT/MESSAGE IDENTIFICATION C
Note: Vendors located in Mexico are requested to use their invoice number as
the Shipment Identification Number.
X 1056 Version C an..9
To specify the version number or name of an object.
X 1060 Revision number C an..6
To specify a revision number.
1225 MESSAGE FUNCTION, CODED C an..3
Code indicating the function of the message.
9 Original
Initial transmission related to a given transaction.
The issuer's first transmission of a message for a
particular SID (1004).
X 4343 RESPONSE TYPE, CODED C an..3
Code specifying the type of acknowledgment required or transmitted.
Refer to D.97A Data Element Dictionary for acceptable code values.
DTM+137:201103150130:203'
DTM+11:201103121500:203'
DTM+132:20110404:102’
Data Component
Usage Element Element Name Attributes
>> C507 DATE/TIME/PERIOD M
Date and/or time, or period relevant to the specified date/time/period type.
>> 2005 Date/time/period qualifier M an..3
Code giving specific meaning to a date, time or period.
Three iterations of the DTM segment are mandatory, using codes 11 , 132, 137.
11 Despatch date and or time
(2170) Date/time on which the goods are or are expected
to be despatched or shipped.
137 Document/message date/time
(2006) Date/time when a document/message is issued.
132 Arrival Date/time, estimated
(2348) Date/time when carrier estimates that a means of
transport should arrive at the port of discharge or place
of destination.
>> 2380 Date/time/period C an..35
The value of a date, a date and time, a time or of a period in a specified
representation.
>> 2379 Date/time/period format qualifier C an..3
Specification of the representation of a date, a date and time or of a period.
102 CCYYMMDD
203 CCYYMMDDHHMM
Calendar date including time with minutes: C=Century;
Y=Year; M=Month; D=Day; H=Hour; M=Minutes.
Position: 0050
Group:
Level: 1
Usage: Conditional (Required)
Max Use: 5
Purpose: To specify physical measurements, including dimension tolerances, weights and counts.
Dependency Notes:
Semantic Notes:
Comments:
Two iterations of the MEA are required to indicate number of lading units and the weight
Notes: of the shipment:
MEA+AAX+G+LBR:500'
MEA+AAX+SQ+C62:6'
Data Component
Usage Element Element Name Attributes
>> 6311 MEASUREMENT PURPOSE QUALIFIER M an..3
Specification of the purpose of the measurement.
AAX Consignment measurement
Measurement related to a consignment; to be specified by
the measurement code dimension value.
C502 MEASUREMENT DETAILS C
Identification of measurement type.
>> 6313 Property measured, coded C an..3
Specification of the property measured.
G Gross weight
[6292] Weight (mass) of goods including packing but
excluding the carrier's equipment.
N Actual net weight
SQ Shipped quantity
X 6321 Measurement significance, coded C an..3
Code specifying the significance of a measurement value.
Refer to D.97A Data Element Dictionary for acceptable code values.
X 6155 Measurement attribute identification C an..17
Code used to specify non-discrete measurement values.
Refer to D.97A Data Element Dictionary for acceptable code values.
X 6154 Measurement attribute C an..70
To specify non-discrete measurement values.
C174 VALUE/RANGE C
Measurement value and relevant minimum and maximum tolerances in that
order.
>> 6411 Measure unit qualifier M an..3
Indication of the unit of measurement in which weight (mass), capacity, length,
area, volume or other quantity is expressed.
Segment Summary
RFF+CN:DW12345'
Data Component
Usage Element Element Name Attributes
>> C506 REFERENCE M
Identification of a reference.
>> 1153 Reference qualifier M an..3
Code giving specific meaning to a reference segment or a reference number.
CN Carrier's reference number
Reference number assigned by carrier to a consignment.
AWB Air Waybill Number
BM Bill of Lading Number
MB Master Bill of Lading Number
FN Freight Bill Number
Position: 0100
Group:
Level: 1
Usage: Conditional (Required)
Max Use: 10
Purpose:
Segment Summary
Where the vendor originates the ASN, three iterations are required to specify all parties
involved (MI, SU, and ST). Detailed address information should be included for ship to
party.
NAD+MI+23763::92++GM SPOM'
NAD+ST+7080::92++ GENERAL MOTORS DE MEXICO - SPOM: SERVICE PARTS
OPERATIONS+ AV. INDUSTRIA MINERA 700 : FRACCIONAMIENTO INDUSTRIAL+TOLUCA++
CP 50000+MX'
NAD+SU+111222333::16++GM SPOM Supplier Name'
Where the freight forwarder originates the ASN, four iterations are required to specify all
parties involved (FW, MI, SU, and ST). Detailed address information should be included
for ship to party.
NAD+MI+23763::92++GM SPOM'
NAD+ST+7080::92++ GENERAL MOTORS DE MEXICO - SPOM: SERVICE PARTS
OPERATIONS+ AV. INDUSTRIA MINERA 700 : FRACCIONAMIENTO INDUSTRIAL+TOLUCA++
CP 50000+MX'
NAD+SU+111222333::16++GM SPOM Supplier Name'
NAD+FW+++Freight Forwarder Name’
NAD+SI+23763::92++SPOM'
NAD+SU+111222333::16++ GM SPOM Supplier Name'
NAD+UD+509033::86++Bachman Chevrolet Inc:Attn Parts Manager+9650 Bluegrass
Pky+Louisville+KY+402991900+US'
Position: 0120
Group: Segment Group 2 (Name and Address) Conditional
Level: 2
Usage: Conditional
Max Use: 10
Purpose: To identify a country/place/location/related location one/related location two.
Dependency Notes:
Semantic Notes:
Comments:
Notes: Reserved for future use. Not expected or required as of Version 1 of this guideline.
LOC+11+:::PACKAGED DOCK'
Position: 0230
Group:
Level: 1
Usage: Conditional (Required)
Max Use: 10
Purpose:
Segment Summary
Pos. Seg. Req. Max. Group:
No. ID Name Des. Use Repeat
Must Use 0240 TDT Details of Transport M 1
Data Component
Element Element Name Attributes
>> 8051 TRANSPORT STAGE QUALIFIER M an..3
Qualifier giving a specific meaning to the transport details.
12 At departure
Transport by which goods are moved from the place of
departure.
25 Delivery carrier all transport
Carrier responsible from the point of origin to the final
delivery destination.
X 8028 CONVEYANCE REFERENCE NUMBER C an..17
Unique reference given by the carrier to a certain journey or departure of a
means of transport (generic term).
>> C220 MODE OF TRANSPORT C
Method of transport code or name. Code preferred.
8067 Mode of transport, coded C an..3
Coded method of transport used for the carriage of the goods.
Use codes from X12 Data Element 91
A Air
M Motor (Common Carrier)
R Rail
S Ocean
U Private Parcel Service
X 8066 Mode of transport C an..17
Method of transport used for the carriage of the goods.
X C228 TRANSPORT MEANS C
Code and/or name identifying the type of means of transport.
X 8179 Type of means of transport identification C an..8
Code defining the type of the means of transport being utilized.
Refer to D.97A Data Element Dictionary for acceptable code values.
Position: 0290
Group:
Level: 1
Usage: Conditional
Max Use: 10
Purpose: An EQD loop should be included for stock or ship direct orders that will be through
delivered in an identifiable container or trailer. It is not required for orders where a
parcel or box is handled by an Air Express or Package Service.
Segment Summary
Pos. Seg. Req. Max. Group:
Usage No. ID Name Des. Use Repeat
Data Component
Usage Element Element Name Attributes
>> 8053 EQUIPMENT QUALIFIER M an..3
Code identifying type of equipment.
CN Container
Equipment item as defined by ISO for transport. It must
be of: A) permanent character, strong enough for
repeated use; B) designed to facilitate the carriage of
goods, by one or more modes of transport, without
intermediate reloading; C) fitted with devices for its
ready handling, particularly.
RR Rail Car
[8320] Registered identification number of railway wagon
(CIM 19).
TE Trailer
A vehicle without motive power, designed for the carriage
of cargo and to be towed by a motor vehicle.
C237 EQUIPMENT IDENTIFICATION C
Marks (letters and/or numbers) identifying equipment used for transport such
as a container.
>> 8260 Equipment identification number C an..17
Marks (letters and/or numbers) which identify equipment e.g. unit load device.
Used to identify equipment number, such as railcar or trailer number including
initials.
X 1131 Code list qualifier C an..3
Identification of a code list.
Refer to D.97A Data Element Dictionary for acceptable code values.
X 3055 Code list responsible agency, coded C an..3
Code identifying the agency responsible for a code list.
Refer to D.97A Data Element Dictionary for acceptable code values.
X 3207 Country, coded C an..3
Position: 0370
Group:
Level: 1
Usage: Conditional (Required)
Max Use: 9999
Purpose:
Segment Summary
Pos. Seg. Req. Max. Group:
Usage No. ID Name Des. Use Repeat
CPS+1++4' < -- An outermost Lading Unit directly contains all the pieces specified in the
associated line item. The actual external identifier for the lading Unit is given in the RFF
Segment in Segment Group 13.
Note that Part Numbers can be split into multiple Lading Units (Multiple CPS / LIN / QTY
occurrences) if there is more than one outermost container for a Part Number.
Data Component
Usage Element Element Name Attributes
>> 7164 HIERARCHICAL ID. NUMBER M an..12
A unique number assigned by the sender to identify a level within a hierarchical
structure.
A serial number representing a lading unit, or highest level box, package, or
pallet in the shipment (or highest within the container identified in the EQD
segment. Value should begin with the number 1 and increment by one for each
occurrence within the message. Numbers are not to be repeated within the
same message.
This is only a serial value. The actual external identifier for the lading Unit is
given in the RFF Segment in Segment Group 13.
X 7166 HIERARCHICAL PARENT ID. C an..12
Identification number of the next higher hierarchical data segment in a
hierarchical structure.
>> 7075 PACKAGING LEVEL, CODED C an..3
Indication of level of packaging specified.
3 Outer
For packed merchandise, outermost level of packaging for
a shipment.
Segment Summary
Pos. Seg. Req. Max. Group:
Usage No. ID Name Des. Use Repeat
Position: 0470
Group: Segment Group 11 (Package) Conditional (Optional)
Level: 3
Usage: Conditional (Optional)
Max Use: 1000
Purpose:
Segment Summary
Pos. Seg. Req. Max. Group:
Usage No. ID Name Des. Use Repeat
PCI+16'
RFF+CN+ABC333’ < -- For Ship Direct orders, the tracking number assigned by a carrier
to the outermost package represented by the parent CPS Segment.
Data Component
Element Element Name Attributes
>> C506 REFERENCE M
Identification of a reference.
>> 1153 Reference qualifier M an..3
Code giving specific meaning to a reference segment or a reference number.
CN Carrier's reference number
Reference number assigned by carrier to a consignment.
The identification used by the carrier to track a package,
i.e. air bill/small package tracking number. This Data
Element will only be used when CPS Data Element 7075
indicates code 3 or 4.
CW Package number
(7070) Reference number identifying a package or carton
within a consignment.
The external package identification of the Lading Unit
represented by the parent CPS Segment.
1154 Reference number C an..35
Identification number the nature and function of which can be qualified by an
entry in data element 1153 Reference qualifier.
X 1156 Line number C an..6
Number of the line in the document/message referenced in 1154 Reference
number.
X 4000 Reference version number C an..35
To uniquely identify a reference by its revision number.
Position: 0550
Group: Segment Group 10 (Consignment Packing Sequence) Conditional (Required)
Level: 2
Usage: Conditional (Required)
Max Use: 9999
Purpose:
Segment Summary
Pos. Seg. Req. Max. Group:
No. ID Name Des. Use Repeat
QTY+12:200:EA'
Position: 0710
Group: Segment Group 15 (Line Item) Conditional (Required)
Level: 3
Usage: Conditional (Required)
Max Use: 99
Purpose:
Segment Summary
Pos. Seg. Req. Max. Group:
No. ID Name Des. Use Repeat
RFF+ON:43065447'
UNB+UNOA:2+MBXNOSUPPLIER+GMSPOMEX+110315:0735+2000001++GMDESADV'
UNH+1+DESADV:D:97A:UN'
BGM+351+123456789+9' <==Contains Shipper "123456789"
DTM+137:201103150700:203' <==document creation date/time
DTM+11:201103150630:203' <==shipment date/time
DTM+132:20110404:102' <==Expected delivery date
MEA+AAX+G+LBR:500' <==Gross weight
MEA+AAX+SQ+C62:2' <==Number of boxes
RFF+CN:DW12345' <==Carrier’s Reference Number for Shipment
NAD+MI+23763::92++SPOM' <==SPOM Cisco code
NAD+ST+7080::92' <==SPOM Plant ("ship-to")
LOC+11+:::NON-PACKAGED DOCK' <==SPOM "Non-packaged" Dock
NAD+SU+876543210::16' <==Supplier Duns
TDT+12++M++:::TTT EXEXPRESS' <==Carrier name
EQD+TE+SLI987' <==Trailer #
CPS+1++3'
PAC+20' <==Number of boxes within outermost box for item
PCI+16'
RFF+CW:BOX1' <==ID of outermost box for line item
LIN+++10243389:IN' <==PN
QTY+12:200:EA' <==Qty shipped
RFF+ON:43065447' <==PO Number
CPS+2++3'
PAC+1'
PCI+16'
RFF+CW:BOX2'
LIN+++19894234:IN'
QTY+12:1:EA'
RFF+ON:43065448'
UNT+29+1'
UNZ+1+2000001'
UNB+UNOA:2+MBXNOSUPPLIER+GMSPOMEX+110315:0735+2000001++GMDESADV'
UNH+1+DESADV:D:97A:UN'
BGM+351+123456789+9' <==Contains Shipper "123456789"
DTM+137:201103150700:203' <==document creation date/time
DTM+11:201103150630:203' <==shipment date/time
DTM+132:20110404:102' <==Expected delivery date
MEA+AAX+G+LBR:500' <==Gross weight
MEA+AAX+SQ+C62:2' <==Number of boxes
RFF+CN:DW12345' <==Carrier’s Reference Number for Shipment
NAD+MI+23763::92++SPOM' <==SPOM Cisco code
NAD+UD+509033::86++Bachman Chevrolet Inc:Attn Parts Manager+9650 Bluegrass
Pky+Louisville+KY+402991900+US' <==Complete Dealer name and Address
LOC+11+:::NON-PACKAGED DOCK' <==SPOM "Non-packaged" Dock
NAD+SU+876543210::16' <==Supplier Duns
TDT+12++M++:::UPS' <==Carrier name
EQD+TE+SLI987' <==Trailer #
CPS+1++4'
PAC+0' <==0 within outermost box for item
PCI+16'
RFF+CN:TRACKING ID 1' <==Carrier’s Tracking ID for Package
LIN+++10243389:IN' <==PN
QTY+12:1:EA' <==Qty shipped
RFF+ON:43065447' <==PO Number
UNT+23+1'
UNZ+1+2000001'