CPKC (formerly Kansas City Southern) X12 322 Terminal Operations and Intermodal Ramp Activity

Kansas City Southern

3 schema elements found

This Draft Standard schema for Trial Use contains the format and data contents of the schema for use within the context of an Electronic Data Interchange (EDI) environment.

ISA

ISA

Interchange Control Header

MMax: 1

To start and identify an interchange of zero or more functional groups and interchange-related control segments

ISA01
Authorization Information Qualifier
MIDMIN 2 MAX 2ID: I01

Code identifying the type of information in the Authorization Information

ISA02
Authorization Information
MANMIN 10 MAX 10ID: I02

Information used for additional identification or authorization of the interchange sender or the data in the interchange; the type of information is set by the Authorization Information Qualifier (I01)

ISA03
Security Information Qualifier
MIDMIN 2 MAX 2ID: I03

Code identifying the type of information in the Security Information

ISA04
Security Information
MANMIN 10 MAX 10ID: I04

This is used for identifying the security information about the interchange sender or the data in the interchange; the type of information is set by the Security Information Qualifier (I03)

ISA05
Interchange ID Qualifier
MIDMIN 2 MAX 2ID: I05

Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified

ISA06
Interchange Sender ID
MANMIN 15 MAX 15ID: I06

Identification code published by the sender for other parties to use as the receiver ID to route data to them; the sender always codes this value in the sender ID element

ISA07
Interchange ID Qualifier
MIDMIN 2 MAX 2ID: I05

Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified

ISA08
Interchange Receiver ID
MANMIN 15 MAX 15ID: I07

Identification code published by the receiver of the data; When sending, it is used by the sender as their sending ID, thus other parties sending to them will use this as a receiving ID to route data to them

ISA09
Interchange Date
MDTMIN 6 MAX 6ID: I08

Date of the interchange

ISA10
Interchange Time
MTMMIN 4 MAX 4ID: I09

Time of the interchange

ISA11
Repetition Separator
MMIN 1 MAX 1ID: I65

Type is not applicable; the repetition separator is a delimiter and not a data element; this field provides the delimiter used to separate repeated occurrences of a simple data element or a composite data structure; this value must be different than the data element separator, component element separator, and the segment terminator

ISA12
Interchange Control Version Number Code
MIDMIN 5 MAX 5ID: I11

Code specifying the version number of the interchange control segments

ISA13
Interchange Control Number
MN0MIN 9 MAX 9ID: I12

A control number assigned by the interchange sender

ISA14
Acknowledgment Requested Code
MIDMIN 1 MAX 1ID: I13

Code indicating sender's request for an interchange acknowledgment

ISA15
Interchange Usage Indicator Code
MIDMIN 1 MAX 1ID: I14

Code indicating whether data enclosed by this interchange envelope is test, production or information

ISA16
Component Element Separator
MMIN 1 MAX 1ID: I15

Type is not applicable; the component element separator is a delimiter and not a data element; this field provides the delimiter used to separate component data elements within a composite data structure; this value must be different than the data element separator and the segment terminator

GS

GS

Functional Group Header

MMax: 1

To indicate the beginning of a functional group and to provide control information

GS01
Functional Identifier Code
MIDMIN 2 MAX 2ID: 479

Code identifying a group of application related transaction sets

GS02
Application Sender's Code
MANMIN 2 MAX 15ID: 142

Code identifying party sending transmission; codes agreed to by trading partners

GS03
Application Receiver's Code
MANMIN 2 MAX 15ID: 124

Code identifying party receiving transmission; codes agreed to by trading partners

GS04
Date
MDTMIN 8 MAX 8ID: 373

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year

GS05
Time
MTMMIN 4 MAX 8ID: 337

Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)

GS06
Group Control Number
MN0MIN 1 MAX 9ID: 28

Assigned number originated and maintained by the sender

GS07
Responsible Agency Code
MIDMIN 1 MAX 2ID: 455

Code identifying the issuer of the standard; this code is used in conjunction with Data Element 480

