TIC 4.0
Segment Group 7: LOC 2025.015
A segment to identify a location or country related to the equipment, such as: -
stowage cell - (final) place/port of discharge - transhipment place - place of
delivery - country of origin/destination
### | Possible Codes | EDI SMDG data Element | EDI SMDG Component Element | EDI SMDG data name | "Human Name" | TiC Data Mapping |
LOC+11+USCHS:139:6:CHARLESTON, SC+WANDO:72:ZZZ:WANDO TERMINAL' edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|output|planned|value: USCHS edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|ouput|actual|codelistidentificationcode: 139 edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|ouput|actual|codelistresponsibleagencycode: 6 edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|ouput|actual|locationname: CHARLESTON, SC edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|output|actual|firstrelatedlocationnamecode: WANDO edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|output|actual|firstrelatedlocationcodelistidentificationcode: 72 edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|output|actual|firstrelatedlocationcodelistresponsibleagencycode: ZZZ edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|output|actual|firstrelatedlocationname: WANDO TERMINAL | ||||||
LOC+147+0500284' edifact|@|carriervisit|@|cargovisit|@|locationidentification|.... (subject and concept for the rest of the codes) edifact|@|carriervisit|@|cargovisit|@|inbound|logical|output|actual|#qualifier#stowagecell|value = 0500284 | ||||||
1 | 5 Place of departure | 3227 |
| Location Function Code Qualifier | Function of location information which is described in the following information | edifact|@|carriervisit|@|cargovisit|@|locationidentification|.... (subject and concept for the rest of the codes) edifact|@|carriervisit|@|cargovisit|@|locationidentification|....
edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|output|actual|locationfunctioncodequalifier : ( 5 / 7 / 8 / 9 / 11 / 13 / 15 / 33 / 34 / 65 / 88 / 98 / 147 / 154 / 155 / 170 / 171 / 175 )
1001MC002 = header event; 119 discharge; 122 load LOC+9 SEG3 3225 = always the one that publishes the COARRI, it is only used when a load is reported (122) LOC+11 SEG7 3227 = discharge reported in segment 7 LOC+11 SEG3 3225 = always the one that publishes the COARRI, is only used when a discharge is reported (119) LOC+9 SEG7 3227 = load reported in segment 7
If BGM 119 (Discharge Report) If header event 1001MC002 = 119 discharge and if 3227 = 147 Stowage cell then IF header 1001 is 119 discharge and 3227 = 11 and 1131 is 139 and LOC+11 SEG3 3225 is equal to LOC+11 SEG7 3225 then IF header 1001 is 119 discharge and 3227 = 11 and 1131 is 72 and LOC+11 SEG3 3225 is equal to LOC+11 SEG7 3225 then IF header 1001 is 119 discharge and 3227 = 11 and 1131 is 139 and LOC+11 SEG3 3225 is NOT equal to LOC+11 SEG7 3225 then IF header 1001 is 119 discharge and 3227 = 11 and 1131 is 72 and LOC+11 SEG3 3225 is NOT equal to LOC+11 SEG7 3225 then IF header 1001 is 119 discharge and 3227 = 9 and 1131 is 139 and LOC+11 SEG3 3225 is equal to LOC+11 SEG7 3225 then IF header 1001 is 119 discharge and 3227 = 9 and 1131 is 72 and LOC+11 SEG3 3225 is equal to LOC+11 SEG7 3225 then IF header 1001 is 119 discharge and 3227 = 9 and 1131 is 139 and LOC+11 SEG3 3225 is NOT equal to LOC+11 SEG7 3225 and LOC+9 is equal to LOC+11 SEG3 (header) then edifact|@|carriervisit|@|cargovisit|@|portofload|output|planned|locationname = 3224 IF header 1001 is 119 discharge and 3227 = 9 and 1131 is 72 and LOC+11 SEG3 3225 is NOT equal to LOC+11 SEG7 3225 and LOC+9 is equal to LOC+11 SEG3 (header) then edifact|@|carriervisit|@|cargovisit|@|terminalofload|output|planned|locationname = 3222 IF header 1001 is 119 discharge and 3227 = 9 and 1131 is 139 and LOC+11 SEG3 3225 is NOT equal to LOC+11 SEG7 3225 and LOC+9 is NOT equal to LOC+11 SEG3 then edifact|@|carriervisit|@|cargovisit|@|previousportofload|output|performed|locationname = 3224 IF header 1001 is 119 discharge and 3227 = 9 and 1131 is 72 and LOC+11 SEG3 3225 is NOT equal to LOC+11 SEG7 3225 and LOC+9 is NOT equal to LOC+11 SEG3 then edifact|@|carriervisit|@|cargovisit|@|previousterminalofload|output|performed|locationname = 3222
If BGM 122 (Loading Report) If header event 1001MC002 = 122 load and if 3227 = 147 Stowage cell then IF header 1001 is 122 load and 3227 = 9 and 1131 is 139 and LOC+9 SEG3 3225 is equal to LOC+9 SEG7 3225 then edifact|@|carriervisit|@|cargovisit|@|portofload|output|actual|locationname: 3224 IF header 1001 is 122 load and 3227 = 9 and 1131 is 72 and LOC+9 SEG3 3225 is equal to LOC+9 SEG7 3225 then edifact|@|carriervisit|@|cargovisit|@|terminalofload|output|actual|locationname: 3222 IF header 1001 is 122 load and 3227 = 11 and 1131 is 139 and LOC+9 SEG3 3225 is NOT equal to LOC+9 SEG7 3225 then IF header 1001 is 122 load and 3227 = 11 and 1131 is 72 and LOC+9 SEG3 3225 is NOT equal to LOC+9 SEG7 3225 then if 3227 = 13 and 1131 is 139 then edifact|@|carriervisit|@|cargovisit|@|portoftranshipment|locationname: 3224 if 3227 = 13 and 1131 is 72 then edifact|@|carriervisit|@|cargovisit|@|terminaloftranshipment|locationname: 3224 if 3227 = 170 and 1131 is 139 then if 3227 = 170 and 1131 is 72 then
For terminals and TOS the main reference is cargovisit, but for a shipping line is the cargotrip. There is a link between cargotrip and cargo visit
|
2 |
| C517 |
| Location Identification |
|
|
3 |
|
| 3225 | Location name Code - UNLOCCODE | UNLOCCode for the location or Stowage location (ISO format BBBRRTT) (if e3227 = 147) | edifact|@|carriervisit|@|cargovisit|@|portofdischarge|metaelements|ouput|actual|value: USCHS
|
4 | 139 - Port |
| 1131 | Code list identification code | Kind of the location | edifact|@|carriervisit|@|cargovisit|@|portofdischarge|metaelements|ouput|actual|codelistidentificationcode: 139 |
5 | 5 ISO (International Organization for Standardization) |
| 3055 | Code list responsible agency code |
| edifact|@|carriervisit|@|cargovisit|@|portofdischarge|metaelements|ouput|actual|codelistresponsibleagencycode: 6 |
6 |
|
| 3224 | Location Name | Free Text Port Name | edifact|@|carriervisit|@|cargovisit|@|portofdischarge|metaelements|ouput|actual|locationname: CHARLESTON, SC see 3227 and if 3055 = 5 ...|metaelements|ouput|actual|#qualifier#ISO|locationname|: 3224 |
7 |
| C519 |
| Related Location ONE IDENTIFICATION |
|
|
8 |
|
| 3223 | First related location name code | Individual location code (f|e| "terminal code") | edifact|@|carriervisit|@|cargovisit|@|portofdischarge|metaelements|output|actual|firstrelatedlocationnamecode: WANDO see 3227 ...|metaelements|output|actual|firstrelatedlocationnamecode: 3223
|
9 | 72 Container terminal |
| 1131 | Code list identification code | Which kind of location | edifact|@|carriervisit|@|cargovisit|@|portofdischarge|metaelements|output|actual|firstrelatedlocationcodelistidentificationcode: 72 see 3227 ...|metaelements|output|actual|firstrelatedlocationcodelistidentificationcode: 1131 (72 / 261 / 262 / 263 / 264 / 265 / 266 / 267 / 268 / 269) see 3227 and if 1131 = 72 ... containerterminal see 3227 and if 1131 = 261 ..|metaelements|output|actual|firstrelatedlocationcodelistidentificationcodename: consigneespremises |
10 | 9 - EAN (International Article Numbering association) |
| 3055 | Code list responsible agency code | ||