X12 940 Warehouse Shipping Order
This X12 Transaction Set 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.
- ~ Segment
- * Element
- > Component
- ^ Repetition
Interchange Control Header
To start and identify an interchange of zero or more functional groups and interchange-related control segments
Code identifying the type of information in the Authorization Information
- 00
- No Authorization Information Present (No Meaningful Information in 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)
Code identifying the type of information in the Security Information
- 00
- No Security Information Present (No Meaningful Information in 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)
Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified
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
Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified
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
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
- ^
- Repetition Separator
Code specifying the version number of the interchange control segments
- 00501
- Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003
A control number assigned by the interchange sender
Code indicating sender's request for an interchange acknowledgment
- 0
- No Interchange Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested (TA1)
Code indicating whether data enclosed by this interchange envelope is test, production or information
- I
- Information
- P
- Production Data
- T
- Test Data
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
- >
- Component Element Separator
Functional Group Header
To indicate the beginning of a functional group and to provide control information
Code identifying a group of application related transaction sets
- OW
- Warehouse Shipping Order (940)
Code identifying party sending transmission; codes agreed to by trading partners
Code identifying party receiving transmission; codes agreed to by trading partners
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
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)
Assigned number originated and maintained by the sender
Code identifying the issuer of the standard; this code is used in conjunction with Data Element 480
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
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
- 005010
- Standards Approved for Publication by ASC X12 Procedures Review Board through October 2003
Heading
Transaction Set Header
To indicate the start of a transaction set and to assign a control number
Code uniquely identifying a Transaction Set
- The transaction set identifier (ST01) is used by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set).
- 940
- Warehouse Shipping Order
Shipping Order Identification
To transmit identifying numbers and other basic data for this transaction set
Code identifying purpose of transaction set
- N
- Original
Identifying number for warehouse shipping order assigned by the depositor
Customer’s Delivery/Order Number
Identifying number for Purchase Order assigned by the orderer/purchaser
Customer PO Number
A two-part number in the form "SSSTTT" where "SSS" is a sequentially assigned number and "TTT" equals the highest sequential number being used within the associated (linked) group (Leading zeros are required for both "SSS" and "TTT")
999999 (if W0505 populated)
Reference number assigned by the sender to relate a transaction set to a master transaction (When associating a group of purchase orders, invoices or other transaction sets, use the master reference (link) number to identify the group and the link sequence number to identify individual transaction sets within the group)
Secondary Identification for Order, i.e. SAP Order Number
Party Identification
To identify a party by type of organization, name, and code
Code identifying an organizational entity, a physical location, property or an individual
- BT
- Bill-to-Party
- SF
- Ship From
- ST
- Ship To
- WH
- Warehouse
Code designating the system/method of code structure used for Identification Code (67)
- 54
- Warehouse
- 91
- Assigned by Seller or Seller's Agent
- 94
- Code assigned by the organization that is the ultimate destination of the transaction set
One-time Address
Code identifying a party or other code
- 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.
Additional Name Information
To specify additional names
Party Location
To specify the location of the named party
The N3 segment can occur twice where
N301 (1) = Street Address 1
N302 (1) = Street Address 2
N301 (2) = Street Address 3
Geographic Location
To specify the geographic place of the named party
Free-form text for city name
- A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
Code (Standard State/Province) as defined by appropriate government agency
- N402 is required only if city name (N401) is in the U.S. or Canada.
Code defining international postal zone code excluding punctuation and blanks (zip code for United States)
Administrative Communications Contact
To identify a person or office to whom administrative communications should be directed
Code identifying the major duty or responsibility of the person or group named
- OC
- Order Contact
Code identifying the type of communication number
- TE
- Telephone
Extended Reference Information
To transmit identifying information as specified by the Reference Identification Qualifier
Code qualifying the Reference Identification
- 5E
- Consumer Identifier
Attention Line
- 6R
- Provider Control Number
Number assigned by information provider company for tracking and billing purposes.
Form 222 Number
- 7R
- EUD/Med. Practitioner
When used for Canada.
EUD/Med. Practitioner
- 8X
- Transaction Category or Type
Order Type
- 9X
- Customer Type
When used for Canada.
Customer Type
- AFV
- State Controlled Substance License Number
CSOS Flag ("Y")
- CO
- Customer Order Number
Customer PO Number (if NOT sent in W0503)
- DP
- Department Number
Department Number
- EP
- Precursor Export Permit No.
When used for Canada.
Precursor Export Permit Number
- EU
- End User's Purchase Order Number
End User PO Number (if NOT sent in W0503)
- IA
- Internal Vendor Number
Vendor Number
- MR
- Merchandise Type Code
Merchandise Number
- PH
- Priority Rating
Priority Rating
- PN
- Controlled/Narcotics Export Permit No.
When used for Canada.
Controlled/Narcotic Export Permit Number
- RAA
- Signing Authority/Med. Practitioner
When used for Canada.
- RPP
- Relative Priority
Priority Type
- RRC
- Routing Request Control Number
Route Type 1
- RU
- Route Number
Route Number
- S5
- Routing Instruction Number
Directions for Claim Routing.
Route Type 2
- SO
- Shipper's Order (Invoice Number)
Shippers Order Number-Client (if NOT sent in W0503)
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
Date/Time
To specify pertinent dates and times
Code specifying type of date
- 04
- Purchase Order Date
PO Date
- 17
- Estimated Delivery Date
Date Expected to Arrive at Customer
- 37
- Ship Not Before Date
Can't to be Shipped out of Warehouse before this Date
- 38
- Ship Not Later Than Date
Last Date that can be Shipped out of Warehouse
- 85
- Date Issued
First Ship Date from Warehouse
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
"04" = PO Date
"17" = Date Expected to Arrive at Customer
"37" = Can't to be Shipped out of Warehouse before this Date
"38" = Last Date that can be Shipped out of Warehouse
"85" = First Ship Date from Warehouse
Note/Special Instruction
To transmit information in a free-form format, if necessary, for comment or special instruction
Code identifying the functional area or purpose for which the note applies
- BOL
- Bill of Lading Note
Bill of Lading Notes - Header (70 char max)
- CRK
- Closing Comment
Packaging Instructions - Footer (70 char max)
- PKG
- Packaging Instructions
Packaging Instructions - Header (70 char max)
- WHI
- Warehouse Instruction
Carton Content Label Instructions (30 char max)
A free-form description to clarify the related data elements and their content
"BOL" = Bill of Lading Notes - Header (70 char max)
"CRK" = Packaging Instructions - Footer (70 char max)
"PKG" = Packaging Instructions - Header (70 char max)
"WHI" = Carton Content Label Instructions (30 char max)
Warehouse Carrier Information
To specify transportation instructions relating to shipment
Code identifying payment terms for transportation charges
- CC
- Collect
- PP
- Prepaid (by Seller)
- PU
- Pickup
- TP
- Third Party Pay
Code specifying the method or type of transportation for the shipment
- H
- Customer Pickup
- M
- Motor (Common Carrier)
- T
- Best Way (Shippers Option)
Free-form description of the routing or requested routing for shipment, or the originating carrier's identity
Carrier Service Level (if applicable)
Code indicating method of payment acceptable for C.O.D. charge collection
Required (if W6609 populated)
Monetary amount
- W6609 is the monetary amount of the charges to be collected on delivery of order.
Total order Value (Used for COD)
Detail
Transaction Set Line Number
To reference a line number in a transaction set
Line Item Detail - Warehouse
To transmit basic and most frequent shipment-related line-item data elements
Numeric value of quantity
- W0101 is quantity ordered.
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- VN
- Vendor's (Seller's) Item Number
Identifying number for a product or service
Vendor Product ID
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- UP
- UCC - 12
Data structure for the 12 digit EAN.UCC (EAN International.Uniform Code Council) Global Trade Identification Number (GTIN). Also known as the Universal Product Code (U.P.C.).
Identifying number for a product or service
Item UPC code
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- ND
- National Drug Code (NDC)
Line Item Detail - Description
To describe an item in free-form format
Extended Reference Information
To transmit identifying information as specified by the Reference Identification Qualifier
Code qualifying the Reference Identification
- ACC
- Status
Lock Code
- BV
- Purchase Order Line Item Identifier (Buyer)
Purchase Order Line Item Number
- L2
- Location on Product Code
Product Status
- LI
- Line Item Identifier (Seller's)
Client Order Line Number
- LT
- Lot Number
Lot Number
- PO
- Purchase Order Number
PO Number (line level)
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
"ACC" = Lock Code
"BV" = Purchase Order Line Item Number
"L2" = Product Status
"LI" = Client Order Line Number
"LT" = Lot Number
"PO" = PO Number (line level)
Note/Special Instruction
To transmit information in a free-form format, if necessary, for comment or special instruction
Code identifying the functional area or purpose for which the note applies
- BOL
- Bill of Lading Note
Bill of Lading Notes - Detail (70 char max)
- PKG
- Packaging Instructions
Packaging Instructions - Detail (70 char max)
Line Item Detail - Packing
To specify packing details of the items shipped
The number of inner containers, or number of eaches if there are no inner containers, per outer container
Number of Eaches per Pack
Size of supplier units in pack
Number of Packs
Monetary Amount Information
To indicate the total monetary amount
Date/Time
To specify pertinent dates and times
Summary
Transaction Set Trailer
To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)
Total number of segments included in a transaction set including ST and SE segments
Functional Group Trailer
To indicate the end of a functional group and to provide control information
Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element
Interchange Control Trailer
To define the end of an interchange of zero or more functional groups and interchange-related control segments
Sample
N1*ST*TNN Pharmacy*91*0012345~
N3*1201 Any Place*Suite 100~
N4*TROY*MI*48084*US~
N1*WH**54*SD2~
PER*OC**TE*999-555-1212~
N9*8X*ZORC~
N9*IA*1234567~
N9*DP*999~
N9*5E*ATTN: Joe Smith~
G62*37*20170308~
G62*17*20170313~
NTE*PKG*SAMPLE PACKAGING NOTE DATA~
NTE*WHI*Carton Content Label Line 1~
NTE*WHI*Carton Content Label Line 2~
NTE*WHI*Carton Content Label Line 3~
W66*PP*M********UU10~
LX*1~
W01*36*EA**VN*12345~
G69*Product 1~
N9*LT*ABC123~
N9*LI*000010~
N9*BV*1~
NTE*PKG*DETAIL NOTE DATA~
AMT*K7*10.5~
W01*36*EA**VN*67890~
G69*Product 2~
N9*LT*ABC456~
N9*LI*000020~
N9*BV*2~
N9*ACC*QU~
AMT*K7*10~
Stedi is a registered trademark of Stedi, Inc. All names, logos, and brands of third parties listed on this page are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.