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' | ||||||
LOC+147+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|@|inbound|logical|output|actual|#qualifier#stowagecell|value = 0500284
if 3227 = 7 then tos|@|cargovisit|@|placeofdeliver|.... if 3227 = 8 then tos|@|cargovisit|@|placeofdestination|.... if 3227 = 9 and 1131 is not 139 then tos|@|cargovisit|@|placeofloading|.... if 3227 = 9 and 1131 = 139 then tos|@|cargovisit|@|portofloading|.... if 3227 = 11 and 1131 is not 139 then tos|@|cargovisit|@|placeofdischarge|.... if 3227 = 11 and 1131 = 139 then tos|@|cargovisit|@|portofdischarge|.... 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|@| |
3227 = 147 then
placeofemptydespatch|.... |
|placeofemptydespatch|metaelements|input|planning|locationfunctioncodecualifier : 98 |
cargovisit|@|placeofemptydespatch| |
metaelements| |
input| |
planning|locationfunctioncodecualifiername : placeofemptyequipmentdespatch If header event 1001MC002 = 119 discharge and if 3227 = |
147 then |
if 3227 = 7 then
|inbound|logical|output|actual|#qualifier#stowagecell|value: 3225 |
if 3227 = 8 then tos
inbound|carrier|@| |
position|@|id|output| |
if 3227 = 9 and 1131 is not 139 then
actual|value: 3225 |
if 3227 = 9 and 1131 = 139 then
|inbound|logical|metaelements|input|planning|locationfunctioncodecualifier : 147 |
if 3227 = 11 and 1131 is not 139 then
|inbound|logical|metaelements|input|planning|locationfunctioncodecualifiername : stowagecell
|
if 3227 = 11 and 1131 = 139 then
|outbound|logical|output|actual|#qualifier#stowagecell|value: 3225 |
if 3227 = 13 then tos
outbound|carrier|@| |
position|@|id| |
if 3227 = 15 then
output|actual|value: 3225 |
if 3227 = 33 then
|outbound|logical|metaelements|input|planning|locationfunctioncodecualifier : 147 |
|outbound|logical|metaelements|input|planning|locationfunctioncodecualifiername : stowagecell if 3227 = |
154 then tos|@| |
cargo|@| |
onhire|.... |
tos|@| |
cargo|@ |
if 3227 = 88 then
|onhire|metaelements|input|planning|locationfunctioncodecualifier : 154 |
cargo|@ |
|onhire|metaelements|input|planning|locationfunctioncodecualifiername : locationofon-hire if 3227 = |
155 then tos|@| |
cargo|@| |
offhire|.... |
tos|@| |
cargo|@| |
offhire| |
metaelements| |
input| |
3227 = 147 then
planning|locationfunctioncodecualifier : 155 |
cargo|@| |
offhire|metaelements| |
input| |
planning|locationfunctioncodecualifiername : locationofoff-hire if 3227 = 170 then tos|@| |
cargovisit| |
@| |
If header event 1001MC002 = 122 load and if 3227 = 147 then
finalportofdischarge|.... |
finalportofdischarge| |
metaelements| |
input| |
3227 = 147 then
planning|locationfunctioncodecualifier : 170 |
metaelements| |
input| |
planning|locationfunctioncodecualifiername : finalportofdischarge if 3227 = 171 then tos|@| |
cargovisit| |
@| |
if 3227 = 154 then
prestaking|.... |
cargovisit|@| |
if 3227 = 155 then
prestaking|metaelements|input|planning|locationfunctioncodecualifier : 171 |
cargovisit|@ |
|prestaking|metaelements|input|planning|locationfunctioncodecualifiername : placeofdestinationforpre-stackingpriortostowage if 3227 = |
175 then tos|@|cargovisit| |
location| |
.... |
tos|@|cargovisit|@ |
if 3227 = 175 then
|location|metaelements|input|planning|locationfunctioncodecualifier : 175 |
metaelements|input|planning|locationfunctioncodecualifiername : activitylocation 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
|
|value|: 3225 | ||||||
4 | 139 - Port |
| 1131 | Code list identification code | Kind of the location | tos|@|cargovisit|@|portofdischarge|metaelements|ouput|actual| |
codelistidentificationcode: 139 |
| |
codelistidentificationcodename: Port |
|codelistidentificationcode : 1131 (139) |
codelistidentificationcodename : 1131 |
(Port) | ||||||
5 | 5 ISO (International Organization for Standardization) |
| 3055 | Code list responsible agency code |
| tos|@|cargovisit|@|portofdischarge|metaelements|ouput|actual |
|codelistresponsibleagencycode: 6 |
codelistresponsibleagencycodename: UNLOCCODE |
#qualifier#ISO/UNLOCCODE|codelistresponsibleagencycode : 1131 (5 / 6) |
#qualifier#ISO/UNLOCCODE| |
codelistresponsibleagencycodename : 1131 |
(ISO / UNLOCCODE) | ||||||
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 |
firstrelatedlocationcodelistidentificationcodename: containerterminal see 3227 ...|metaelements|output|actual| |
firstrelatedlocationcodelistidentificationcode: 1131 (72 / 261 / 262 / 263 / 264 / 265 / 266 / 267 / 268 / 269) |
firstrelatedlocationcodelistidentificationcodename: 1131 (containerterminal / consigneespremises / consignorspremises / packingandorunpackingfacility / storagefacility / rapairfacility / marineberth / martinewharf / gate / warehouse) see 3227 and if 1131 = 72 ... containerterminal see 3227 and if 1131 = 261 ..|metaelements|output|actual| |
firstrelatedlocationcodelistidentificationcodename: consigneespremises |
firstrelatedlocationcodelistidentificationcodename: consignorspremises |
firstrelatedlocationcodelistidentificationcodename: packingandorunpackingfacility |
firstrelatedlocationcodelistidentificationcodename: storagefacility |
firstrelatedlocationcodelistidentificationcodename: repairfacility |
firstrelatedlocationcodelistidentificationcodename: marineberth |
firstrelatedlocationcodelistidentificationcodename: marinewharf |
firstrelatedlocationcodelistidentificationcodename: gate |
firstrelatedlocationcodelistidentificationcodename: warehouse | ||||||
10 | 9 - EAN (International Article Numbering association) |
| 3055 | Code list responsible agency code |
| tos|@|cargovisit|@|portofdischarge|metaelements|output|actual| |
firstrelatedlocationcodelistresponsibleagencycode: ZZZ |
firstrelatedlocationcodelistresponsibleagencycodename: mutually defined 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 |
tos|@|cargovisit|@|portofdischarge|metaelements|output|actual|secondrelatedlocationreferencenname: containerterminal
no example see 3227 ...|metaelements|output|actual| |
secondrelatedlocationcodelistidentificationcode: 1131 (72 / 261 / 262 / 263 / 264 / 265 / 266 / 267 / 268 / 269) |
secondrelatedlocationcodelistidentificationcodename: 1131 (containerterminal / consigneespremises / consignorspremises / packingandorunpackingfacility / storagefacility / |
rapairfacility / marineberth / martinewharf / gate / warehouse) see 3227 and if 1131 = 72 ... containerterminal see 3227 and if 1131 = 261 ..|metaelements|output|actual| |
secondrelatedlocationcodelistidentificationcodename: consigneespremises |
secondrelatedlocationcodelistidentificationcodename: consignorspremises |
secondrelatedlocationcodelistidentificationcodename: packingandorunpackingfacility |
secondrelatedlocationcodelistidentificationcodename: storagefacility |
secondrelatedlocationcodelistidentificationcodename: repairfacility |
secondrelatedlocationcodelistidentificationcodename: marineberth |
secondrelatedlocationcodelistidentificationcodename: marinewharf |
secondrelatedlocationcodelistidentificationcodename: gate |
3055
Code list responsible agency code
tos|@|cargovisit|@|portofdischarge|metaelements|output|actual|secondrelatedlocationcodename: mutually defined
secondrelatedlocationcodelistidentificationcodename: warehouse | |
15 | 9 - EAN (International Article Numbering association) |
ZZZ - Mutually defined
|
| 3055 | Code list responsible agency code |
| no example see 3227 ...|metaelements|output|actual| |
secondrelatedlocationcodelistresponsibleagencycode: 3055 (9 / 184 / SMD / ZZZ) |
secondrelatedlocationcodelistresponsibleagencycodename: 3055 (EAN / AU /SMDG / mutuallydefined) | ||||||
|
|
| 3222 | Second related location name, free text | location name | no example tos|@|cargovisit|@|portofdischarge|metaelements|output|actual|secondrelatedlocationname: |
3222 (free text) |
...
...