TIC 4.0
Segment Group 7: LOC
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' tos|@|cargovisit|@|portofdischarge|metaelements|output|planned|value: USCHS tos|@|cargovisit|@|portofdischarge|metaelements|ouput|actual|codelistidentificationcode: 139 tos|@|cargovisit|@|portofdischarge|metaelements|ouput|actual|codelistresponsibleagencycode: 6 tos|@|cargovisit|@|portofdischarge|logical|ouput|actual|locationname: CHARLESTON, SC tos|@|cargovisit|@|portofdischarge|metaelements|output|actual|firstrelatedlocationnamecode: WANDO tos|@|cargovisit|@|portofdischarge|metaelements|output|actual|firstrelatedlocationcodelistidentificationcode: 72 tos|@|cargovisit|@|portofdischarge|metaelements|output|actual|firstrelatedlocationcodelistresponsibleagencycode: ZZZ tos|@|cargovisit|@|portofdischarge|metaelements|output|actual|firstrelatedlocationname: WANDO TERMINAL | ||||||
LOC+147+0500284' tos|@|cargovisit|@|portofdischarge|.... (subject and concept for the rest of the codes) tos|@|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 | tos|@|cargovisit|@|portofdischarge|.... (subject and concept for the rest of the codes) tos|@|cargovisit|@|portofdischarge|....
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 header event 1001MC002 = 119 discharge and if 3227 = 147 Stowage cell then
IF header 1001 is 119 discharge and 3227 = 11 and 1131 is NOT 139 and LOC+11 SEG3 3225 is equal to LOC+11 SEG7 3225 then tos|@|cargovisit|@|placeofdischarge|output|actual....
IF header 1001 is 119 discharge and 3227 = 11 and 1131 is NOT 139 and LOC+11 SEG3 3225 is NOT equal to LOC+11 SEG7 3225 then tos|@|cargovisit|@|nextplaceofdischarge|output|planned...
IF header 1001 is 119 discharge and3227 = 11 and 1131 is 139 and LOC+11 SEG3 3225 is equal to LOC+11 SEG7 3225 then tos|@|cargovisit|@|portofdischarge|output|actual....
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 tos|@|cargovisit|@|nextportofdischarge|output|planned...
IF header 1001 is 119 discharge and 3227 = 9 and 1131 is NOT 139 and LOC+11 SEG3 3225 is equal to LOC+11 SEG7 3225 then tos|@|cargovisit|@|previousplaceofload|output|performed...
IF header 1001 is 119 discharge and 3227 = 9 and 1131 is NOT 139 and LOC+11 SEG3 3225 is NOT equal to LOC+11 SEG7 3225 and LOC+9 is equal to LOC+11 SEG3 then tos|@|cargovisit|@|placeofload|output|planned....
IF header 1001 is 119 discharge and 3227 = 9 and 1131 is NOT 139 and LOC+11 SEG3 3225 is NOT equal to LOC+11 SEG7 3225 and LOC+11 SEG3 is NOT equal to LOC+9 then tos|@|cargovisit|@|previousplaceofload|output|performed...
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 tos|@|cargovisit|@|previousportofload|output|performed...
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 tos|@|cargovisit|@|portofload|output|planned.... (planned to load by the one that reports).
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 tos|@|cargovisit|@|previousportofload|output|performed...
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 NOT 139 and LOC+9 SEG3 3225 is equal to LOC+9 SEG7 3225 then tos|@|cargovisit|@|placeofload|output|actual.... IF header 1001 is 122 load and 3227 = 11 and 1131 is NOT 139 and LOC+9 SEG3 3225 is NOT equal to LOC+11 SEG7 3225 then tos|@|cargovisit|@|nextplaceofdischarge|output|planned... 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 tos|@|cargovisit|@|portofload|output|actual.... 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 tos|@|cargovisit|@|nextportofdischarge|output|planned... IF header 1001 is 122 load and 3227 = 9 and 1131 is NOT 139 and LOC+9 SEG3 3225 is NOT equal to LOC+9 SEG7 3225 then tos|@|cargovisit|@|previousplaceofload|output|performed....
if 3227 = 5 then tos|@|cargovisit|@|placeofdeparture|.... tos|@|cargovisit|@|placeofdeparture|metaelements|input|planned|locationfunctioncodequalifier : 5 if 3227 = 7 then tos|@|cargovisit|@|placeofdeliver|.... if 3227 = 8 then tos|@|cargovisit|@|placeofdestination|.... if 3227 = 13 then tos|@|cargovisit|@|terminaloftransfer|.... if 3227 = 15 then tos|@|cargovisit|@|placeoftransferresponsibility|.... if 3227 = 33 then tos|@|cargovisit|@|placeofdischarge|.... if 3227 = 34 then tos|@|cargovisit|@|placeofloading|.... if 3227 = 65 then tos|@|cargovisit|@|finalplaceofdischarge|.... if 3227 = 88 then tos|@|cargovisit|@|placeofreceipt|.... if 3227 = 98 then tos|@|cargovisit|@|placeofemptydespatch|.... if 3227 = 154 then tos|@|cargo|@|onhire|.... if 3227 = 155 then tos|@|cargo|@|offhire|.... if 3227 = 170 then tos|@|cargovisit|@|finalportofdischarge|.... if 3227 = 171 then tos|@|cargovisit|@|prestaking|.... if 3227 = 175 then tos|@|cargovisit|location|.... For terminals and TOS the main reference is the 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) | tos|@|cargovisit|@|portofdischarge|metaelements|ouput|actual|value: USCHS
|
4 | 139 - Port |
| 1131 | Code list identification code | Kind of the location | tos|@|cargovisit|@|portofdischarge|metaelements|ouput|actual|codelistidentificationcode: 139 |
5 | 5 ISO (International Organization for Standardization) |
| 3055 | Code list responsible agency code |
| tos|@|cargovisit|@|portofdischarge|metaelements|ouput|actual|codelistresponsibleagencycode: 6 |
6 |
|
| 3224 | Location Name | Free Text Port Name | tos|@|cargovisit|@|portofdischarge|logical|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") | tos|@|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 | tos|@|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 |
| tos|@|cargovisit|@|portofdischarge|metaelements|output|actual|firstrelatedlocationcodelistresponsibleagencycode: ZZZ see 3227 ...|metaelements|output|actual|firstrelatedlocationcode: 3055 (9/184/SMD/ZZZ) |
11 |
|
| 3222 | First related location name, free text | location name | tos|@|cargovisit|@|portofdischarge|metaelements|output|actual|firstrelatedlocationname: WANDO TERMINAL tos|@|cargovisit|@|portofdischarge|metaelements|output|actual|firstrelatedlocationname: 3222 (free text) |
12 |
| C553 |
| Related Location TWO IDENTIFICATION |
|
|
13 |
|
| 3233 | Second related location name code | Individual location code (f|e| "terminal code") | no example tos|@|cargovisit|@|portofdischarge|metaelements|output|actual|secondrelatedlocationnamecode: 3233 |
14 | 72 Container terminal |
| 1131 | Code list identification code | Which kind of location | no example see 3227 ...|metaelements|output|actual|secondrelatedlocationcodelistidentificationcode: 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|secondrelatedlocationcodelistidentificationcodename: consigneespremises |
15 | 9 - EAN (International Article Numbering association) |
| 3055 | Code list responsible agency code |
| no example see 3227 ...|metaelements|output|actual|secondrelatedlocationcodelistresponsibleagencycode: 3055 (9 / 184 / SMD / ZZZ) |
|
|
| 3222 | Second related location name, free text | location name | no example tos|@|cargovisit|@|portofdischarge|metaelements|output|actual|secondrelatedlocationname: 3222 (free text) |
See the latest data model at Data Model
© Copyright - TIC 4.0 All rights reserved | Design web by Fundación Valenciaport