D02A
Message D02A/OSTENQ
Order status enquiry message
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).
Message description
UNH
M(1) : Message headerA 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 02A 0051 UN
BGM
M(1) : Beginning of messageA 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.
DTM
M(5) : Date/time/periodA 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.
IRQ
C(1) : Information requiredTo indicate which information is requested in the responding Order status report message.
FTX
C(20) : Free textA 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.
SG1 M(25) : NAD-SG2
A group of segments identifying the parties with associated information.
NAD
M(1) : Name and addressA 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.
SG2 C(5) : CTA-COM
A group of segments giving contact details of the specific person or department within the party identified in the NAD segment.
CTA
M(1) : Contact informationA segment to identify a person or department, and their function, to whom communications should be directed.
COM
C(5) : Communication contactA segment to identify a communications type and number for the contact specified in the CTA segment.
SG3 C(999) : DOC-DTM-SG4
A group of segments providing details of the individual requested order(s).
DOC
M(1) : Document/message detailsA segment giving references to the purchase order(s) enquired. Other references may also be given, e.g. sellers reference number.
DTM
C(5) : Date/time/periodA segment specifying the date/time related to the reference.
SG4 C(200000) : LIN-PIA-IMD-MEA-STS-SG5-SG6
A group of segments providing details of the individual requested order(s) lines.
LIN
M(1) : Line itemA segment used to identify a line item.
PIA
C(25) : Additional product idA 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.
IMD
C(10) : Item descriptionA 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.
MEA
C(5) : MeasurementsA 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.
STS
C(9) : StatusThis segment is used to specify the reason why an order status enquiry is being made for to the current product.
SG5 C(99) : RFF-DTM
SG6 C(99) : LOC-DTM-QTY
A group of segments used to request the status of only certain delivery of an order line.
LOC
M(1) : Place/location identificationA segment indicating the location to which goods are to be delivered. This segment will only be used for multi destination deliveries.
DTM
C(5) : Date/time/periodA segment specifying the date/time related to the product quantities.
QTY
C(1) : QuantityA segment identifying the product quantities.
UNT
M(1) : Message trailerA 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.
Message structure
UNH, Message header M 1 BGM, Beginning of message M 1 DTM, Date/time/period M 5 IRQ, Information required C 1 FTX, Free text C 20 --- Segment Group 1 ------------------------- M 25 -------+ NAD, Name and address M 1 | | --- Segment Group 2 ------------------------- C 5 ------+| CTA, Contact information M 1 || COM, Communication contact C 5 || ---- ----------------------------------------------------------++ --- Segment Group 3 ------------------------- C 999 -------+ DOC, Document/message details M 1 | DTM, Date/time/period C 5 | | --- Segment Group 4 ------------------------- C 200000 ------+| LIN, Line item M 1 || PIA, Additional product id C 25 || IMD, Item description C 10 || MEA, Measurements C 5 || STS, Status C 9 || || --- Segment Group 5 ------------------------- C 99 -----+|| RFF, Reference M 1 ||| DTM, Date/time/period C 1 ||| ---- ---------------------------------------------------------+|| || --- Segment Group 6 ------------------------- C 99 -----+|| LOC, Place/location identification M 1 ||| DTM, Date/time/period C 5 ||| QTY, Quantity C 1 ||| ---- ---------------------------------------------------------+++ UNT, Message trailer M 1