ORDERS: Order Details
The ORDERS message is part of the TRADACOMS Order file: purchase orders, amendments, cancellations and confirmations.
The Order file contains: ORDHDR → ORDERS → ORDTLR.
Message structure
| Segment | Name | Usage |
|---|---|---|
MHD | Message Header | One message for each order |
CLO | Customer's Location | |
ORD | Order References | |
DIN | Delivery Instructions | |
DNA | Data Narrative | Repeat if necessary at order reference level |
OLD | Order Line Details | Repeating for each line ordered |
DNB | Data Narrative | Repeat if necessary at line level |
OTR | Order Trailer | |
MTR | Message Trailer |
Segments and data elements
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
MSRF | Message Reference | M | V | 9(12) | Consecutive count of messages within the transmission |
TYPE | Type of Message composite | M | 'ORDERS' '9' for this version | ||
| Type | M | F | X(6) | ||
| Version Number | M | F | 9(1) |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
CLOC | Customer's Location composite | M | One of the following 3 customer references must be present EAN number identifying the customer's location Customer's identity for the location Supplier's reference for the customer's location | ||
| Customer's EAN Location Number | C | F | 9(13) | ||
| Customer's Own Location Number | C | V | X(17) | ||
| Supplier's Identity of Customer's Location | C | V | X(17) | ||
CNAM | Customer's Name | C | V | X(40) | Customer's registered legal name |
CADD | Customer' Address composite | C | A maximum of five lines to give the customer's address | ||
| Customer's Address Line 1 | C | V | X(35) | ||
| Customer's Address Line 2 | C | V | X(35) | ||
| Customer's Address Line 3 | C | V | X(35) | ||
| Customer's Address Line 4 | C | V | X(35) | ||
| Customer's Post Code | C | V | X(8) |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
ORNO | Order Number and Date composite | M | As allocated by the customer to identify the order As allocated by the supplier to identify the order Date order placed, which may be date of file. Format: YYMMDD Format: YYMMDD | ||
| Customer's Order Number | C | V | X(17) | ||
| Supplier's Order Number | C | V | X(17) | ||
| Date Order Placed by Customer | C | F | 9(6) | ||
| Date Order Received by Supplier | C | F | 9(6) | ||
CLAS | Order Classification | C | F | X(1) | Code Values List 6 · code list 6 |
ORCD | Order Code | C | F | X(1) | Code Values List 7 · code list 7 |
SCRF | Specification/Contract References composite | C | Specification No. to which order relates Contract No. to which order relates | ||
| Specification Number | C | V | X(17) | ||
| Contract Number | C | V | X(17) |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
EDAT | Earliest Delivery Date | C | F | 9(6) | Date of delivery or earliest date the delivery could take place. Format: YYMMDD |
LDAT | Latest Delivery Date | C | F | 9(6) | Only present if more than one delivery or when delivery must take place before this date. Format: YYMMDD |
RATM | Required Arrival Time composite | C | Required delivery arrival time. Format: HHMM Format: HHMM | ||
| Earliest Time | C | F | 9(4) | ||
| Latest Time | C | F | 9(4) | ||
DINS | Delivery Instruction Narrative composite | C | Narrative covering special instructions | ||
| Delivery Instruction Narrative Line 1 | C | V | X(40) | ||
| Delivery Instruction Narrative Line 2 | C | V | X(40) | ||
| Delivery Instruction Narrative Line 3 | C | V | X(40) | ||
| Delivery Instruction Narrative Line 4 | C | V | X(40) | ||
DINN | Delivery Instruction Number | C | V | X(17) | Reference number of pre-defined delivery instructions statement |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
SEQA | First Level Sequence Number | M | V | 9(10) | Starts at 1 & incremented by 1 for each 1st level repeat |
DNAC | Data Narrative Code composite | C | Standard data narrative previously defined and agreed by sender and receiver Number of relevant code list Code Value from code list · code list 22 | ||
| Code Table Number | C | V | 9(4) | ||
| Code Value | C | V | X(3) | ||
RTEX | Registered Text composite | C | Essential text, where not provided for by specific fields may be communicated using this element. Application codes to define the function of the text must be registered with the ANA prior to use. The same application code may be repeated up to four times, or up to four different codes may be used. · code list 24 | ||
| First Registered Application Code | C | V | X(3) | ||
| Application Text | C | V | X(40) | ||
| Second Registered Application Code | C | V | X(3) | ||
| Application Text | C | V | X(40) | ||
| Third Registered Application Code | C | V | X(3) | ||
| Application Text | C | V | X(40) | ||
| Fourth Registered Application Code | C | V | X(3) | ||
| Application Text | C | V | X(40) | ||
GNAR | General Narrative composite | C | |||
| General Narrative Line 1 | C | V | X(40) | ||
| General Narrative Line 2 | C | V | X(40) | ||
| General Narrative Line 3 | C | V | X(40) | ||
| General Narrative Line 4 | C | V | X(40) |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
SEQA | First Level Sequence Number | M | V | 9(10) | Starts at 1 and is incremented by 1 for each segment of this type in this message |
SPRO | Supplier's Product Number composite | M | Either the EAN article number or the supplier's code must be quoted EAN article number for the unit of trade Supplier's internal reference (non-EAN) identifying the unit of trade Code for the traded unit allocated under the alternative (DUN-14) EAN system | ||
| EAN-13 Article Number for the Traded Unit | C | F | 9(13) | ||
| Supplier's Code for the Traded Unit | C | V | X(30) | ||
| DUN-14 Code for the Traded Unit | C | F | 9(14) | ||
SACU | Supplier's EAN Article Number for the Designated Consumer Unit | C | F | 9(13) | EAN number allocated to the retail (POS) unit. (Insert five leading zeros before eight digit codes.) |
CPRO | Customer's Product Number composite | C | Can be used for 'own label' items allocated an in-store number in a general format. EAN Prefix - 2 dig; customer's number - 5 dig; consumer unit number - 8 dig Customer's internal reference for the item - non-EAN format | ||
| Customer's Own Brand EAN Number | C | F | 9(15) | ||
| Customer's Item Code | C | V | X(30) | ||
UNOR | Unit of Ordering composite | M | Defines the unit by which the product is ordered. At least one of the following sub-elements must be quoted. If the Ordering Measure is quoted the Measure Indicator must be quoted too Number of consumer units making up the supplier's traded unit Required when an item is ordered as a multiple of a defined measure Mnemonic defining the ordering measure, eg. pounds, metres, litres. Code Values List 4. Mandatory if Ordering Measure used | ||
| Consumer Units in Traded Unit | C | V | 9(15) | ||
| Ordering Measure | C | V | 9(10)V9(3) | ||
| Measure Indicator | C | V | X(6) | ||
OQTY | Quantity Ordered composite | M | At least one of the following sub-elements must be quoted. If the Total Measure Ordered is quoted the Measure Indicator must be quoted too Total number of traded units required eg. 100 (x 24 Cans), in units defined in the preceding UNOR element Total weight, volume, length ordered. Required when ordering variable measure items Mnemonic defining the ordering measure, eg. pounds, metres, litres. Code Values List 4. Mandatory if Total Measure Ordered used | ||
| Number of Traded Units Ordered | C | V | 9(15) | ||
| Total Measure Ordered | C | V | 9(10)V9(3) | ||
| Measure Indicator | C | V | X(6) | ||
OUCT | Ordering Unit Cost composite | C | Optional field identifying the agreed or expected cost per unit ordered. This is the net cost in pounds ie. after deducting line discounts, etc. but before the application of VAT, of a traded unit or measure as defined by the measure indicator Mnemonic defining the measure, eg. pounds, metres, litres. Mandatory for variable measure items. Code Values List 4 | ||
| Cost Price | C | V | 9(10)V9(4) | ||
| Measure Indicator | C | V | X(6) | ||
PIND | Special Price Indicator | C | V | X(4) | Code Values List 5 · code list 5 |
TFIN | To Follow Indicator | C | F | X(1) | Code Values List 8 · code list 8 |
TDES | Traded Unit Description composite | C | Full description of the item being traded. Consistent with Product Information data and any labels or packaging | ||
| Traded Unit Description Line 1 | C | V | X(40) | ||
| Traded Unit Description Line 2 | C | V | X(40) | ||
SCRF | Specification/Contract References composite | C | Specification No. to which line relates Contract No. to which line relates | ||
| Specification Number | C | V | X(17) | ||
| Contract Number | C | V | X(17) |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
SEQA | First Level Sequence Number | M | V | 9(10) | Takes the value of SEQA in the preceding segment with which this segment is nested |
SEQB | Second Level Sequence Number | M | V | 9(10) | Starts at 1 & incremented by 1 for each 2nd level repeat |
DNAC | Data Narrative Code composite | C | Structured data narrative previously defined and agreed by sender and receiver Number of relevant code list Code Value from code list · code list 22 | ||
| Code Table Number | C | V | 9(4) | ||
| Code Value | C | V | X(3) | ||
RTEX | Registered Text composite | C | Essential text, where not provided for by specific fields may be communicated using this element. Application codes to define the function of the text must be registered with the ANA prior to use. The same application code may be repeated up to four times, or up to four different codes may be used · code list 24 | ||
| First Registered Application Code | C | V | X(3) | ||
| Application Text | C | V | X(40) | ||
| Second Registered Application Code | C | V | X(3) | ||
| Application Text | C | V | X(40) | ||
| Third Registered Application Code | C | V | X(3) | ||
| Application Text | C | V | X(40) | ||
| Fourth Registered Application Code | C | V | X(3) | ||
| Application Text | C | V | X(40) | ||
GNAR | General Narrative composite | C | |||
| General Narrative Line 1 | C | V | X(40) | ||
| General Narrative Line 2 | C | V | X(40) | ||
| General Narrative Line 3 | C | V | X(40) | ||
| General Narrative Line 4 | C | V | X(40) |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
LORD | Lines Ordered | M | V | 9(10) | Number of OLD segments for this order |
| Element | Name | M/C | F/V | Format | Notes |
|---|---|---|---|---|---|
NOSG | Number of Segments in Message | M | V | 9(10) | Control count of the number of segments comprising message. The count includes the MHD and MTR segments surrounding the message |
Need to exchange TRADACOMS messages with a UK retailer?
SupplyLens connects your ERP, e-commerce or accounting system to any TRADACOMS or EDIFACT trading partner: orders in, invoices out, fully managed.
Book a demo Learn about retail EDI →