Académique Documents
Professionnel Documents
Culture Documents
Author:
V4010
940
This Draft Standard for Trial Use contains the format and establishes the data contents of the Warehouse Shipping
Order Transaction Set (940) for use within the context of an Electronic Data Interchange (EDI) environment. This
transaction set can be used to enable the depositor to advise a warehouse to make a shipment, confirm a shipment,
or modify or cancel a previously transmitted shipping order.
Not Defined:
Pos
Id
ISA
GS
Segment Name
Interchange Control Header
Functional Group Header
Req
M
M
Max Use
1
1
Repeat
Notes
Usage
Mandatory
Mandatory
Segment Name
Transaction Set Header
Shipping Order Identification
Req
M
M
Max Use
1
1
Repeat
Notes
Usage
Mandatory
Mandatory
O
O
O
O
O
O
O
O
1
2
1
10
3
10
>1
1
Req
Max Use
Heading:
Pos
Id
010
ST
020
W05
LOOP ID - 0100
040
N1
060
N3
070
N4
090
N9
100
G61
110
G62
120
NTE
140
W66
10
Name
Address Information
Geographic Location
Reference Identification
Contact
Date/Time
Note/Special Instruction
Warehouse Carrier Information
Used
Used
Used
Used
Used
Used
Used
Used
Detail:
Pos
Id
LOOP ID - 0300
005
LX
LOOP ID - 0310
020
W01
030
G69
040
N9
050
W20
Segment Name
Assigned Number
Repeat
>1
Notes
Usage
Used
>1
Line Item Detail - Warehouse
Line Item Detail - Description
Reference Identification
Line-Item Detail - Miscellaneous
O
O
O
O
1
5
200
3
Used
Used
Used
Used
Segment Name
Total Shipping Order
Transaction Set Trailer
Req
O
M
Max Use
1
1
Repeat
Notes
Usage
Used
Mandatory
Segment Name
Functional Group Trailer
Interchange Control Trailer
Req
M
M
Max Use
1
1
Repeat
Notes
Usage
Mandatory
Mandatory
Summary:
Pos
010
020
Id
W76
SE
Not Defined:
Pos
V4010
Id
GE
IEA
ISA
Pos:
Max: 1
Not Defined - Mandatory
Elements:
Loop: N/A
16
Element Summary:
Ref
ISA01
Id
I01
Ref
ISA02
Id
I02
ISA03
I03
Ref
ISA04
Id
I04
ISA05
I05
Ref
ISA06
Id
I06
ISA07
I05
V4010
Element Name
Req
Type
Min/Max
Usage
Authorization Information Qualifier
M
ID
2/2
Mandatory
Description: Code to identify the type of
information in the Authorization Information
Code
Name
00
No Authorization Information Present (No Meaningful Information in I02)
Element Name
Req
Type
Min/Max
Usage
Authorization Information
M
AN
10/10
Mandatory
Description: 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)
Security Information Qualifier
M
ID
2/2
Mandatory
Description: Code to identify the type of
information in the Security Information
Code
Name
00
No Security Information Present (No Meaningful Information in I04)
Element Name
Req
Type
Min/Max
Usage
Security Information
M
AN
10/10
Mandatory
Description: 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)
Interchange ID Qualifier
M
ID
2/2
Mandatory
Description: Qualifier to designate the
system/method of code structure used to designate
the sender or receiver ID element being qualified
Code
Name
01
Duns (Dun & Bradstreet)
08
UCC EDI Communications ID (Comm ID)
Element Name
Req
Type
Min/Max
Usage
Interchange Sender ID
M
AN
15/15
Mandatory
Description: 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
Interchange ID Qualifier
M
ID
2/2
Mandatory
Description: Qualifier to designate the
system/method of code structure used to designate
the sender or receiver ID element being qualified
Name
Code
01
Duns (Dun & Bradstreet)
Ref
ISA08
Id
I07
ISA09
I08
ISA10
I09
ISA11
I10
ISA12
I11
Ref
ISA13
Id
I12
ISA14
I13
Ref
ISA15
Id
I14
Ref
ISA16
Id
I15
V4010
Element Name
Req
Type
Min/Max
Usage
Interchange Receiver ID
M
AN
15/15
Mandatory
Description: 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
Interchange Date
M
DT
6/6
Mandatory
Description: Date of the interchange
Interchange Time
M
TM
4/4
Mandatory
Description: Time of the interchange
Interchange Control Standards Identifier
M
ID
1/1
Mandatory
Description: Code to identify the agency
responsible for the control standard used by the
message that is enclosed by the interchange
header and trailer
All valid standard codes are used.
Interchange Control Version Number
M
ID
5/5
Mandatory
Description: Code specifying the version number
of the interchange control segments
Code
Name
00401
Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures
Review Board through October 1997
Element Name
Req
Type
Min/Max
Usage
Interchange Control Number
M
N0
9/9
Mandatory
Description: A control number assigned by the
interchange sender
Acknowledgment Requested
M
ID
1/1
Mandatory
Description: Code sent by the sender to request
an interchange acknowledgment (TA1)
Code
Name
0
No Acknowledgment Requested
Element Name
Req
Type
Min/Max
Usage
Usage Indicator
M
ID
1/1
Mandatory
Description: Code to indicate whether data
enclosed by this interchange envelope is test,
production or information
Code
Name
P
Production Data
T
Test Data
Element Name
Component Element Separator
Description: 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
Req
M
Type
Min/Max
1/1
Usage
Mandatory
GS
Pos:
Max: 1
Not Defined - Mandatory
Loop: N/A
Elements: 8
Semantics:
1.
2.
3.
Comments:
1.
A functional group of related transaction sets, within the scope of X12 standards, consists of a collection of
similar transaction sets enclosed by a functional group header and a functional group trailer.
Element Summary:
Ref
GS01
Id
479
Ref
GS02
Id
142
GS03
124
GS04
373
GS05
337
GS06
28
GS07
455
Ref
GS08
Id
480
V4010
Element Name
Req
Type
Functional Identifier Code
M
ID
Description: Code identifying a group of
application related transaction sets
Code
Name
OW
Warehouse Shipping Order (940)
Element Name
Req
Type
Application Sender's Code
M
AN
Description: Code identifying party sending
transmission; codes agreed to by trading partners
Application Receiver's Code
M
AN
Description: Code identifying party receiving
transmission; codes agreed to by trading partners
Date
M
DT
Description: Date expressed as CCYYMMDD
Time
M
TM
Description: 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)
Group Control Number
M
N0
Description: Assigned number originated and
maintained by the sender
Responsible Agency Code
M
ID
Description: Code identifying the issuer of the
standard; this code is used in conjunction with Data
Element 480
Name
Code
T
Transportation Data Coordinating Committee (TDCC)
Element Name
Req
Type
Version / Release / Industry Identifier Code
M
AN
Description: Code indicating the version, release,
Min/Max
2/2
Usage
Mandatory
Min/Max
2/15
Usage
Mandatory
2/15
Mandatory
8/8
Mandatory
4/8
Mandatory
1/9
Mandatory
1/2
Mandatory
Min/Max
1/12
Usage
Mandatory
V4010
Pos: 010
Max: 1
Heading - Mandatory
Loop: N/A
Elements: 2
ST
Semantics:
1.
The transaction set identifier (ST01) used by the translation routines of the interchange partners to select the
appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set).
Element Summary:
Ref
ST01
Id
143
Element Name
Transaction Set Identifier Code
Description: Code uniquely identifying a
Transaction Set
Code
Name
940
Warehouse Shipping Order
Req
M
Type
ID
Min/Max
3/3
Usage
Mandatory
Ref
ST02
Id
329
Element Name
Transaction Set Control Number
Description: Identifying control number that must
be unique within the transaction set functional
group assigned by the originator for a transaction
set
Req
M
Type
AN
Min/Max
4/9
Usage
Mandatory
V4010
Pos: 020
Max: 1
Heading - Mandatory
Loop: N/A
Elements: 3
Identification
Syntax:
1.
Element Summary:
Ref
W0501
Id
473
Element Name
Order Status Code
Description: Code identifying purpose of
transaction set
Code
Name
C
Confirmation
F
Cancel
N
Original
R
Change
Req
M
Type
ID
Min/Max
1/1
Usage
Mandatory
Ref
W0502
Id
285
Req
M
Type
AN
Min/Max
1/22
Usage
Mandatory
W0503
324
Element Name
Depositor Order Number
Description: Identifying number for warehouse
shipping order assigned by the depositor
Purchase Order Number
Description: Identifying number for Purchase
Order assigned by the orderer/purchaser
AN
1/22
Used
V4010
Pos: 040
Repeat: 10
Optional
Elements:
Loop: 0100
N/A
Loop 0100
To identify a party by type of organization, name, and code
Loop Summary:
Pos
040
060
070
V4010
Id
N1
N3
N4
Segment Name
Name
Address Information
Geographic Location
Req
O
O
O
Max Use
1
2
1
Repeat
Usage
Used
Used
Used
Pos: 040
Max: 1
Heading - Optional
Loop: 0100 Elements: 5
Name
N1
Syntax:
1.
2.
Comments:
1.
2.
This segment, used alone, provides the most efficient method of providing organizational identification. To
obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction
processing party.
N105 and N106 further define the type of entity in N101.
Element Summary:
Ref
N101
Id
98
Ref
N102
Id
93
N103
66
Ref
N104
Id
67
N106
98
V4010
Element Name
Req
Type
Min/Max
Entity Identifier Code
M
ID
2/3
Description: Code identifying an organizational
entity, a physical location, property or an individual
Code
Name
DE
Depositor
Element Name
Req
Type
Min/Max
Name
X
AN
1/60
Description: Free-form name
Warehouse Name
Identification Code Qualifier
X
ID
1/2
Description: Code designating the system/method
of code structure used for Identification Code (67)
Code
Name
6
Plant Code
9
D-U-N-S+4, D-U-N-S Number with Four Character Suffix
Element Name
Req
Type
Min/Max
Identification Code
X
AN
2/80
Description: Code identifying a party or other code
If you are unable to return the business unit in
the DUNS, always send 0062358350000.
Entity Identifier Code
O
ID
2/3
Description: Code identifying an organizational
entity, a physical location, property or an individual
Code
Name
CN
Consignee
WH
Warehouse
10
Usage
Mandatory
Usage
Condition
Condition
Usage
Condition
Used
Pos: 060
Max: 2
Heading - Optional
Loop: 0100 Elements: 2
Address Information
N3
Element Summary:
Ref
N301
Id
166
N302
166
V4010
Element Name
Address Information
Description: Address information
Address Information
Description: Address information
11
Req
M
Type
AN
Min/Max
1/55
Usage
Mandatory
AN
1/55
Used
Pos: 070
Max: 1
Heading - Optional
Loop: 0100 Elements: 3
Geographic Location
N4
Syntax:
1.
Comments:
1.
2.
A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
N402 is required only if city name (N401) is in the U.S. or Canada.
Element Summary:
Ref
N401
Id
19
N402
156
N403
116
V4010
Element Name
City Name
Description: Free-form text for city name
State or Province Code
Description: Code (Standard State/Province) as
defined by appropriate government agency
Postal Code
Description: Code defining international postal
zone code excluding punctuation and blanks (zip
code for United States)
12
Req
O
Type
AN
Min/Max
2/30
Usage
Condition
ID
2/2
Used
ID
3/15
Used
Pos: 090
Max: 10
Heading - Optional
Loop: N/A
Elements: 2
Reference Identification
N9
Syntax:
1.
2.
Semantics:
1.
2.
Element Summary:
Ref
N901
Id
128
Element Name
Reference Identification Qualifier
Description: Code qualifying the Reference
Identification
Code
Name
BM
Bill of Lading Number
LO
Load Planning Number
QN
Stop Sequence Number
SU
Special Processing Code
Req
M
Type
ID
Min/Max
2/3
Usage
Mandatory
Ref
N902
Id
127
Element Name
Reference Identification
Description: Reference information as defined for
a particular Transaction Set or as specified by the
Reference Identification Qualifier
Req
X
Type
AN
Min/Max
1/30
Usage
Condition
V4010
13
Contact
Pos: 100
Max: 3
Heading - Optional
Loop: N/A
Elements: 4
G61
Syntax:
1.
Comments:
1.
Element Summary:
Ref
G6101
Id
366
Ref
G6102
Id
93
G6103
365
Ref
G6104
Id
364
V4010
Element Name
Contact Function Code
Description: Code identifying the major duty or
responsibility of the person or group named
Code
Name
DC
Delivery Contact
Element Name
Name
Description: Free-form name
Communication Number Qualifier
Description: Code identifying the type of
communication number
Code
Name
TE
Telephone
Req
M
Type
ID
Min/Max
2/2
Usage
Mandatory
Req
M
Type
AN
Min/Max
1/60
Usage
Mandatory
ID
2/2
Mandatory
Element Name
Communication Number
Description: Complete communications number
including country or area code when applicable
Telephone Number
Req
X
Type
AN
Min/Max
1/80
Usage
Mandatory
14
Pos: 110
Max: 10
Heading - Optional
Loop: N/A
Elements: 1
Date/Time
G62
Syntax:
1.
2.
3.
Element Summary:
Ref
G6201
V4010
Id
432
Element Name
Date Qualifier
Description: Code specifying type of date
Code
Name
02
Delivery Requested on This Date
10
Requested Ship Date/Pick-up Date
15
Req
X
Type
ID
Min/Max
2/2
Usage
Mandatory
Pos: 120
Max: >1
Heading - Optional
Loop: N/A
Elements: 2
Comments:
1.
The NTE segment permits free-form information/data which, under ANSI X12 standard implementations, is not
machine processable. The use of the NTE segment should therefore be avoided, if at all possible, in an
automated environment.
Element Summary:
Ref
NTE01
Id
363
Element Name
Note Reference Code
Description: Code identifying the functional area
or purpose for which the note applies
Code
Name
ALL
All Documents
DEL
Delivery
WHI
Warehouse Instruction
Req
O
Type
ID
Min/Max
3/3
Usage
Used
Ref
NTE02
Id
352
Element Name
Description
Description: A free-form description to clarify the
related data elements and their content
Req
M
Type
AN
Min/Max
1/80
Usage
Mandatory
V4010
16
Pos: 140
Max: 1
Heading - Optional
Loop: N/A
Elements: 4
Information
Syntax:
1.
Semantics:
1.
Element Summary:
Ref
W6601
Id
146
Ref
W6602
Id
91
Ref
W6605
Id
387
W6610
140
V4010
Element Name
Shipment Method of Payment
Description: Code identifying payment terms for
transportation charges
Code
Name
CC
Collect
PP
Prepaid (by Seller)
Element Name
Transportation Method/Type Code
Description: Code specifying the method or type
of transportation for the shipment
Code
Name
A
Air
H
Customer Pickup
M
Motor (Common Carrier)
Q
Conventional Ocean
R
Rail
U
Private Parcel Service
Req
M
Type
ID
Min/Max
2/2
Usage
Mandatory
Req
M
Type
ID
Min/Max
1/2
Usage
Mandatory
Element Name
Routing
Description: Free-form description of the routing
or requested routing for shipment, or the originating
carrier's identity
Standard Carrier Alpha Code
Description: Standard Carrier Alpha Code
Req
O
Type
AN
Min/Max
1/35
Usage
Used
ID
2/4
Optional
17
Pos: 005
Repeat: >1
Optional
Elements:
Loop: 0300
N/A
Loop 0300
To reference a line number in a transaction set
Loop Summary:
Pos
005
020
V4010
Id
LX
Segment Name
Assigned Number
Loop 0310
Req
O
O
18
Max Use
1
Repeat
>1
Usage
Used
Used
Pos: 005
Max: 1
Detail - Optional
Loop: 0300 Elements: 1
Assigned Number
LX
Element Summary:
Ref
LX01
V4010
Id
554
Element Name
Assigned Number
Description: Number assigned for differentiation
within a transaction set
19
Req
M
Type
N0
Min/Max
1/6
Usage
Mandatory
Pos: 020
Repeat: >1
Optional
Elements:
Loop: 0310
N/A
Loop 0310
To transmit basic and most frequent shipment-related line-item data elements
Loop Summary:
Pos
020
030
040
050
V4010
Id
W01
G69
N9
W20
Segment Name
Line Item Detail - Warehouse
Line Item Detail - Description
Reference Identification
Line-Item Detail - Miscellaneous
Req
O
O
O
O
20
Max Use
1
5
200
3
Repeat
Usage
Used
Used
Used
Used
Pos: 020
Max: 1
Detail - Optional
Elements:
Loop: 0310
10
Syntax:
1.
2.
3.
4.
5.
Element Summary:
Ref
W0101
Id
330
W0102
355
Ref
W0103
Id
438
W0104
235
Ref
W0105
Id
234
W0106
235
V4010
Element Name
Req
Quantity Ordered
M
Description: Quantity ordered
Unit or Basis for Measurement Code
M
Description: Code specifying the units in which a
value is being expressed, or manner in which a
measurement has been taken
Name
Code
BG
Bag
BL
Block
CA
Case
EA
Each
GA
Gallon
TE
Tote
Element Name
Req
U.P.C. Case Code
X
Description: Code (Universal Product Code U.P.C.) including two high order digits identifying
the "system" (U.S. Grocery = 00, 06 or 07; U.S.
Drug = 03); using the U.S. Grocery system, the
next ten digits are: Manufacturer (5) Case Code (5)
Product/Service ID Qualifier
X
Description: Code identifying the type/source of
the descriptive number used in Product/Service ID
(234)
Name
Code
LT
Lot Number
SW
Stock Number
UC
U.P.C. Suffix (Defines Packing Variations)
Element Name
Req
Product/Service ID
X
Description: Identifying number for a product or
service
Product/Service ID Qualifier
X
Description: Code identifying the type/source of
the descriptive number used in Product/Service ID
(234)
21
Type
R
Min/Max
1/15
Usage
Mandatory
ID
2/2
Mandatory
Type
AN
Min/Max
12/12
Usage
Condition
ID
2/2
Used
Type
AN
Min/Max
1/48
Usage
Condition
ID
2/2
Used
Ref
W0107
Id
234
W0114
286
Ref
W0115
Id
235
Ref
W0116
Id
234
V4010
Code
Name
LT
Lot Number
Element Name
Product/Service ID
Description: Identifying number for a product or
service
Product/Service Condition Code
Description: Code identifying condition of
product/service
Code
Name
01
Good
09
Hold or Reserve Stock
Element Name
Product/Service ID Qualifier
Description: Code identifying the type/source of
the descriptive number used in Product/Service ID
(234)
Name
Code
ZZ
Mutually Defined
Element Name
Product/Service ID
Description: Identifying number for a product or
service
22
Req
X
Type
AN
Min/Max
1/48
Usage
Condition
ID
2/2
Mandatory
Req
X
Type
ID
Min/Max
2/2
Usage
Mandatory
Req
X
Type
AN
Min/Max
1/48
Usage
Mandatory
G69
Pos: 030
Max: 5
Detail - Optional
Loop: 0310 Elements: 1
Element Summary:
Ref
G6901
V4010
Id
369
Element Name
Free-form Description
Description: Free-form descriptive text
23
Req
M
Type
AN
Min/Max
1/45
Usage
Mandatory
Pos: 040
Max: 200
Detail - Optional
Loop: 0310 Elements: 3
Reference Identification
N9
Syntax:
1.
2.
Semantics:
1.
2.
Element Summary:
Ref
N901
Id
128
Element Name
Reference Identification Qualifier
Description: Code qualifying the Reference
Identification
Code
Name
LI
Line Item Identifier (Seller's)
ZZ
Mutually Defined
Req
M
Type
ID
Min/Max
2/3
Usage
Mandatory
Ref
N902
Id
127
Req
X
Type
AN
Min/Max
1/30
Usage
Condition
N903
369
Element Name
Reference Identification
Description: Reference information as defined for
a particular Transaction Set or as specified by the
Reference Identification Qualifier
Free-form Description
Description: Free-form descriptive text
AN
1/45
Condition
V4010
24
Pos: 050
Max: 3
Detail - Optional
Loop: 0310 Elements: 3
Miscellaneous
Syntax:
1.
2.
3.
Element Summary:
Ref
W2004
Id
81
W2005
187
Ref
W2006
Id
188
V4010
Element Name
Weight
Description: Numeric value of weight
Weight Qualifier
Description: Code defining the type of weight
Code
Name
G
Gross Weight
Element Name
Weight Unit Code
Description: Code specifying the weight unit
Code
Name
L
Pounds
25
Req
X
Type
R
Min/Max
1/10
Usage
Condition
ID
1/2
Condition
Req
X
Type
ID
Min/Max
1/1
Usage
Condition
Pos: 010
Max: 1
Summary - Optional
Loop: N/A
Elements: 5
To specify summary details of total items shipped in terms of quantity, weight, and volume
Syntax:
1.
2.
3.
Comments:
1.
Quantity ordered (W7601) is a hash total and the unit of measure is not required.
Element Summary:
Ref
W7601
Id
330
W7602
81
W7603
355
Ref
W7604
Id
183
W7605
355
V4010
Element Name
Quantity Ordered
Description: Quantity ordered
Weight
Description: Numeric value of weight
Unit or Basis for Measurement Code
Description: Code specifying the units in which a
value is being expressed, or manner in which a
measurement has been taken
Code
Name
LB
Pound
Element Name
Volume
Description: Value of volumetric measure
Unit or Basis for Measurement Code
Description: Code specifying the units in which a
value is being expressed, or manner in which a
measurement has been taken
Code
Name
CF
Cubic Feet
26
Req
M
Type
R
Min/Max
1/15
Usage
Mandatory
1/10
Condition
ID
2/2
Condition
Req
X
Type
R
Min/Max
1/8
Usage
Condition
ID
2/2
Condition
Pos: 020
Max: 1
Summary - Mandatory
Loop: N/A
Elements: 2
SE
Comments:
1.
Element Summary:
Ref
SE01
Id
96
SE02
329
V4010
Element Name
Number of Included Segments
Description: Total number of segments included in
a transaction set including ST and SE segments
Transaction Set Control Number
Description: Identifying control number that must
be unique within the transaction set functional
group assigned by the originator for a transaction
set
27
Req
M
Type
N0
Min/Max
1/10
Usage
Mandatory
AN
4/9
Mandatory
Pos:
Max: 1
Not Defined - Mandatory
Loop: N/A
Elements: 2
GE
Semantics:
1.
The data interchange control number GE02 in this trailer must be identical to the same data element in the
associated functional group header, GS06.
Comments:
1.
The use of identical data interchange control numbers in the associated functional group header and trailer is
designed to maximize functional group integrity. The control number is the same as that used in the
corresponding header.
Element Summary:
Ref
GE01
Id
97
GE02
28
V4010
Element Name
Number of Transaction Sets Included
Description: Total number of transaction sets
included in the functional group or interchange
(transmission) group terminated by the trailer
containing this data element
Group Control Number
Description: Assigned number originated and
maintained by the sender
28
Req
M
Type
N0
Min/Max
1/6
Usage
Mandatory
N0
1/9
Mandatory
Pos:
Max: 1
Not Defined - Mandatory
Loop: N/A
Elements: 2
IEA
Element Summary:
Ref
IEA01
Id
I16
IEA02
I12
V4010
Element Name
Number of Included Functional Groups
Description: A count of the number of functional
groups included in an interchange
Interchange Control Number
Description: A control number assigned by the
interchange sender
29
Req
M
Type
N0
Min/Max
1/5
Usage
Mandatory
N0
9/9
Mandatory