X12 866 — Production Sequence
The 866 dictates the order in which goods must arrive, be unloaded, or be fed into production. It is the hinge of JIS (Just-In-Sequence) and variant-rich automotive assembly.
Purpose
The 866 translates the final assembly sequence into a sequenced delivery instruction for a tier-1 supplier. In a variant-rich automotive plant (color, options, engine), each vehicle on the line consumes a specific variant of a component — seat, console, door panel — when the vehicle reaches the install station. The 866 sends the day or shift sequence to the tier 1, station by station, so the supplier prepares the rack in the right order, window by window.
The 866 does not replace the 830 or the 862: the 830 carries the weekly production plan and the 862 the daily shipping window. The 866 adds on when JIS precision is required — typically a few hours before assembly.
Envelope structure
The 866 travels in a functional group SS (Shipping Schedule). Didactic
example in release 004010 for two door variants:
ISA*00* *00* *ZZ*ACMEAUTO *ZZ*ACMETIER1 *260514*0700*U*00401*000000866*0*P*>~
GS*SS*ACMEAUTO*ACMETIER1*20260514*0700*1*X*004010~
ST*866*0001~
BSS*00*PS-2026-0099*20260514*A*20260516~
N1*BY*ACME AUTO ASSY 7*92*0007~
N1*VN*ACME TIER1 INC*92*T1-9087~
LIN*1*PN*PN-RED-DOOR-L~
SDQ*EA*92*WS-100*4*WS-200*4*WS-300*8~
LIN*2*PN*PN-RED-DOOR-R~
SDQ*EA*92*WS-100*4*WS-200*4*WS-300*8~
SE*9*0001~
GE*1*1~
IEA*1*000000866~
The BSS (Beginning Segment for Shipping Schedule / Production Sequence) opens:
function code (00 = Original, 04 = Change), identifier, date, status, horizon. The
N1 segments identify the destination plant and the supplier. The
LIN loop identifies the item by part number; SDQ (Destination
Quantity) repeats station / quantity pairs — the JIS instruction itself.
Common segments
- Header —
ST,BSS(Beginning Segment for Shipping Schedule),REF(contract or release no.),DTM(arrival date). - Parties —
N1loop (BY, VN, ST = Ship-To, ZZ = proprietary code). - Items and sequence —
LINloop withPID, repeatedSDQfor station/quantity,SCH(Schedule),SLN(Sub-line). - Summary —
CTT,SE.
Common pitfalls
- Proprietary station numbers:
SDQrepeats station / quantity; each OEM defines its own station code book, shared outside EDI. - Cumulative vs delta: some 866s carry a cumulative sequence from shift start, others a delta; check with the OEM.
- JIS timing: the lag between 866 emission and install is typically < 4h; a transmission or ERP-batch delay loses the sequence.
Related transactions
- 830 — Planning Schedule with Release Capability
- 862 — Shipping Schedule
- 856 — Ship Notice/Manifest (ASN)
- X12 — Hub
Documentation
The code 866 and the name Production Sequence are public and listed on x12.org/products/transaction-sets. AIAG code books and per-OEM sequence conventions are distributed by the association or directly by the OEM.