TIC 4.0
UNH Message Header - BGM Beginning of Message
UNH is a service segment starting and uniquely identifying a message. The message
type code for the Container discharge/loading report message is COARRI.
Note: Container discharge/loading report messages conforming to this
document must contain the following data in segment UNH.
BGM is 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 Loading report, Discharge report.
DTM Date/Time/Period is a segment to indicate the message date and time
UNH+SN241445110001+COARRI:D:00B:UN:SMDG21' msg|unh|@|messagereferencenumber = SN241445110001 | ||||||
### | 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 = SN241445110001 msg|unh|@|messagereferencenumber = 0062 |
|
| S009 |
| MESSAGE IDENTIFIER |
|
|
| COARRI Container discharge/loading report message CODECO Container gate-in/gate-out report message
|
| 0065 | Message type identifier |
| msg|unh|@|messagetypeidentifier = COARRI msg|unh|@|messagetypeidentifier = 0065 (COARRI/CODECO) |
| D Draft version/UN/EDIFACT Directory S Standard version
|
| 0052 | Message type version number |
| msg|unh|@|messagetypeversionnumber = D msg|unh|@|messagetypeversionnumber = 0052 (D/S) |
| 00B Release 2000 - B 01A Release 2001 - A
|
| 0054 | Message type release number |
| msg|unh|@|messagetypereleasenumber = 00B msg|unh|@|messagetypereleasenumber = 0054 (00B/01A)
|
| UN UN/CEFACT
|
| 0051 | Controlling agency |
| msg|unh|@|controllingagency = UN msg|unh|@|controllingagency = 0051 (UN/IA)
|
| SMDG21 SMDG Version 2.1 CC CCC (Customs Co-operation Council |
| 0057 | Association assigned code |
| msg|unh|@|associationassignedcode = SMDG21 msg|unh|@|associationassignedcode = 0057 (SMDG21/CC) |
|
| 0068 |
| COMMON ACCESS REFERENCE | Additional message reference (if required) | msg|unh|@|commonaccessreference = 0068 (free text) |
See the latest data model at Data Model
BGM+122+SN241445110001+9+AB' msg|bgm|@|documentnamecode = 122 msg|bgm|@|documentidentifier = SN241445110001 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 |
|
|
| 24 Restow 119 Transport discharge report 122 Transport loading report |
| 1001 | Document name code |
| msg|bgm|@|documentnamecode = 122 msg|bgm|@|documentnamecode = 1001 (24 / 119 / 122) |
|
| 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 AC Acknowledge
| 4343 |
| RESPONSE TYPE CODE |
| msg|bgm|@|responsetypecode = AB msg|bgm|@|responsetypecode = 4343 (AB / AC) |
See the latest data model at Data Model
DTM+137:200211150114: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 |