GS08
Version / Release / Industry Identifier Code
MANMIN 1 MAX 12ID: 480

Code indicating the version, release, subrelease, and industry identifier of the EDI standard being used, including the GS and GE segments; if code in DE455 in GS segment is X, then in DE 480 positions 1-3 are the version number; positions 4-6 are the release and subrelease, level of the version; and positions 7-12 are the industry or trade association identifiers (optionally assigned by user); if code in DE455 in GS segment is T, then other formats are allowed

transactionSets

Loop: transactionSets

ST

Transaction Set Header

MMax: 1Area: 1Seq: 0100

To indicate the start of a transaction set and to assign a control number

ST01
Transaction Set Identifier Code
MIDMIN 3 MAX 3ID: 143

Code identifying a Transaction Set

322Terminal Operations and Intermodal Ramp Activity
ST02
Transaction Set Control Number
MANMIN 4 MAX 9ID: 329

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

Q5

Status Details

MMax: 1Area: 1Seq: 0160

To specify the status of the shipment in terms of dates, time, reference numbers, and location

Q501
Shipment Status Code
OIDMIN 1 MAX 2ID: 157

Code indicating the status of a shipment

AArrived
ALLoaded on Rail Conveyance Car
ARArrived at Destination Intermodal Ramp
BRail Conveying Car Bad Ordered
CBChassis Tie Down
CCChassis Un-Tie
CTCustom Release
DDelivered
GRepaired and/or Released from Bad Order
IIn-Gate
IBHold for Customs Inspection
JDelivered to Connecting Line
KHold for Customs
MEDe-Ramp at In-Bond Facility
MIIngate at In-Bond Facility
MOOutgate from In-Bond Facility
MRRamp at In-Bond Facility
NFFree Time to Expire
NTNotification
OAOutgate
PDeparture
PACustoms Intensive Hold
PBHold for Despacho Previo
RReceived from Prior Carrier
RLRail Departure from Origin Intermodal Ramp
URUnloaded from a Rail Conveyance Car
WRelease Rail Conveyance Car from Ramp
ZActual Placement of Rail Conveyance Car at Ramp
Q502
Date
ODTMIN 8 MAX 8ID: 373

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year

Q503
Time
CTMMIN 4 MAX 8ID: 337

Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)

Q504
Time Code
CIDMIN 2 MAX 2ID: 623

Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or - and an indication in hours in relation to Universal Time Coordinate (UTC) time; since + is a restricted character, + and - are substituted by P and M in the codes that follow

CTCentral Time
ETEastern Time
LTLocal Time
MTMountain Time
PTPacific Time

Loop: N7_loop

Repeat: 1000
N7

Equipment Details

MMax: 1Area: 1Seq: 0200

To identify the equipment

N701
Equipment Initial
OANMIN 1 MAX 4ID: 206

Prefix or alphabetic part of an equipment unit's identifying number

N702
Equipment Number
MANMIN 1 MAX 15ID: 207

Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred)

N703
Weight
CRMIN 1 MAX 10ID: 81

Numeric value of weight

N704
Weight Qualifier
CIDMIN 1 MAX 2ID: 187

Code specifying the type of weight

EEstimated Net Weight
GGross Weight
NActual Net Weight
N711
Equipment Description Code
OIDMIN 2 MAX 2ID: 40

Code identifying type of equipment used for shipment

CCContainer resting on a Chassis
CHChassis
CJContainer, Insulated/Ventilated
CNContainer
CZRefrigerated Container
TLTrailer
TWTrailer, Refrigerated
N712
Standard Carrier Alpha Code
OIDMIN 2 MAX 4ID: 140

Code identifying the Standard Carrier Alpha Code

N715
Equipment Length
ON0MIN 4 MAX 5ID: 567

Length (in feet and inches) of equipment ordered or used to transport shipment (The format is FFFII where FFF is feet and II is inches; the range for II is 00 through 11)

N717
Weight Unit Code
OIDMIN 1 MAX 1ID: 188

