DESADV
DESADV
SECTION
MGO Version
0. TABLE OF CONTENT
1. INTRODUCTION.................................................................................................................... 6
1. INTRODUCTION
This document provides the specific description of a subset of the EDIFACT DESADV D97.A
message to be used between a Trading Partner and a General Motors Operating Company.
2. MESSAGE DEFINITION
This document provides the definition of an Advanced Shipping Notification (ASN) or Despatch
Advice Message, based on the EDIFACT DESADV D97.A, to be used in Electronic Data
Interchange (EDI) between a Trading Partner and a GM Operating Company.
This documentation is fully comprehensive and allows the implementation of the EDIFACT
DESADV without the necessity for any additional standard related documentation.
2.2. PRINCIPLES
2.3. REFERENCES
General Motors has opted for the EDIFACT D97.A Directory and consistently uses this directory for
all its EDIFACT messages. Although the AVIEXP subset defined by ODETTE has been based on
the EDIFACT D96.A Directory, the subset defined by General Motors and described in this
document follows as close as possible the structure of the ODETTE subset.
The following definition of an ASN/Despatch Advice Message in EDIFACT format is applicable for
the interchange of shipping instructions issued by GM for material deliveries to one or more GM
Operations.
3. MESSAGE DESCRIPTION
Following pages contain a full description of the EDIFACT DESADV D97.A message as
implemented by General Motors. All segments are included regardless whether used or not used in
the interchange with General Motors. The official EDIFACT segment description is complemented
with remarks pertaining to the specific requirements for an interchange with General Motors. Those
remarks contain specific code values used, additional information on the values shown in a specific
field, etc.
3.1. INTRODUCTION
COMMENTS
CODE VALUES
LEGEND
segment position in the message structure, segment tag and segment name.
identification (when applicable) of the segment group in which the segment is situated and
indication at which level the segment is in the message.
status of the segment: as defined by EDIFACT and by GM.
number of occurrences of the segment: as defined by EDIFACT and as used by GM.
description of the function of the segment as defined by EDIFACT and as used by GM.
example of the segment as it may appear in an interchange. This example is only illustrative
and does not necessarily represent an actual situation. It should NOT be used as a basis to
implement this message.
definition of the segment content as defined by EDIFACT and as implemented by GM.
identification of the data elements in the segment
• reference to the example.
• data element tag - data elements with a ‘C’ denote a composite data element.
• data element name - italic CAPITALS denote a composite data element.
• ST - the status of the data element.
• FT - the format of the data element, i.e. the indication of the number of characters
(numerical or alphabetical) for this data element.
• SP - the separator used between the data elements.
• remarks on the specific use of the data element in the interchange with GM.
Shaded areas in the GM description mean that the data elements is not used by GM.
the segment description can be followed by:
• comments providing more information regarding specific data elements and how they
must be used and/or understood in messages from GM.
• code values to be used for data elements contained in the message.
The following table shows the segments defined for the EDIFACT UNSM DESADV D97.A Despatch
Advice message. Shaded areas identify the segments that are not used in the subset of DESADV
used by GM. This table, which should be read in conjunction with the branching diagram indicates
the maximum number of occurrences for each segment.
The branching diagram shows the structure of the message. It is a combination of various
segments that are organized in a certain hierarchical order.
A segment is a pre-defined set of functionally related values (e.g., segment NAD groups all values
that relate to a Party: name - address - etc.)
Each segment within the branching diagram is broken down into one or multiple data elements.
Within a segment, only those data elements that contain data must appear.
Level 1
0 UNH
M 1
SG3 SG4
C 10 C 10
2 DTM LOC RFF CTA LOC FTX
C 1 M 10 M 1 M 1 C 5 C 5
3 DTM COM
C 1 C 5
Level 2
SG12 SG13
C 10 C 1000
3 DTM FTX MEA QTY HAN PCI
C 10 C 10 C 10 C 10 M 1 M 1
Level 3
See See
2 5
1
See SG15
2 C 9999
2 LIN
M 1
3 PIA IMD MEA QTY ALI GIN GIR DLM DTM NAD See
C 10 C 25 C 10 M 10 C 10 C 100 C 100 C 100 C 5 C 5 4
See SG14
2 C 99
4 GIR GIN
C 99 M 1
5 DLM
C 10
Level 4
See See
2 5
1
Level 5
0 See UNT
2 M 1
1 CNT
C 5
SG21 SG22
C 10 C 10
4 QTY DTM MEA QTY GIN HAN DTM
C 10 C 5 C 10 C 1 M 1 M 1 C 5
This section provides the description of the UN Standard Message DESADV as defined in the 97.A
Directory. Only the segments printed in bold are used in the subset defined by GM and will be
further explained in section 3.6.
The message structure illustrates how the segments can be repeated in the Despatch Advice
message to accommodate the requirements identified by General Motors.
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 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
NOTE:
All data elements marked ”M” for Mandatory in the ”ST” field of the GM implementation must
be included in the message. Missing or incorrect entries will result in the rejection of the
message.
This part includes only the segments defined in the standard and used in the subset exchanged
between the Trading Partners and GM. The segments are described in the same sequence as they
appear in the message.
The EDIFACT DESADV segments that are not used in the subset used by GM are included in
alphabetical sequence under item 3.9.
NOTE:
All data elements marked ”M” for Mandatory in the ”ST” field of the GM implementation must
be included in the message. Missing or incorrect entries will result in the rejection of the
message.
2 Addition
Message containing items (e.g. line items, goods items, Customs items, equipment items) to be added to a previously sent
message. The issuer's subsequent transmission of an SID, adding part specific data not previously transmitted under that SID
(1004).
Code 2 should only be used to add a part number that was missing from a previous transmission. Do not repeat part
information for part numbers previously sent on the original transmission.
4 Change
Message containing items (e.g. line items, goods items, Customs items, equipment items) to be changed in a previously sent
message. The issuer's subsequent transmission of an SID, changing data previously transmitted under that SID (1004).
Code 4 should only be used to change quantities on a previously transmitted part number. For example, to increase a
quantity which should have been originally sent as 150 in a previous transmission, but only indicated 100, a correction
must be sent indicating the additional 50 only. Conversely, to reduce a quantity, only the difference may be sent with a
signed (-) value. For example, 200 were indicated in the original transmission but only 150 were shipped. Indicate a –50 on
only the part number in error. Do not send part information for parts that were originally transmitted correctly.
9 Original
Initial transmission related to a given transaction. The issuer's first transmission of a message for a particular SID (1004).
NOTE: THE TIMING OF ASN TRANSMISSION IS CRITICAL. DELETIONS, CORRECTIONS, AND ADDITIONS
CAN ONLY BE PROCESSED PRIOR TO THE RECEIPT OF SHIPMENT. WHEN IN DOUBT, CHECK
WITH YOUR PLANT CONTACT.
A B C
NOTE: The recommended value for data element 6411 is C62, when code value in data element 6313 is SQ.
Ordered by. Only used for SHIP DIRECT Conditional - must only be transmitted if used in
DELFOR and/or DELJIT.
A 3035 PARTY QUALIFIER M an..3 + M an..3 ”OB” = Ordered by.
C082 PARTY IDENTIFICATION DETAILS C M
B 3039 Party id. Identification M an..35 : M an..35 Code identifying the ordering party.
1131 Code list qualifier C an..3 :
C 3055 Code list responsible agency, coded C an..3 + M an..3 For code value see below.
C058 NAME AND ADDRESS C +
C080 PARTY NAME C +
C059 STREET C +
3164 CITY NAME C an..35 +
3229 COUNTRY SUB-ENTITY C an..9 +
IDENTIFICATION
3251 POSTCODE IDENTIFICATION C an..9 +
3207 COUNTRY, CODED C an..3 ‘
CODE VALUES
Example: TDT+12++M++A091::92’
TDT+25++M++A091::92++G:S’
A B C D E F
CODE VALUES
General Codes to be used for GM, more detailed codes may need to be implemented on request of GM Implementation Plant:
General codes used by GM listed below. To verify mode of transport, contact the GM Plant directly.
A Air
AC Air Charter
AE Air Express
C Consolidation
D Parcel Post
E Expedited Truck
G Piggyback
GS Progressive pick-up (milk run)
H Customer Pick-up
LT Less than trailer load
M Motor (full truck)
R Rail
SE Sea/Air
SR Supplier Truck
SS Steamship
T Best way
TC (Taxi) Cab
U Private Parcel Service
VE Vessel, Ocean
W Inland Waterway
CODE VALUES
CODE VALUES
CODE VALUES
16 byers instructions
Used for SHIP DIRECT
17 sellers instructions / markings as specified by the seller
Used for Packaging Information for some Warehouses
CODE VALUES
CN Carriers reference.
Reference number assigned by carrier to a consignment.
CW Package number
Reference number identifying a package or carton within a consignment.
SN Seal number
Identification number on customs or other seals affixed to containers or other transport units.
AAT Master Label Number
Identifies the master label number of any package type.
CR Customer reference number
Reference number assigned by the customer to a transaction
COMMENTS
Note: Code value “3” in data element 6063 is used to describe the quantity “Year-To-Date Cumulative
Shipped.” This is the total of all quantities shipped for a particular part number since the last
record year roll over, including the current shipment. For example, if year-end cutover took place
st st
on December 31 , the first shipment of the new record year on January 1 for a quantity of 50
would have a cumulative quantity shipped equal to the net quantity of the shipment (50). Only the
first shipment of a new record year will manifest this condition. The next shipment for 50, would
have a cum shipped of 100.
CODE VALUES
CODE VALUES
LN Length dimension
Length of pieces or packages stated for transport purposes.
TH Thickness
WD Width dimension
WT Weight
Following example is only illustrative and does not necessarily reflect an existing situation. It MAY
NEVER be used as a basis for programming or implementing this message.
UNB+UNOA:2+MBXNOSUPPLIER+MBXNOGM+980305:1600+1234’
UNH+1+DESADV:D:97A:UN’
BGM++123456789+9’ Shipment Identification Number
DTM+137:199803051400:203’ Document issue date/time
DTM+11:199803051500:203’ Despatch date/time
DTM+132:199803061000:203’ Estimated arrival date/time
MEA+AAX+G+KGM:9999’ Shipment gross weight
MEA+AAX+N+KGM:9999’ Shipment net weight
MEA+AAX+SQ+C62:99’ Total number of Lading units
RFF+CN:35’ Carriers reference number
NAD+MI+88123::92’ Material release issuer
NAD+ST+51269::92’ Ship to location
LOC+11+A1-A2 Delivery dock
NAD+SU+876543210::16’ Supplier
TDT+12++ M++B101::92’ Transport details
EQD+TE+ABC123456’ Equipment identification
CPS+1++1’ Detail trigger segment 1
PAC+10++0KLT4328’ Packing details part number 1
LIN+++12345678:IN’ Part number 1
PIA+1+7:RY’ Record keeping year part number 1
QTY+3:99999:C62’ Qty shipped year-to-date part number 1
QTY+12:99999:C62’ Despatched quantity part number 1
ALI+DE’ Additional information
RFF+ON:A1A2A3A4A’ Purchase order part number 1
CPS+2++1’ Detail trigger segment 2
PAC+5++0KLT6428’ Packing details part number 2
LIN+++23456789:IN’ Part number 2
PIA+1+7:RY’ Record keeping year part number 2
QTY+3:99999:C62’ Qty shipped year-to-date part number 2
QTY+12:99999:C62’ Despatched quantity part number 2
RFF+ON:B1B2B3B4B’ Purchase order part number 2
CPS+3++3’ First line item of outer Package
PAC+10+0CHEP060’ Identification of Handling Unit (e.g. pallet)
CPS+4++3’ Second line item of outer Package
PAC+10+0CHEP061’ Identification of Handling Unit (e.g. cover
UNT+33+1’
UNZ+1+1234’
For ease of reading the message has been shown with each segment type on a separate line,
which will not be the case when the message is normally transmitted.
To provide a complete documentation the segments which have been defined in the EDIFACT
DESADV D97.A but are not included in the subset used by GM are provided below in alphabetical
sequence.
4. MESSAGE INFORMATION
This section contains additional information related to the EDIFACT DESADV D97.A message.
The transmission of packaging information is done in different steps: the innermost packaging, i.e.
the one containing the parts is transmitted in the PAC segment preceding the LIN segment
containing the related part number (segment group 10 with CPS/7075 = 1); the other packaging
components like the pallet or cover are identified in PAC segments transmitted after all the LIN
segments (segment group 10 with CPS/7075 = 3).
Whenever the type of packaging is the small parts plastic VDA container (KLT) three different
occurrences of PAC may be required. This depends on the circumstances, i.e., whether the
containers are loaded on a pallet and whether a cover is used to protect the upper layer. The KLT
related information is detailed per article number whereas the pallet and cover details are provided
on a consignment basis. The sequence of the segments will be as shown below.
Situation: 3000 pieces of part number 99999990 are despatched in 30 containers type 0KLT3214.
The 30 KLT containers are loaded on one pallet type 0CHEP062 and one cover type 0CHEP063 is
used to protect the upper layer.
st
CPS+1++1’ 1 CPS segment
PAC+30++0KLT3214’ KLT details
LIN+++99999990:IN’ Part number 1
QTY+3:27000:C62’ Cumulative quantity shipped to date
QTY+12:3000:C62’ Despatched quantity part number 1
nd
CPS+2++3’ 2 CPS segment
PAC+1++0CHEP062’ Number of pallets and pallet type
CPS+3++3’ 3rd CPS segment
PAC+1++0CHEP063’ Number of covers and cover type
Situation: 7200 pieces of part number 99999990 are despatched in 72 containers type 0KLT3214.
The 72 KLT’s are loaded on 3 pallets type 0CHEP062 and 3 covers type 0CHEP063 are used.
st
CPS+1++1’ 1 CPS segment
PAC+72++0KLT3214’ KLT details
LIN+++99999990:IN’ Part number 1
QTY+3:14400:C62’ Cumulative quantity shipped to date
QTY+12:7200:C62’ Despatched quantity part number 1
CPS+2++3’ 2nd CPS segment
PAC+3++0CHEP062’ Number of pallets and pallet type
CPS+3++3’ 3rd CPS segment
PAC+3++0CHEP063’ Number of covers and cover type
EXAMPLE 3 : different part numbers in same container type on one pallet with one cover.
Situation: 1000 pieces of part number 99999990, 2000 pieces of part number 99999991 and 500
pieces of part number 99999992 are despatched. Each part number is loaded in 10 containers type
0KLT3214. The 30 KLT’s are loaded on 1 pallet type 0CHEP062 and 1 cover type 0CHEP063 is
used.
PN 99999990
PN 99999991
PN 99999992
EXAMPLE 4 : different part numbers in different container types on one pallet with one
cover.
Situation: 1000 pieces of part number 99999990 in 10 container types 0KLT3214; 1200 pieces of
part number 99999993 in 4 containers type 0KLT4314 and 300 pieces of part number 99999994 in
2 containers type 0KLT6428. The 16 KLT’s are loaded on 1 pallet type 0CHEP062 and 1 cover type
0CHEP063 is used.
PN 99999990 - 10 KLT.
PN 99999993 - 4 KLT.
PN 99999994 - 2 KLT.
st
CPS+1++1’ 1 CPS segment
PAC+10++0KLT3214’ KLT details
LIN+++99999990:IN’ Part number 1
QTY+3:18000:C62’ Cumulative quantity shipped to date
QTY+12:1000:C62’ Despatched quantity part number 1
nd
CPS+2++1’ 2 CPS segment
PAC+4++0KLT4314’ KLT details
LIN+++99999993:IN’ Part number 2
QTY+3:24000:C62’ Cumulative quantity shipped to date
QTY+12:1200:C62’ Despatched quantity part number 2
rd
CPS+3++1’ 3 CPS segment
PAC+2++0KLT6428’ KLT details
LIN+++99999994:IN’ Part number 3
QTY+3:12000:C62’ Cumulative quantity shipped to date
QTY+12:300:C62’ Despatched quantity part number 3
CPS+4++3’ 4th CPS segment
PAC+1++0CHEP062’ Number of pallets and pallet type
CPS+5++3’ 5th CPS segment
PAC+1++0CHEP063’ Number of covers and cover type
EXAMPLE 5 : one part number in different container types on one pallet with one cover.
Situation: 1000 pieces of part number 99999990 in 10 containers type 0KLT3214; 800 pieces of
part number 99999990 in 4 containers type 0KLT4318 and 800 pieces of part number 99999990 in
2 containers type 0KLT4328. The 16 KLT’s are loaded on 1 pallet type 0CHEP062 and 1 cover type
0CHEP063 is used.
PN 99999990 - 10 KLT.
PN 99999990 - 4 KLT.
PN 99999990 - 2 KLT.
st
CPS+1++1’ 1 CPS segment
PAC+1++0KLT3214’ KLT details
PAC+4++0KLT4314’ KLT details
PAC+2++0KLT4328’ KLT details
LIN+++999999990:IN’ Part number 1
QTY+3:13000:C62’ Cumulative quantity shipped to date
QTY+12:2600:C62’ Despatched quantity part number 1
nd
CPS+2++3’ 2 CPS segment
PAC+1++0CHEP062’ Number of pallets and pallet type
CPS+3++3’ CPS segment
PAC+1++0CHEP063’ Number of covers and cover type
Example 6 : different part numbers in different container types on different pallets with
different covers.
0CHEP062 0CHEP062
999..0
99999994 999..6
0CHE 0CHE
P063 P063
Situation:
Different Despatch Advices are grouped and the material is shipped on only one pallet with only
one cover. In this case the interchange should be structured as follows:
V053
DESADV 3
DESADV 2
DESADV 1
V011
Situation: 2700 pieces of part number 99999990 are despatched in 3 containers type 000V154.
EXAMPLE 9: one part number on several pallets / with container and pallet numbers.
Situation: 2400 pieces of part number 99999990 are despatched in 24 containers type 0KLT6428.
The 24 KLT’s are loaded on 3 pallets type 0CHEP062 and 3 covers type 0CHEP063 are used.
st
CPS+1++1’ 1 CPS segment
PAC+24++0KLT3214’ KLT details
PCI+17’ Sellers Instructions
RFF+AAT:705’ Pallet No. / Master Label No.
GIR+3+7822:ML’ Container_No./ Marking Label No.
GIR+3+7823:ML’
GIR+3+7824:ML’
GIR+3+7825:ML’
GIR+3+7826:ML’
GIR+3+7827:ML’
GIR+3+7828:ML’
GIR+3+7829:ML’
GIR+3+7830:ML’
PCI+17’
RFF+AAT:706’
GIR+3+7831:ML’
GIR+3+7832:ML’
GIR+3+7833:ML’
GIR+3+7834:ML’
GIR+3+7835:ML’
GIR+3+7836:ML’
GIR+3+7837:ML’
GIR+3+7838:ML’
GIR+3+7839:ML’
PCI+17’
RFF+AAT:707’
GIR+3+7840:ML’
GIR+3+7841:ML’
GIR+3+7842:ML’
GIR+3+7843:ML’
GIR+3+7844:ML’
GIR+3+7845:ML’
LIN+++99999990:IN’ Part number 1
QTY+3:14400:C62’ Cumulative quantity shipped to date
QTY+12:2400:C62’ Despatched quantity part number 1
CPS+2++3’ 2nd CPS segment
PAC+3++0CHEP062’ Number of pallets and pallet type
CPS+3++3’ 3rd CPS segment
PAC+3++0CHEP063’ Number of covers and cover type