TIC 4.0
CODECO UNH Message Header - BGM Beginning of Message
RED: Sample message
BLACK: Master message
BLUE: needs to be reviewt
UNH is a service segment starting and uniquely identifying a message. The message
type code for the Container gate-in/gate-out report message is CODECO.
Note: Container gate-in/gate-out report messages conforming to this document
must contain the following data in segment UNH
UNH+241443010001+CODECO:D:00B:UN:SMDG21 msg|@|unh|messagereferencenumber = 241443010001 | ||||||
### | Possible Codes | EDI SMDG data Element | EDI SMDG Component Element | EDI SMDG data name | "Human Name" | TiC Data Mapping |
|
| 0062 |
| MESSAGE REFERENCE NUMBER |
| msg|@|unh|messagereferencenumber = 241443010001 msg|@|unh|messagereferencenumber = 0062 |
|
| S009 |
| MESSAGE IDENTIFIER |
|
|
| CODECO Container gate-in/gate-out report message |
| 0065 | Message type identifier |
| msg|@|unh|messagetypeidentifier = CODECO msg|@|unh|messagetypeidentifier = 0065 (CODECO) |
| D Draft version/UN/EDIFACT Directory |
| 0052 | Message type version number |
| msg|@|unh|messagetypeversionnumber = D msg|@|unh|messagetypeversionnumber = 0052 (D) |
| 00B Release 2000 - B |
| 0054 | Message type release number |
| msg|@|unh|messagetypereleasenumber = 00B msg|@|unh|messagetypereleasenumber = 0054 (00B)
|
| UN UN/CEFACT |
| 0051 | Controlling agency |
| msg|@|unh|controllingagency = UN msg|@|unh|controllingagency = 0051 (UN)
|
| SMDG21 SMDG Version 2.1 |
| 0057 | Association assigned code |
| msg|@|unh|associationassignedcode = SMDG21 msg|@|unh|associationassignedcode = 0057 (SMDG21) |
|
| 0068 |
| COMMON ACCESS REFERENCE | Additional message reference (if required) | msg|@|unh|commonaccessreference = 0068 (free text) |
BGM is a segment to indicate the beginning of a message and to transmit identifying
number and the further specification of the message type (in data element 1001:
Document name code), such as Gate-in report, Gate-out report
BGM+109+800255846+9+AB msg|@|bgm|documentnamecode = 109 msg|@|bgm|documentidentifier = 800255846 msg|@|bgm|messagefunctioncode = 9 msg|@|bgm|responsetypecode = AB | ||||||
### | Possible Codes | EDI SMDG data Element | EDI SMDG Component Element | EDI SMDG data name | "Human Name" | TiC Data Mapping |
|
| C002 |
| DOCUMENT/MESSAGE NAME |
|
|
| 57 Transport equipment on-hire report |
| 1001 | Document name code |
| msg|@|bgm|documentnamecode = 122 msg|@|bgm|documentnamecode = 1001 (57 / 58 / 103 / 109 / 111 / 117 / 119 / 122 / 265 / 266) |
|
| C106 |
| DOCUMENT/MESSAGE IDENTIFICATION |
|
|
|
|
| 1004 | Document identifier | Sender's unique reference number | msg|@|bgm|documentidentifier = SN241445110001 msg|@|bgm|documentidentifier = 1004 |
| 1 Cancellation | 1225 |
| MESSAGE FUNCTION CODE |
| msg|@|bgm|messagefunctioncode = 9 msg|@|bgm|messagefunctioncode = 1225 (1 / 5 / 9) |
| AB Message acknowledgement
https://service.unece.org/trade/untdid/d04b/tred/tred4343.htm | 4343 |
| RESPONSE TYPE CODE |
| msg|@|bgm|responsetypecode = AB msg|@|bgm|responsetypecode = 4343 (AB / AC) |
DTM Date/Time/Period is a segment to indicate the message date and time
DTM+137:201511211523:203 msg|@|dtm|timecodequalifier = 137 msg|@|dtm|value = 200211150114 msg|@|dtm|timeperiodformatcode = 203
| ||||||
### | Possible Codes | EDI SMDG data Element | EDI SMDG Component Element | EDI SMDG data name | "Human Name" | TiC Data Mapping |
|
| C507 |
| DATE/TIME/PERIOD |
|
|
| 137 Document/message date/time |
| 2005 | Date or time or period function code qualifier |
| msg|@|dtm|timecodequalifier = 137 msg|@|dtm|timecodequalifier = 2005 |
|
|
| 2380 | Date or time or period value | Date/time that the message was prepared | msg|@|dtm|value = 200211150114 msg|@|dtm|value = 2380 |
| 203 CCYYMMDDHHMM |
| 2379 | Date or time or period format code |
| msg|@|dtm|timeperiodformatcode = 203 msg|@|dtm|timeperiodformatcode = 2379 |