OSTENQ Order status enquiry

TBG1 Supply Chain

A message between a buyer or buyer's agent and a seller or seller's agent for information on the current status of a previously sent order(s).


Max use
  1. A service segment starting and uniquely identifying a message. The message type code for the Order status enquiry message is OSTENQ. Note: Order status enquiry messages conforming to this document must contain the following data in segment UNH, composite S009: Data element 0065 OSTENQ 0052 D 0054 21A 0051 UN

  2. A segment by which the sender must uniquely identify the order status enquiry by means of its type and number and when necessary it's function.

  3. A segment specifying general dates and, when relevant, times related to the whole message. The segment must be specified at least once to identify the request date. The Date/Time/Period segment within other Segment group should be used whenever the date/time/period requires to be logically related to another specified data item e.g. Reference issue date is specified within the RFF Segment group.

  4. To indicate which information is requested in the responding Order status report message.

  5. A segment with free text information, in coded or clear form, used when additional information is needed but cannot be accommodated within other segments. In computer exchanges such text will normally require the receiver to process this segment manually.

  6. Segment group 1
    Repeat 9
    1. A segment identifying the previous messages related to this message.

    2. A segment specifying the date/time related to the reference.

  7. Segment group 2
    Repeat 25
    1. A segment identifying names and addresses of the parties, in coded or clear form, and their functions relevant to the proposed order. Identification of the sender (normally the buyer) is mandatory for the enquiry. It is recommended that where possible only the coded form of the party ID should be specified.

    2. Segment group 3
      Repeat 5
      1. A segment to identify a person or department, and their function, to whom communications should be directed.

      2. A segment to identify a communications type and number for the contact specified in the CTA segment.


Max use
  1. Segment group 4
    Repeat 999
    1. A segment giving references to the purchase order(s) enquired. Other references may also be given, e.g. sellers reference number.

    2. A segment specifying the date/time related to the reference.

    3. Segment group 5
      Repeat 200000
      1. A segment used to identify a line item.

      2. A segment providing additional identification on the product specified in the LIN segment. E.g. To give seller's item number, EAN number, technical specification number.

      3. A segment for describing the product as well as product characteristic. This segment should be used for products and services that cannot be fully identified by a product code or article number.

      4. A segment enabling the physical measurements of the ordered item to be specified where this is required for full identification of the product. Any measurements must refer to the product in its unpacked form e.g. thickness of plastic film, length, weight, etc.

      5. This segment is used to specify the reason why an order status enquiry is being made for to the current product.

      6. Segment group 6
        Repeat 99
        1. A segment giving references to sellers reference number, contract numbers, etc.

        2. A segment specifying the date/time related to the reference.

      7. Segment group 7
        Repeat 99
        1. A segment indicating the location to which goods are to be delivered. This segment will only be used for multi destination deliveries.

        2. A segment specifying the date/time related to the product quantities.

        3. A segment identifying the product quantities.

  2. A service segment ending a message, giving the total number of segments in the message (including the UNH & UNT) and the control reference number of the message.

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.