Edition 2016 Upd. 2021
Instruction message
5. Segments Layout
 
Segment number:
4
-
M
1
-
 
Function:
 
To indicate the type and function of a message and to transmit the identifying number.
 
EDIFACT
EAN
*
Description
C002
DOCUMENT/MESSAGE NAME
C
R
   
Document name code
C
an..3
R
*
=
Shipping instructions
=
Shipper's letter of instructions (air)
=
Forwarding instructions
Code list identification code
C
an..17
N
   
Code list responsible agency code
C
an..3
N
   
1000
Document name
C
an..35
O
   
C106
DOCUMENT/MESSAGE IDENTIFICATION
C
R
   
1004
Document identifier
C
an..35
R
 
Transport Instruction number assigned by
The document sender.
For global unique identification of documents Global Document Type Identifier (GDTI) is available.
1056
Version identifier
C
an..9
N
   
1060
Revision identifier
C
an..6
N
   
Message function code
C
an..3
R
*
=
Cancellation
=
Replace
=
Duplicate
=
Original
=
Copy
=
Confirmation via specific means
The message function, coded is a critical data element in this segment. It applies to all data indicated in the message. Consequently, one separate message has to be provided per type of function required. The following definitions apply for the restricted codes:
1 = Cancellation - Cancel the original transport instruction message (original transport instruction reference specified in RFF SG3). When a transport instruction message is being cancelled all mandatory data (at message and detail levels) must be sent again for the message being cancelled which is identified using the RFF segment in group 3.
5 = Replace - Cancel the original transport instruction  message and replace with this transport instruction message (original transport instruction reference is specified in RFF SG3). When a transport instruction message is being replaced all data pertaining to the consignment must be sent again for the message being replaced which is identified using the RFF segment in group 3.
7 = Duplicate - Re-transmission on the request of the receiver.
9 = Original - Original transmission of the transport instruction message.
31 = Copy - Copy of the transport instruction message for a third party for information purposes.
42 = Confirmation via other means - Confirmation of a previous instruction sent by means other than EDI.
Response type code
C
an..3
N
   
Segment Notes:
This segment is used to indicate the type and function of a message and to transmit the identifying number.
All references other than the document number DE 1004 are to be put in the RFF segment.

Example:
BGM+610+569952+9'
© Copyright GS1
Edition 2016 Upd. 2021