Tediware launches an official MCP server for EDI.Learn more →
Access X12 from your terminal Get the tedi CLI

866 Production Sequence

A Production Sequence (866) sets the order in which goods should arrive or be unloaded, so they reach a production line in the order they will be used. The receiver of the goods sends it to the supplier. It deals with sequence only: it does not authorize the supplier to commit labor or material, and it does not change a product’s specifications. The BSS (Beginning Segment for Shipping Schedule/Production Sequence) segment identifies the document, each DTM (Date/Time Reference) loop covers a date or time, and the LIN (Item Identification) loops inside it list the items in sequence.

For example, Falkner Trucks builds cabs in several colors on one assembly line, and Dunmore Seats supplies a matching seat for each cab. The night before production, Falkner sends Dunmore an 866. A DTM loop covers 7 a.m. the next day, and the LIN loops inside it list the seats in the order the cabs will come down the line: gray, gray, tan, black, gray. A QTY (Quantity) segment under each gives the number of seats, and an N1 segment names the assembly plant. Dunmore loads its truck so that the seats come off in that order and can go straight to the line.

Structure

Production Sequence (SQ866) contains 1 table (Heading), 3 loops, and 19 segments. Sign up free or login to view every table, loop, and element in full, as well as download it in Markdown or console (text) formats.

Heading
ST 010
Transaction Set Header
R
Max 1
BSS 020
Beginning Segment for Shipping Schedule
R
Max 1
UIT 030
Unit Detail
O
Max 1
CTT 180
Transaction Totals
R
Max 1
SE 190
Transaction Set Trailer
R
Max 1

Sign up free to see the full SQ866 reference

See every segment, loop, and element across all 1 tables. Download it in console (text) or Markdown format, or use the tedi CLI to access the full X12 reference from your terminal.