Code specifying the weight unit

KKilograms
LPounds
N718
Equipment Number Check Digit
ON0MIN 1 MAX 1ID: 761

Number which designates the check digit applied to a piece of equipment

N720
Height
ORMIN 1 MAX 8ID: 65

Vertical dimension of an object measured when the object is in the upright position

N721
Width
ORMIN 1 MAX 8ID: 189

Shorter measurement of the two horizontal dimensions measured with the object in the upright position

N722
Equipment Type Code
OIDMIN 4 MAX 4ID: 24

Code identifying equipment type

N723
Standard Carrier Alpha Code
OIDMIN 2 MAX 4ID: 140

Code identifying the Standard Carrier Alpha Code

M7

Seal Numbers

OMax: 5Area: 1Seq: 0500

To record seal numbers used and the organization that applied the seals

M701
Seal Number
MANMIN 2 MAX 15ID: 225

Unique number on seal used to close a shipment

M702
Seal Number
OANMIN 2 MAX 15ID: 225

Unique number on seal used to close a shipment

M703
Seal Number
OANMIN 2 MAX 15ID: 225

Unique number on seal used to close a shipment

M704
Seal Number
OANMIN 2 MAX 15ID: 225

Unique number on seal used to close a shipment

W2

Equipment Identification

OMax: 1Area: 1Seq: 0700

To identify equipment and the commodity being carried

W201
Equipment Initial
MANMIN 1 MAX 4ID: 206

Prefix or alphabetic part of an equipment unit's identifying number

W202
Equipment Number
MANMIN 1 MAX 15ID: 207

Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred)

W204
Equipment Description Code
MIDMIN 2 MAX 2ID: 40

Code identifying type of equipment used for shipment

CCContainer on Chassis
CHChassis
CJContainer, Insulated/Ventilated
CNContainer
CZRefrigerated Container
TLTrailer (not otherwise specified)
TWTrailer, Refrigerated
W205
Equipment Status Code
MIDMIN 1 MAX 2ID: 578

Code indicating status of equipment

AKOut of Service
EEmpty
LLoad
W207
Intermodal Service Code
OIDMIN 1 MAX 2ID: 177

Code identifying the Intermodal Service Plan

W211
Equipment Initial
CANMIN 1 MAX 4ID: 206

Prefix or alphabetic part of an equipment unit's identifying number

W212
Equipment Number
CANMIN 1 MAX 15ID: 207

Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred)

NA

Cross-Reference Equipment

OMax: 30Area: 1Seq: 0800

To cross-reference additional equipment to a primary piece of equipment

NA03
Equipment Initial
MANMIN 1 MAX 4ID: 206

Prefix or alphabetic part of an equipment unit's identifying number

NA04
Equipment Number
MANMIN 1 MAX 15ID: 207

Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred)

NA05
Cross Reference Type Code
OIDMIN 1 MAX 1ID: 231

Code specifying relationship of equipment to equipment cross-referenced

BBasket Attached to Chassis
FConveying Flat Car
HGenerator Set
KClip-on Front-Mounted Generator Unit for Container
SSaddle to Conveying Flatcar
NA06
Position
OANMIN 1 MAX 3ID: 219

Relative position of shipment in car, trailer, or container (mutually defined)

NA11
Yes/No Condition or Response Code
OIDMIN 1 MAX 1ID: 1073

Code indicating a Yes or No condition or response

NA12
Equipment Number Check Digit
ON0MIN 1 MAX 1ID: 761

Number which designates the check digit applied to a piece of equipment

V1

Vessel Identification

OMax: 1Area: 1Seq: 1100

To provide vessel details and voyage number

V101
Vessel Code
CIDMIN 1 MAX 8ID: 597

Code identifying vessel

V102
Vessel Name
CANMIN 2 MAX 50ID: 182

Name of ship as documented in "Lloyd's Register of Ships"

V104
Flight/Voyage Number
OANMIN 2 MAX 30ID: 55

Identifying designator for the particular flight or voyage on which the cargo travels

