EANCOM® 2002 S4 Part II
OSTENQ Order status enquiry
6. Examples

Example 1

The following is an example of a Order Status Enquiry message sent from a buyer identified by GLN 5412345123453 to a supplier identified by GLN 5411111123451. The order status enquiry was generated on the 2nd of January 2002 and has the identity number OE8552.

The message requests status information for five orders which are currently outstanding. The order references and associated provided are as follows; CD2544 on the 15th of June 2001, CH4155 on the 24th of September 2001, CJ5223 on the 29th of September 2001, CO5473 on the 14th of October 2001, and CX8777 on the 12th of December 2001.

UNH+1+OSTENQ:D:01B:UN:EAN004’ Message header
BGM+347+OE8552+9’ Order status enquiry number OE8552
DTM+137:20020102:102' Message date is the 2nd of January 2002
NAD+BY+5412345123453::9' Buyer is identified by GLN 5412345123453
NAD+SU+5411111123451::9' Supplier is identified by GLN 5411111123451
DOC+220+CD2544' First order number is CD2544
DTM+137:20010615:102' Order date 15th of June 2001
DOC+220+CH4155' Second order number is CH4155
DTM+137:20010924:102' Order date 24th of September 2001
DOC+220+CJ5223' Third order number is CJ5223
DTM+137:20010929:102' Order date 29th of September 2001
DOC+220+CO5473' Fourth order number is CO5473
DTM+137:20011014:102' Order date 14th of October 2001
DOC+220+CX8777' Fifth order number is CX8777
DTM+137:20011212:102' Order date 12th of December 2001
UNT+16+1' Total number of segments in the message equals 16

Example 2

The following is an example of a Order Status Enquiry message sent from a buyer identified by GLN 5412345123453 to a supplier identified by GLN 5411111123451. The order status enquiry was generated on the 11th of November 2002 and has the identity number OE6122.

The message requests status information for two products which are contained on three separate orders. The first product identified by GTIN 4000862141404 is contained on order numbers CD3585 line 43, CD3544 line 62, and CD3601 line 23, all sent during the period of the 15th to the 30th of June 2002.

The second product, identified by GTIN 5412345111184, is associated with line number 48 of order number CD3585 and line number 102 of order number CD3601.

UNH+1+OSTENQ:D:01B:UN:EAN004' Message header
BGM+347+OE6122+9’ Order status enquiry number OE6122
DTM+137:20021111:102' Message date 11th of November 2002
NAD+BY+5412345123453::9' Buyer is identified by GLN 5412345123453
NAD+SU+5411111123451::9' Supplier is identified by GLN 5411111123451
DOC+220+CD3585' First order number to which enquiry relates is CD3585
DTM+137:20020625:102' Order date 25th of June 2002
LIN+1++4000862141404:SRV' Product on the order is identified by GTIN 4000862141404
RFF+ON:CD3585:43' Enquiry relates to line number 43 on order CD3585
LOC+7+5412345111115::9’ Location is identified by GLN 5412345111115
QTY+21:500' Ordered quantity is 500 units
LIN+2++5412345111184:SRV' Product on the order is identified by GTIN 5412345111184
RFF+ON:CD3585:48' Enquiry relates to line number 48 on order CD3585
LOC+7+5412345111115::9’ Location is identified by GLN 5412345111115
QTY+21:800' Ordered quantity is 800 units
DOC+220+CD3544' Second order number to which enquiry relates is CD3544
DTM+137:20020615:102' Order date 15th of June 2002
LIN+3++4000862141404:SRV' Product on the order is identified by GTIN 4000862141404
RFF+ON:CD3544:62' Enquiry relates to line number 62 on order CD3544
LOC+7+5412345111115::9’ Location is identified by GLN 5412345111115
QTY+21:250' Ordered quantity is 250
DOC+220+CD3601' Third order number to which enquiry relates is CD3601
DTM+137:20020630:102' Order date 30th of June 2002
LIN+4++4000862141404:SRV' Product on the order is identified by GTIN 4000862141404
RFF+ON:CD3601:23' Enquiry relates to line number 23 on order CD3601
LOC+7+5412345111115::9’ Location is identified by GLN 5412345111115
QTY+21:32' Ordered quantity is 32
LIN+5++5412345111184:SRV' Product on the order is identified by GTIN 5412345111184
RFF+ON:CD3601:102' Enquiry relates to line number 102 on order CD3601
LOC+7+5412345111115::9’ Location is identified by GLN 5412345111115
QTY+21:800' Ordered quantity is 800
UNT+32+1' Total number of segments in the message equals 32

Note:
The EDI interchange will include the UNB..UNZ segments and, if applicable, the UNG..UNE segments. (See part 1 section 5.7).

© Copyright GS1 Edition 2016 Upd. 2021