
Computer Generated Solutions 940 940 Warehouse Shipping Order
Computer Generated Solutions · X12 004010
The Computer Generated Solutions 940 is the warehouse shipping order a brand sends to tell its warehouse or 3PL what to ship.
Computer Generated Solutions’ published 940 specification, rendered as an interactive guide. Expand any segment to see its elements, data types, lengths and accepted codes — then validate your own document against it below.
Specification
28 of 28 segments
HEADING
ST
Transaction Set Header ST
pos 010
Optional
max —
W05
Shipping Order Identification W05
pos 020
Required
max —
0100 Loop0100 Loop Bill-to-Party, Ship From, and Mark-for-Partyvariant 1 of 2
N1
Name N1
At least 1 N1 segment/loop will be sent per transaction set to denote the ship to location (N101 = ‘ST’).
For B2C orders: A 2nd N1 segment (N101 = ‘BT’) can also be sent to denote the bill-to party for printing purposes.
For B2b/retail orders: If the shipment is a cross dock (i.e. ship to one location but mark for a different location) then an additional N1 segment (N101 = ‘Z7’) will be sent to denote the mark for location. An additional N1 segment (N101 = ‘SF’) can be transmitted for display purposes on printed material and for possible differentiation between divisions.
pos 040
Required
max —
N2
Additional Name Information N2
This segment will be used to transmit the additional location codes and (if applicable) names to be used for printed material (labels, forms, packing slips, etc) for the location identified in the parent N1 segment.
pos 050
Optional
max 2
N3
Address Information N3
Address information will be sent primarily for printing purposes but can also be used to update your customer’s location reference tables as needed in relation to the codes transmitted in the corresponding N104 element.
Up-to 4 address lines (2 sets of N301 and N302) can be sent per 940.
pos 060
Optional
max 2
N4
Geographic Location N4
City, State, Zip & Country will be sent primarily for printing purposes but can also be used to update your customer’s location reference tables as needed in relation to the codes transmitted in the corresponding N104 element.
pos 070
Optional
max —
PER
Administrative Communications Contact PER
When possible CGS will transmit the information about the primary contact of each location specified in the corresponding N1 segment. PER03/04 will always be populated if the PER segment is sent. In situations where both phone and email are available PER05/06 will also be sent.
pos 080
Optional
max 5
0100 Loop0100 Loop Ship Tovariant 2 of 2required
N1
Name N1
At least 1 N1 segment/loop will be sent per transaction set to denote the ship to location (N101 = ‘ST’).
For B2C orders: A 2nd N1 segment (N101 = ‘BT’) can also be sent to denote the bill-to party for printing purposes.
For B2b/retail orders: If the shipment is a cross dock (i.e. ship to one location but mark for a different location) then an additional N1 segment (N101 = ‘Z7’) will be sent to denote the mark for location. An additional N1 segment (N101 = ‘SF’) can be transmitted for display purposes on printed material and for possible differentiation between divisions.
pos 040
Required
max —
N2
Additional Name Information N2
This segment will be used to transmit the additional location codes and (if applicable) names to be used for printed material (labels, forms, packing slips, etc) for the location identified in the parent N1 segment.
pos 050
Optional
max 2
N3
Address Information N3
Address information will be sent primarily for printing purposes but can also be used to update your customer’s location reference tables as needed in relation to the codes transmitted in the corresponding N104 element.
Up-to 4 address lines (2 sets of N301 and N302) can be sent per 940.
pos 060
Required
max 2
N4
Geographic Location N4
City, State, Zip & Country will be sent primarily for printing purposes but can also be used to update your customer’s location reference tables as needed in relation to the codes transmitted in the corresponding N104 element.
pos 070
Required
max —
PER
Administrative Communications Contact PER
When possible CGS will transmit the information about the primary contact of each location specified in the corresponding N1 segment. PER03/04 will always be populated if the PER segment is sent. In situations where both phone and email are available PER05/06 will also be sent.
pos 080
Optional
max 5
N9
Reference Identification N9
Reference numbers will be transmitted based on previous agreements between seller and shipping facility. Items transmitted must be utilized either in print or as part of picking/shipping process. BC Customer Number will always be sent.
pos 090
Required
max 10
G62
Date Time G62
Up to 4 G62 segments can be sent to denote original PO date, requested ship date, cancel after date and/or must arrive by date. At least one G62 segment will always be sent.
NOTE: Time can also be sent if available (currently only when G6201 = ‘04’). If time is sent then G6203, G6204 and G6205 will all be sent.
pos 110
Required
max 10
NTE
Note Special Instruction NTE
This segment will be used to transmit various notes/messages/codes from the seller to the 3PL (based on the qualifier in NTE01). Information transmitted must be followed and may need to be printed.
**GIFT MESSAGES: For gift messages, the NTE01 will be ‘GFT’. **
**EDI DATA WARHOUSE:
For instances where extended EDI Data Warehouse functionality is required, NTE01 will be ‘EDI’…multiple NTE segments can be sent with NTE01 = ‘EDI’
When NTE01=’EDI’ the NTE02 value will be formatted as follows:
{segment}.{element}.{qualifier}.{value} (examples: PO1.07.CB.840081X4,
REF.02.DP.0138, DTM.02.011.20130114, TD5.05..UPSN_NG}
**
pos 120
Optional
max —
W66
Warehouse Carrier Information W66
This segment will be used to transmit the requested ship method and/or the specific shipper to be used when shipping items from this transaction. W6601 & W6602 will always be transmitted. W6603 will not be transmitted if W6602 = ‘T’.
The shipment payment method will be transmitted to alert qualified shipping facilities to which party will pay for freight charges.
pos 140
Required
max —
R2
Route Information R2
This segment will be used to transmit additional routing (sequence) information. If the order is to be shipped in stages then one R2 will be transmitted for each additional router beyond the first (identified in the W66 segment).
R202 will start at a value of ‘1’ for the 1st additional router and increment by 1 for each additional router.
**FOR FUTURE USE**
pos 153
Optional
max 13
DETAIL
0300 Looprequired
LX
Assigned Number LX
There will be 1 LX loop (used to report the ‘bulk’ breakdown of the entire shipping order) or multiple LX loops (used to report the required content of each container/carton of the order to be shipped). What is actually received will be based on agreements between the shipping facility and seller.
The value of LX01 will start at 1 for each transaction set and then increment by 1 for each container (if any).
pos 005
Required
max —
0310 Looprequired
W01
Line Item Detail Warehouse W01
The seller’s style number and UPC will always be transmitted. If the W01 segment refers to either a prepack or a component of a prepack then the W0115/W0116 elements will be used to indicate whether the current W01 line is the prepack or a component of that prepack.
pos 020
Required
max —
G69
Line Item Detail Description G69
Used to transmit the item description, color code and size code. If this segment is used then there will always be 3 segments transmitted.
The 1st G69 segment will contain the product description.
The 2nd G69 segment will contain the size description.
The 3rd G69 segment will contain the color code.
The 4th G69 segment will contain the color name.
pos 030
Optional
max 5
N9
Reference Identification N9variant 1 of 2
This segment will be used to transmit additional item information.
*NOTE: If label code is transmitted in the 940 it MUST be sent back in the 945.
pos 040
Optional
max 200
N9
Reference Identification Special Charge or Allowance Codevariant 2 of 2
This segment will be used to transmit charges information related to the item represented in the parent W01 element.
*NOTE: LIMITED USE: This occurrence of the N9 segment is for restricted/limited use. Do NOT use unless otherwise instructed to do so by the originator of this transaction!
pos 040
Optional
max —
NTE
Note Special Instruction NTE
This segment will be used to transmit various notes/messages from the seller to the 3PL (based on the qualifier in NTE01). Information transmitted must be followed and may need to be printed.
**EDI DATA WARHOUSE:
For instances where extended EDI Data Warehouse functionality is required, NTE01 will be ‘EDI’…multiple NTE segments can be sent with NTE01 = ‘EDI’.
When NTE01=’EDI’ the NTE02 value will be formatted as follows:
{segment}.{element}.{qualifier}.{value} (examples: PO1.07.CB.840081X4,
REF.02.DP.0138, DTM.02.011.20130114, TD5.05..UPSN_NG}
**
pos 045
Optional
max —
W20
Line Item Detail Miscellaneous W20
This segment will be sent specify packing details of the items shipped.
pos 050
Optional
max 3
QTY
Quantity QTY
This segment will be sent to denote the number of gift boxes to apply to the current W01 detail line item. The actual gift box style/type code will be transmitted in the parent W01 segment (in element W0116).
pos 070
Optional
max 10
AMT
Monetary Amount AMT
The qualifier used in element AMT01 is not part of the X12 version 4010
standards. If this will cause a problem for your system please contact the seller immediately.
pos 080
Optional
max —
SUMMARY
W76
Total Shipping Order W76
Total stock keeping units to be shipped. If the order contains prepacks then each prepack (case) will be considered to be one stock keeping unit.
pos 010
Required
max —
SE
Transaction Set Trailer SE
pos 020
Optional
max —
Validate your 940
Paste or upload a document and check it against Computer Generated Solutions’ published rules — segment order and repetition, required elements, field lengths, data types and accepted codes. Nothing is stored.
Go live on Computer Generated Solutions’ 940 in days, not months
Connect this guide to your accounting system and test with Computer Generated Solutions yourself, or leave the mapping and the test cycle to us, at no extra charge.