TIC 4.0
CODECO Segment Group 13: LOC
The LOC segment in this place is used to specify ports/locations associated with inland transport of a container, such as: - place of departure - place of arrival
LOC+175+ AUMEL:139:6:MELBOURNE+CONWS:72:SMD:P&O PORTS' edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|output|actual/planned|value: AUMEL 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: MELBOURNE edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|output|actual|firstrelatedlocationnamecode: CONWS edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|output|actual|firstrelatedlocationcodelistidentificationcode: 72 edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|output|actual|firstrelatedlocationcodelistresponsibleagencycode: SMD edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|output|actual|firstrelatedlocationname: P&O PORTS | ||||||
| ||||||
### | Possible Codes | EDI SMDG data Element | EDI SMDG Component Element | EDI SMDG data name | "Human Name" | TiC Data Mapping |
| 7 Place of delivery | 3227 |
| LOCATION FUNCTION CODE QUALIFIER |
| edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|output|actual/planned|locationfunctioncodequalifier : 175
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 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 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 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 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 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 |
|
| C517 |
| LOCATION IDENTIFICATION |
|
|
|
|
| 3225 | Location name code C an..25 |
| edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|output|actual/planned|value: AUMEL
UNLOCCode for the location see 3227 |
| 139 Port |
| 1131 | Code list identification code |
| edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|ouput|actual|codelistidentificationcode: 139 edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|ouput|actual|codelistidentificationcode : 1131 (139) |
| 6 UN/ECE (United Nations - Economic Commission for |
| 3055 | Code list responsible agency code |
| edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|ouput|actual|codelistresponsibleagencycode: 6 edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|ouput|actual|codelistresponsibleagencycode: 1131 (5 / 6) |
|
|
| 3224 | Location name |
| edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|ouput|actual|locationname: MELBOURNE edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|ouput|actual|locationname|: 3224 |
|
| C519 |
| RELATED LOCATION ONE IDENTIFICATION |
|
|
|
|
| 3223 | First related location name code |
| edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|output|actual|firstrelatedlocationnamecode: CONWS edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|output|actual|firstrelatedlocationnamecode: 3223 |
| 72 Container terminal 263 Packing and/or unpacking facility |
| 1131 | Code list identification code |
| edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|output|actual|firstrelatedlocationcodelistidentificationcode: 72 edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|output|actual|firstrelatedlocationcodelistidentificationcode: 1131 (72 / 261 / 262 / 263 / 264 / 265 / 266 / 267 / 268 / 269) |
| 9 EAN (International Article Numbering association) |
| 3055 | Code list responsible agency code |
| edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|output|actual|firstrelatedlocationcodelistresponsibleagencycode: SMD edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|output|actual|firstrelatedlocationcodelistresponsibleagencycode: 3055 (9/184/SMD/ZZZ) |
|
|
| 3222 | First related location name C an..70 |
| edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|output|actual|firstrelatedlocationname: P&O PORTS edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|output|actual|firstrelatedlocationname: 3222 (free text) |
|
| C553 |
| RELATED LOCATION TWO IDENTIFICATION |
|
|
|
|
| 3233 | Second related location name code C an..25 |
| edifact|@|carriervisit|@|cargovisit|@|locationidentification|metaelements|output|actual|secondrelatedlocationnamecode: 3223 |
| 5 Facility identification | |||||