V108
Vessel Code Qualifier
OIDMIN 1 MAX 1ID: 897

Code specifying vessel code source

CShip’s Radio Call Signal
LLloyd’s Register of Shipping

Loop: R4_loop

Repeat: 20
R4

Port or Terminal

MMax: 1Area: 1Seq: 1200

Contractual or operational port or point relevant to the movement of the cargo

R401
Port or Terminal Function Code
MIDMIN 1 MAX 1ID: 115

Code specifying function performed at the port or terminal with respect to a shipment

5Activity Location - Qualifies the location of the Q5 event. One and only one occurrence of this code is mandatory.
6Origin Rail Terminal - Rail Waybill Origin
7Destination Rail Terminal - Rail Waybill Destination
R402
Location Qualifier
CIDMIN 1 MAX 2ID: 309

Code identifying type of location

SLU.S. SPLC - US or Mexico Rail Station
R403
Location Identifier
CANMIN 1 MAX 30ID: 310

Code which identifies a specific location

R404
Port Name
OANMIN 2 MAX 24ID: 114

Free-form name for the place at which an offshore carrier originates or terminates (by transshipment or otherwise) its actual ocean carriage of property

H3

Special Handling Instructions

OMax: 6Area: 1Seq: 1400

To specify special handling instructions in coded or free-form format

H301
Special Handling Code
CIDMIN 2 MAX 3ID: 152

Code specifying special transportation handling instructions

DMDomestic
HMEndorsed as Hazardous Material
IPImport Shipment
XPExport

Loop: N1_loop

Repeat: 10
N1

Party Identification

OMax: 1Area: 1Seq: 1500

To identify a party by type of organization, name, and code

N101
Entity Identifier Code
MIDMIN 2 MAX 3ID: 98

Code identifying an organizational entity, a physical location, property or an individual

MCMotor Carrier
SHShipper
N102
Name
CANMIN 1 MAX 60ID: 93

Free-form name

N4

Geographic Location

OMax: 1Area: 1Seq: 1560

To specify the geographic place of the named party

N401
City Name
OANMIN 2 MAX 30ID: 19

Free-form text for city name

N402
State or Province Code
CIDMIN 2 MAX 2ID: 156

Code specifying the Standard State/Province as defined by appropriate government agency

N403
Postal Code
CIDMIN 3 MAX 15ID: 116

Code specifying international postal zone code excluding punctuation and blanks (zip code for United States)

N404
Country Code
CIDMIN 2 MAX 3ID: 26

Code identifying the country

USUnited States
CACanada
MXMexico
N9

Extended Reference Information

OMax: 30Area: 1Seq: 1700

To transmit identifying information as specified by the Reference Identification Qualifier

N901
Reference Identification Qualifier
MIDMIN 2 MAX 3ID: 128

Code identifying the Reference Identification

BMBill of Lading Number
BNBooking Number
CTContract Number
FENMexican Entry Number (Pedimento)
OBOcean Bill of Lading
RERelease/Pick up Number
SIShipper Identifying Number
TNTrain Identifier
WYRail Waybill Number
XCCargo Control Number
N902
Reference Identification
CANMIN 1 MAX 80ID: 127

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

N904
Date
ODTMIN 8 MAX 8ID: 373

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year

N905
Time
CTMMIN 4 MAX 8ID: 337

Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)

N906
Time Code
OIDMIN 2 MAX 2ID: 623

Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or - and an indication in hours in relation to Universal Time Coordinate (UTC) time; since + is a restricted character, + and - are substituted by P and M in the codes that follow

CTCentral Time
ETEastern Time
LTLocal Time
MTMountain Time
PTPacific Time
SE

Transaction Set Trailer

MMax: 1Area: 1Seq: 3100

To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)

SE01
Number of Included Segments
MN0MIN 1 MAX 10ID: 96

Total number of segments included in a transaction set including ST and SE segments

SE02
Transaction Set Control Number
MANMIN 4 MAX 9ID: 329

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set