EDI 866 Production Sequence

Functional Group SQ

X12M Supply Chain Subcommittee

This standard provides the format and establishes the data contents of the Production Sequence Transaction Set within the context of an Electronic Data Interchange (EDI) environment. This transaction set provides for the receiver of goods to request the order in which shipments of goods arrive, or to specify the order in which the goods are to be unloaded from the conveyance method, or both. This specifies the sequence in which the goods are to enter the materials handling process, or are to be consumed in the production process, or both. This transaction set shall not be used to authorize labor, materials, or other resources. This transaction set shall not be used to revise any product characteristic specification.


Max use
  1. To indicate the start of a transaction set and to assign a control number

  2. To transmit identifying numbers, dates and other basic data relating to the transaction set.

  3. To specify item unit data

  4. N1 Loop Optional
    Repeat >1
    1. To identify a party by type of organization, name and code

    2. To specify additional names or those longer than 35 characters in length

    3. To specify the location of the named party

    4. To specify the geographic place of the named party

    5. To specify identifying numbers.

    6. To identify a person or office to whom administrative communications should be directed

    7. To specify transportation instructions relating to shipment

  5. DTM Loop Mandatory
    Repeat 100
    1. To specify pertinent dates and times

    2. To specify item unit data

    3. To specify quantity information.

    4. To specify identifying numbers.

    5. LIN Loop Optional
      Repeat >1
      1. To specify basic item identification data.

      2. To specify identifying numbers.

      3. To specify quantity information.

  6. To transmit a hash total for a specific element in the transaction set

    The number of line items (CTT01) is the accumulation of the number of DTM segments. If used, hash total (CTT02) is the sum of the value of quantity (QTY02) for each QTY segment.
  7. To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments).

Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference is provided for marketing purposes and is free of charge. All names, logos, and brands of third parties listed on our site 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. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.