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'
...
LOC+147+0500284'
...
1
...
5 Place of departure
7 Place of delivery
8 Place of destination
9 Place/port of loading
11 Place/port of discharge
13 Place of transhipment
15 Place of transfer responsibility
33 Baseport of discharge
34 Baseport of loading
65 Final port or place of discharge
88 Place of receipt
98 Place of empty equipment despatch
147 Stowage cell
Required in case of loading report
154 Place/location of on-hire
155 Place/location of off-hire
170 Final port of discharge
171 Place of destination for pre-stacking prior to
stowage
175 Activity location
...
3227
...
...
Location Function Code Qualifier
...
Function of location information which is described in the following information
...
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 equalto 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 equalto LOC+11 SEG7 3225 and LOC+9 is NOT equal to LOC+11 SEG3 then tos|@|cargovisit|@|placeofdeparturepreviousportofload|output|performed.... If BGM 122 (Loading Report) If header event 1001MC002 = 122 load and if 3227 = 7 then 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|placeofdestinationoutput|actual.... IF header 1001 is 122 load and 3227 = 9 11 and 1131 is not 139 NOT 139 and LOC+9 SEG3 3225 is NOT equal to LOC+11 SEG7 3225 then tos|@|cargovisit|@|placeofloadingnextplaceofdischarge|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|@|portofloadingportofload|output|actual.... IF header 1001 is 122 load and 3227 = 11 and 1131 is not 139 139 and LOC+9 SEG3 3225 is NOT equal to LOC+9 SEG7 3225 then tos|@|cargovisit|@|placeofdischargenextportofdischarge|output|planned.... IF header 1001 is 122 load and 3227 = 11 9 and 1131 = 139 is NOT 139 and LOC+9 SEG3 3225 is NOT equal to LOC+9 SEG7 3225 then tos|@|cargovisit|@|previousplaceofload|portofdischargeoutput|performed.... if 3227 = 13 5 then tos|@|cargovisit|@|terminaloftransferplaceofdeparture|.... if 3227 = 15 7 then tos|@|cargovisit|@|placeoftransferresponsibilityplaceofdeliver|.... if 3227 = 33 8 then tos|@|cargovisit|@|placeofdischargeplaceofdestination|.... if 3227 = 34 13 then tos|@|cargovisit|@|placeofloadingterminaloftransfer|.... if 3227 = 65 15 then tos|@|cargovisit|@|finalplaceofdischargeplaceoftransferresponsibility|.... if 3227 = 88 33 then tos|@|cargovisit|@|placeofreceiptplaceofdischarge|.... if 3227 = 98 34 then tos|@|cargovisit|@|placeofemptydespatchplaceofloading|.... if 3227 = 147 65 then if 3227 = 147 then 88 then tos|@|cargovisit|@|placeofreceipt|.... if 3227 = 98 then tos|@|positioncargovisit|@|id|output|actual|value: 3225placeofemptydespatch|.... 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) |
...