204 EDI
From UG
Contents |
Intro
This wiki maps actual message to be sent.
Message
For each segment I provide example in the box.
ISA
ISA*00* *00* *14*006922827TMO204*02*CARRIERID *050829*1025*U*00401*010100170*0*P*:~
GS
GS*SM*006922827TMO204*CARRIERID*20050829*1025*10100170*X*004010~
ST
constant (assuming one transaction per file) - see below
ST*204*0001~
B2
To transmit basic data relating to shipment information
B2**LJTI**LD000027043**CC*~
- B202 Standard Carrier Alpha Code M ID 2/4
- map: see ER 204#SCAC
- B204 Shipment Identification Number M AN 1/30
- map: Load#Number
- B206 Shipment Method of Payment M ID 2/2
- constant = TP
B2A
To allow for positive identification of transaction set purpose
- B2A01 Transaction Set Purpose Code M ID 2/2
- send constant "00" means "Original - No Responses Necessary"
B2A*00*~
L11
Do not send
G62
Do not send
AT5
Do not send
LH6
Do not send
NTE
Do not send
Loop 0100
N1
To identify a party by type of organization, name, and code
N101 Entity Identifier Code M ID 2/3
N102 Name M AN 1/60
N103 Identification Code Qualifier M ID 1/2
- use 93 - Code assigned by the organization originating the transaction set
Send constant - see below:
N1*BT*Elizabeth Arden*93*EA~
N3
To specify the location of the named party
N301 Address Information M AN 1/55
Send constant - see below:
N3*1751 Blue Hills Dr.~
N4
To specify the geographic place of the named party
M N401 City Name M AN 2/30
- Free-form text for city name
M N402 State or Province Code M ID 2/2
- Code (Standard State/Province) as defined by appropriate government agency
M N403 Postal Code M ID 3/15
- Code defining international postal
Send constant - see below:
N4*ROANOKE*VA*24012*USA~
G61
do not send
Loop 0200
N7
do not send
Loop 0300
S5
To specify stop-off detail reference numbers and stop reason
M S501 Stop Sequence Number M N0 1/3
- Identifying number for the specific stop and the sequence in which the stop is to be performed
- Stops start with 0 and increment by 1.
- 0 = pick up
M S502 Stop Reason Code M ID 2/2
- Code specifying the reason for the stop
CU Complete Unload LD Load PL Part Load PU Part Unload UL Unload
Send constant - see below
S5*0*LD******~
L11
Do not send
G62
To specify pertinent dates and times
M G6201 Date Qualifier M ID 2/2
- Code specifying type of date
- Post constant "69" - Scheduled Pick-Up Date, No appointment is required
G6202 Date M DT 8/8
- Date expressed as CCYYMMDD
G6203 Time Qualifier M ID 1/2
- Code specifying the reported time
- Post constant "U" - Scheduled Pick Up Time, No appointment is required
G6204 Time M TM 4/8
- Time expressed in 24-hour clock time as follows: HHMM, where H = hours (00-23), M = minutes (00-59)
- Post constant "1200"
- ??? or should we pull from Load Plan
G6205 Time Code M ID 2/2
- Code identifying the time.
- Post constant "LT" Local Time
G62*69*20050830*U*1200*LT~
PLD
Do not send
Number of pallets Shipped
PLD*20~
NTE
Do not send
Loop 0310
N1
To identify a party by type of organization, name, and code
M N101 98 Entity Identifier Code M ID 2/3
- Code identifying an organizational entity, a physical location, property or an individual
SF Ship From If S5 02 Is LD Then SF - Ship From ST Ship To If S5 02 Is PU Then ST - Ship To
M N102 93 Name M AN 1/60
- Free-form name
- post ER 204#SF Company+ "-" + ER 204#SF City
N1*SF*CEI - Holmdel***~
N2
Do not send
N3
To specify the location of the named party
N301 Address Information M AN 1/55
- post ER 204#SF Company
N3*300 FREEDOM DR*~
N4
To specify the geographic place of the named party
M N401 City Name M AN 2/30
- Free-form text for city name
- post ER 204#SF City
M N402 State or Province Code M ID 2/2
- Code (Standard State/Province) as defined by appropriate government agency
- post ER 204#SF State
M N403 Postal Code M ID 3/15
- Code defining international postal
- post ER 204#SF Zip
N4*ROANOKE*TX*762620000*USA~
G61
To identify a person or office to whom communications should be directed
Do not send
Loop 0350
OID
To specify order identification detail
Do not send
LAD
To transmit detailed lading data pertinent to a pickup or delivery
LAD*PCS*1~
Do not send
Loop 0360
L5
To specify the line item in terms of description, quantity, packaging, and marks and numbers
L5***HUB*N~
Do not send
AT8
To specify shipment details in terms of weight, and quantity of handling units
AT8*G*L*119.5*1**E*21.4286~
Do not send
Loop 0365
G61
do not send
L11
do not send
L3
To specify the total shipment in terms of weight, volume, rates, charges, advances, and prepaid amounts applicable to one or more line items
L3*119.5*G***4500****21.4286*E*1*L**00*PL~
SE
SE*48*10100170~
GE
GE*1*10100170~
IEA
IEA*1*010100170~