ORDERS Purchase order message EDIFACT/D97A/ORDERS : ORDERS Purchase order message Company: Insight Enterprises Created: 10/10/2012
Table of Contents ORDERS Purchase order message..................................................................................... <PH>... 1 UNH MESSAGE HEADER........................................................................................ <PH>... 2 BGM BEGINNING OF MESSAGE............................................................................... <PH>... 4 DTM DATE/TIME/PERIOD........................................................................................ <PH>... 5 FTX FREE TEXT.................................................................................................. <PH>... 6 RFF REFERENCE................................................................................................ <PH>... 8 NAD NAME AND ADDRESS..................................................................................... <PH>... 9 CTA CONTACT INFORMATION................................................................................ <PH>.. 11 COM COMMUNICATION CONTACT............................................................................ <PH>.. 13 CUX CURRENCIES............................................................................................... <PH>.. 14 TOD TERMS OF DELIVERY OR TRANSPORT............................................................... <PH>.. 15 SCC SCHEDULING CONDITIONS.............................................................................. <PH>.. 16 LIN LINE ITEM.................................................................................................... <PH>.. 17 PIA ADDITIONAL PRODUCT ID............................................................................... <PH>.. 18 IMD ITEM DESCRIPTION........................................................................................ <PH>.. 20 QTY QUANTITY................................................................................................... <PH>.. 21 DTM DATE/TIME/PERIOD........................................................................................ <PH>.. 22 PRI PRICE DETAILS............................................................................................. <PH>.. 23 UNS SECTION CONTROL....................................................................................... <PH>.. 24 UNT MESSAGE TRAILER..................................................................................... <PH>.... 25 i
ORDERS Purchase order message Message Status= 3 Definition: A message specifying details for goods or services ordered under conditions agreed between the seller and the buyer. Heading: Pos Tag Segment Name Status Rep Notes Usage 0010 UNH MESSAGE HEADER M 1 N1/0010 Must use 0020 BGM BEGINNING OF MESSAGE M 1 N1/0020 Must use 0030 DTM DATE/TIME/PERIOD M 35 N1/0030 Must use 0070 FTX FREE TEXT C 99 N1/0070 Used 0090 Segment Group 1 C 9999 N1/0090 Must use 0100 RFF REFERENCE M 1 N1/0100 Must use 0120 Segment Group 2 C 99 N1/0120 Must use 0130 NAD NAME AND ADDRESS M 1 N1/0130 Must use 0220 Segment Group 5 C 5 N1/0220 Must use 0230 CTA CONTACT INFORMATION M 1 N1/0230 Must use 0240 COM COMMUNICATION CONTACT C 1 N1/0240 Must use 0290 Segment Group 7 C 5 N1/0290 Must use 0300 CUX CURRENCIES M 1 N1/0300 Must use 0460 Segment Group 12 C 5 N1/0460 Must use 0470 TOD TERMS OF DELIVERY OR TRANSPORT M 1 N1/0470 Must use 0620 Segment Group 16 C 10 N1/0620 Must use 0630 SCC SCHEDULING CONDITIONS M 1 N1/0630 Must use Detail: Pos Tag Segment Name Status Rep Notes Usage 1030 Segment Group 28 C 200000 N2/1030 Must use 1040 LIN LINE ITEM M 1 N2/1040 Must use 1050 PIA ADDITIONAL PRODUCT ID C 25 N2/1050 Must use 1060 IMD ITEM DESCRIPTION C 99 N2/1060 Must use 1080 QTY QUANTITY C 99 N2/1080 Must use 1110 DTM DATE/TIME/PERIOD C 35 N2/1110 Must use 1310 Segment Group 32 C 25 N2/1310 Must use 1320 PRI PRICE DETAILS M 1 N2/1320 Must use Summary: Pos Tag Segment Name Status Rep Notes Usage 2320 UNS SECTION CONTROL M 1 N3/2320 Must use 2390 UNT MESSAGE TRAILER M 1 N3/2390 Must use 1
UNH MESSAGE HEADER Pos: 0010 Max: 1 Mandatory Group: N/A Elements: 2 Function: To head, identify and specify a message. UNH010 0062 Message reference number Description: Unique message reference assigned by the sender. M an 1/14 Must use UNH020 S009 MESSAGE IDENTIFIER M Comp Must use Description: Identification of the type, version, etc. of the message being interchanged. UNH020-010 0065 Message type M an 1/6 Must use Description: Code identifying a type of message and assigned by its controlling agency. CodeList Summary (Total Codes: 180, Included: 1) Code Name ORDERS Purchase order message Description: A code to identify the purchase order message. UNH020-020 0052 Message version number Description: Version number of a message type. CodeList Summary (Total Codes: 8, Included: 1) D Draft version/un/edifact Directory Description: Message approved and issued as a draft message (Valid for directories published after March 1993 and prior to March 1997). Message approved as a standard message (Valid for directories published after March 1997). UNH020-030 0054 Message release number Description: Release number within the current message version number. CodeList Summary (Total Codes: 20, Included: 1) 97A Release 1997 - A Description: Message approved and issued in the first 1997 release of the UNTDID (United Nations Trade Data Interchange Directory). UNH020-040 0051 Controlling agency, coded Description: Code identifying a 2
controlling agency. CodeList Summary (Total Codes: 25, Included: 1) UN UN/CEFACT Description: United Nations Economic UN Economic Commission for Europe (UN/ECE), Committee on the development of trade (TRADE), Working Party on facilitation of international trade procedures (WP.4). 1. Data element S009/0057 is retained for upward compatibility. The use of S016 and/or S017 is encouraged in preference. 2. The combination of the values carried in data elements 0062 and S009 shall be used to identify uniquely the message within its group (if used) or if not used, within its interchange, for the purpose of acknowledgement. UNH+17+ORDERS:D:97A:UN 3
BGM BEGINNING OF MESSAGE Pos: 0020 Max: 1 Mandatory Group: N/A Elements: 3 Function: To indicate the type and function of a message and to transmit the identifying number. BGM010 C002 DOCUMENT/MESSAGE NAME Description: Identification of a type of document/message by code or name. Code preferred. C Comp Must use BGM010-010 1001 Document name code Description: Code specifying the document name. C an 1/3 Must use CodeList Summary (Total Codes: 549, Included: 1) 105 Purchase order Description: Document/message issued within an enterprise to initiate the purchase of articles, materials or services required for the production or manufacture of goods to be offered for sale or otherwise supplied to customers. BGM020 C106 DOCUMENT/MESSAGE IDENTIFICATION C Comp Must use BGM020-010 1004 Description: Identification of a document/message by its number and eventually its version or revision. Document/message number Description: Reference number assigned to the document/message by the issuer. C an 1/35 Must use BGM030 1225 Message function code C an 1/3 Must use Description: Code indicating the function of the message. CodeList Summary (Total Codes: 60, Included: 2) 7 Duplicate Description: The message is a duplicate of a previously generated message. 9 Original Description: Initial transmission related to a given transaction. BGM+105+2125323+9 4
DTM DATE/TIME/PERIOD Pos: 0030 Max: 35 Mandatory Group: N/A Elements: 1 Function: To specify date, and/or time, or period. DTM010 C507 DATE/TIME/PERIOD Description: Date and/or time, or period relevant to the specified date/time/period type. M Comp Must use DTM010-010 2005 Date/time/period function code qualifier Description: Code giving specific meaning to a date, time or period. CodeList Summary (Total Codes: 697, Included: 1) 4 Order date/time Description: [2010] Date when an order is issued. DTM010-020 2380 Date/time/period value C an 1/35 Must use Description: The value of a date, a date and time, a time or of a period in a specified representation. DTM010-030 2379 Date/time/period format code C an 1/3 Must use Description: Code specifying the representation of a date, time or period. CodeList Summary (Total Codes: 74, Included: 1) Order date in format CCYYMMDD 102 CCYYMMDD Description: Calendar date: C = Century ; Y = Year ; M = Month ; D = Day. DTM+4:20120423:102 5
FTX FREE TEXT Pos: 0070 Max: 99 Conditional Group: N/A Elements: 6 User Option (Usage): Used Function: To provide free form or coded text information. FTX010 4451 Text subject code qualifier Description: Code specifying the subject of the text. CodeList Summary (Total Codes: 313, Included: 2) BLR ORI Transport document remarks Description: Remarks concerning the complete consignment to be printed on the bill of lading. Order instruction Description: Free text contains order instructions. FTX020 4453 Text function, coded C an 1/3 Used Description: Code specifying the purpose of the text. FTX030 C107 TEXT REFERENCE C Comp Used Description: Coded reference to a standard text and its source. FTX040 C108 TEXT LITERAL C Comp Used Description: Free text; one to five lines. FTX050 3453 Language name code C an 1/3 Used Description: Code specifying the language name. FTX060 4447 Text formatting, coded C an 1/3 Used Description: Code specifying the formatting parameters for the text. FTX (BLR) contains dynamic text to be printed on the printed dnote (we would like to see a copy of a current production dnote and also get one printed for a test order as part of testing) FTX+BLR+1++Please print this text on the dnote to check the layout FTX (ORI) contains instructions that would need the order to be placed on hold and looked at before processing 6
the order through your ERP FTX+ORI+3++presence of this segment (with a 3) should cause the order to go on hold as some manual intervention is required 7
RFF REFERENCE Pos: 0100 Max: 1 Mandatory Group: 1 Elements: 1 Function: To specify a reference. RFF010 C506 REFERENCE Description: Identification of a reference. M Comp Must use RFF010-010 1153 Reference function code qualifier Description: Code giving specific meaning to a reference segment or a reference number. CodeList Summary (Total Codes: 707, Included: 2) ON OP Order number (purchase) Description: [1022] Reference number assigned by the buyer to an order. Original purchase order Description: Reference to the order previously sent. RFF010-020 1154 Reference identifier C an 1/35 Must use Description: Identifies a reference. RFF (OP) this will contain our Sales Order Number RFF (ON) this will contain our Customers PO Number for direct ship orders RFF+OP:3020178 RFF+ON:IS776 / 777 8
NAD NAME AND ADDRESS Pos: 0130 Max: 1 Mandatory Group: 2 Elements: 7 Function: To specify the name/address and their related function, either by C082 only and/or unstructured by C058 or structured by C080 thru 3207. NAD010 3035 Party function code qualifier Description: Code giving specific meaning to a party. CodeList Summary (Total Codes: 490, Included: 2) BY DP Buyer Description: (3002) Party to which merchandise is sold. Delivery party Description: (3144) Party to which goods should be delivered, if not identical with consignee. NAD020 C082 PARTY IDENTIFICATION DETAILS C Comp Used Description: Identification of a transaction party by code. NAD020-010 3039 Party identifier M an 1/35 Must use Description: Code specifying the identity of a party. NAD040 C080 PARTY NAME C Comp Used Description: Identification of a transaction party by name, one to five lines. Party name may be formatted. NAD040-010 3036 Party name M an 1/35 Must use Description: Name of a party involved in a transaction. NAD050 C059 STREET C Comp Used Description: Street address and/or PO Box number in a structured address: one to four lines. NAD050-010 3042 Street and number/p.o. box M an 1/35 Must use Description: Street and number in plain language, or Post Office Box No. NAD050-030 3042 Street and number/p.o. box C an 1/35 Must use Description: Street and number in plain language, or Post Office Box No. 9
NAD060 3164 City name Description: Name of a city (a town, a village) for addressing purposes. C an 1/35 Used NAD080 3251 Postal identification code C an 1/17 Used Description: Code specifying the postal zone or address. MAXIMUM LEGTH ALLOWED BY INSIGHT FOR POSTAL ID CODE IS 9 NAD090 3207 Country name code C an 1/3 Used Description: Identification of the name of the country or other geographical entity as specified in ISO 3166. NAD (BY) this will contain our account number with you or the previously sent value NAD+BY+316133 NAD (DP) this will contain the delivery address, both for our warehouse orders and direct ship orders. For Warehouse orders only, we will send either a constant (e.g. WH ) or a Ship To code setup in your ERP relating to the Warehouse address. We need this value to be sent back in the Order Response, Despatch Advice and Invoice Messages. NAD+DP+32017796++Goods Inwards:Insight Direct UK+Tinsley Park Road::Tinsley Park Road+Sheffield++S9 5DE+GB NAD+DP+++Fitness First+High Street+Uxbridge++UB8 1GD+GB 10
CTA CONTACT INFORMATION Pos: 0230 Max: 1 Mandatory Group: 5 Elements: 2 Function: To identify a person or a department to whom communication should be directed. CTA010 3139 Contact function code Description: Code specifying the function of a contact (e.g. department or person). CodeList Summary (Total Codes: 95, Included: 2) IC OC Information contact C an 1/3 Must use Description: Department/person to contact for questions regarding transactions. Order contact Description: An individual to contact for questions regarding this order. CTA020 C056 DEPARTMENT OR EMPLOYEE DETAILS C Comp Must use Description: Code and/or name of a department or employee. Code preferred. CTA020-010 3413 Department or employee identification C an 1/17 Must use Description: Internal identification code. CTA020-020 3412 Department or employee C an 1/35 Must use Description: The department or person within an organizational entity. CTA (OC)/COM:EM this will contain the Insight fixed contact name and email address for Warranty Orders (to be passed onto the vendor, if they only accept one email address) CTA+OC+OC UK CTA (IC)/COM:TE this will contain the End Customer Name or Company (depending on if we have a FAO in the order) and a telephone number to contact in case of issues with delivery 11
CTA+IC+Fitness First CTA+IC+Goods Inwards 12
COM COMMUNICATION CONTACT Pos: 0240 Max: 1 Conditional Group: 5 Elements: 1 Function: To identify a communication number of a department or a person to whom communication should be directed. COM010 C076 COMMUNICATION CONTACT Description: Communication number of a department or employee in a specified channel. M Comp Must use COM010-010 3148 COM010-020 3155 Communication number Description: The communication number. Communication number code qualifier Description: Code qualifying the communication number. M an 1/512 Must use CodeList Summary (Total Codes: 34, Included: 2) EM TE Electronic mail Description: Exchange of mail by electronic means. Telephone Description: Voice/data transmission by telephone. CTA (IC)/COM:TE this will contain the End Customer Name or Company (depending on if we have a FAO in the order) and a telephone number to contact in case of issues with delivery COM+123123123:TE CTA (OC)/COM:EM this will contain the End User Company Name and email address for Warranty Orders (to be passed onto the vendor ONLY if they only accept more than one email address) COM+tarak@fitnessfirst.co.uk:EM 13
CUX CURRENCIES Pos: 0300 Max: 1 Mandatory Group: 7 Elements: 1 Function: To specify currencies used in the transaction and relevant details for the rate of exchange. CUX010 C504 CURRENCY DETAILS Description: The usage to which a currency relates. C Comp Must use CUX010-010 6347 Currency details qualifier Description: Specification of the usage to which the currency relates. CodeList Summary (Total Codes: 7, Included: 1) 2 Reference currency Description: The currency applicable to amounts stated. It may have to be converted. CUX010-020 6345 Currency identification code C an 1/3 Must use Description: Code specifying a monetary unit.. CUX+2:GBP 14
TOD TERMS OF DELIVERY OR TRANSPORT Pos: 0470 Max: 1 Mandatory Group: 12 Elements: 2 Function: To specify terms of delivery or transport. TOD010 4055 Terms of delivery or transport function, coded Description: Indication whether the terms relate to e.g. price conditions, delivery conditions, transport conditions, or a combination of these. CodeList Summary (Total Codes: 6, Included: 2) C an 1/3 Must use 2 Despatch condition Description: Condition requested by the customer under which the supplier shall deliver: Extent of freight costs, means of transport. 6 Delivery condition Description: Specifies the conditions under which the goods must be delivered to the consignee. TOD030 C100 TERMS OF DELIVERY OR TRANSPORT C Comp Must use Description: Terms of delivery or transport code from a specified source. TOD030-010 4053 Delivery or transport terms description code C an 1/3 Must use Description: Code specifying the delivery or transport terms. CodeList Summary (Total Codes: 3, Included: 1) P02 TOD+6 is the fill/kill indicator C Ship complete order, back order allowed O Ship complete order immediately or reject (order fill / kill) R Partial order acceptance allowed, complete lines must be rejected (line fill / kill) Blank backorders allowed, can ship in parts TOD+6++O' 15
SCC SCHEDULING CONDITIONS Pos: 0630 Max: 1 Mandatory Group: 16 Elements: 1 Function: To specify scheduling conditions. SCC010 4017 Delivery plan commitment level code Description: Code specifying the level of commitment to a delivery plan. CodeList Summary (Total Codes: 24, Included: 1) 10 Immediate Description: Indicates that the scheduling information is for immediate execution. This segment will always be sent, for warehouse and direct ship orders SCC+10' 16
LIN LINE ITEM Pos: 1040 Max: 1 Mandatory Group: 28 Elements: 2 Function: To identify a line item and configuration. LIN010 1082 Line item number Description: Serial number designating each separate item within a series of articles. C an 1/6 Must use LIN030 C212 ITEM NUMBER IDENTIFICATION C Comp Must use Description: Goods identification for a specified source. LIN030-010 7140 Item number C an 1/35 Must use Description: A number allocated to a group or item. LIN030-020 7143 Item type identification code C an 1/3 Must use Description: Code specifying an item code. CodeList Summary (Total Codes: 100, Included: 1) VN Vendor item number Description: Reference number assigned by a vendor/seller identifying a product/service/article. LIN segment contains the Insight PO Line Number, and your Part Number (converted to uppercase). As our line number is sent here, we will not be sending a RFF+LI segment. LIN+1++1632449:VN 17
PIA ADDITIONAL PRODUCT ID Pos: 1050 Max: 25 Conditional Group: 28 Elements: 3 Function: To specify additional or substitutional item identification codes. PIA010 4347 Product id. function qualifier Description: Indication of the function of the product code. CodeList Summary (Total Codes: 12, Included: 1) 1 Additional identification Description: Information which specifies and qualifies product identifications. PIA020 C212 ITEM NUMBER IDENTIFICATION M Comp Must use Description: Goods identification for a specified source. PIA020-010 7140 Item number C an 1/35 Must use Description: A number allocated to a group or item. PIA020-020 7143 Item type identification code C an 1/3 Must use Description: Code specifying an item code. CodeList Summary (Total Codes: 100, Included: 1) BP Buyer's part number Description: Reference number assigned by the buyer to identify an article. PIA030 C212 ITEM NUMBER IDENTIFICATION C Comp Must use Description: Goods identification for a specified source. PIA030-010 7140 Item number C an 1/35 Must use Description: A number allocated to a group or item. PIA030-020 7143 Item type identification code C an 1/3 Must use Description: Code specifying an item code. CodeList Summary (Total Codes: 100, Included: 1) MF Manufacturer's (producer's) article number Description: The number given to an article by its manufacturer. 18
PIA+1+0000432672:BP+KVR667D2D8F5/2G:MF' 19
IMD ITEM DESCRIPTION Pos: 1060 Max: 99 Conditional Group: 28 Elements: 1 Function: To describe an item in either an industry or free format. IMD030 C273 ITEM DESCRIPTION C Comp Must use Description: Description of an item. IMD030-040 7008 Item description C an 1/256 Must use Description: Plain language description of articles or products. IMD030-050 7008 Item description C an 1/256 Must use Description: Plain language description of articles or products. IMD segment contains the item description stored in our ERP IMD+++:::HP Promo USB Standard Keyboard 20
QTY QUANTITY Pos: 1080 Max: 99 Conditional Group: 28 Elements: 1 Function: To specify a pertinent quantity. QTY010 C186 QUANTITY DETAILS Description: Quantity information in a transaction, qualified when relevant. M Comp Must use QTY010-010 6063 Quantity type code qualifier Description: Code qualifying the type of quantity. CodeList Summary (Total Codes: 412, Included: 1) 21 Ordered quantity Description: The quantity which has been ordered. QTY010-020 6060 Quantity M an 1/35 Must use Description: Alphanumeric representation of a quantity. QTY010-030 6411 Measurement unit code C an 1/3 Must use Description: Code specifying the unit of measurement. 1. QUANTITY IS A MAXIMUM LENGTH OF 15 NUMERIC CHARACTERS. QUANTITY MUST BE WHOLE NUMBERS, NO DECIMALS. QTY segment contains the ordered quantity of the product QTY+21:1:EA 21
DTM DATE/TIME/PERIOD Pos: 1110 Max: 35 Conditional Group: 28 Elements: 1 Function: To specify date, and/or time, or period. DTM010 C507 DATE/TIME/PERIOD Description: Date and/or time, or period relevant to the specified date/time/period type. M Comp Must use DTM010-010 2005 Date/time/period function code qualifier Description: Code giving specific meaning to a date, time or period. CodeList Summary (Total Codes: 697, Included: 2) 2 Delivery date/time, requested Description: Date on which buyer requests goods to be delivered. 10 Shipment date/time, requested Description: Date on which goods should be shipped or despatched by the supplier. DTM010-020 2380 Date/time/period value C an 1/35 Must use Description: The value of a date, a date and time, a time or of a period in a specified representation. DTM010-030 2379 Date/time/period format code C an 1/3 Must use Description: Code specifying the representation of a date, time or period. CodeList Summary (Total Codes: 74, Included: 1) 102 CCYYMMDD Description: Calendar date: C = Century ; Y = Year ; M = Month ; D = Day. DTM segment - requested ship date is the qualifier but the actual date sent here would be a requested delivery date. format CCYYMMDD DTM+10:20120420:102 22
PRI PRICE DETAILS Pos: 1320 Max: 1 Mandatory Group: 32 Elements: 1 Function: To specify price information. PRI010 C509 PRICE INFORMATION Description: Identification of price type, price and related details. C Comp Must use PRI010-010 5125 Price qualifier Description: Identification of a type of price. CodeList Summary (Total Codes: 10, Included: 1) CAL Calculation price Description: The price stated is the price for the calculation of the line item amount. PRI010-020 5118 Price C n 1/15 Must use Description: The monetary value associated with a purchase or sale of an article, product or service. PRI segment contains the price provided in your latest price file for this product. If this is outside of the agreed tolerance, we would expect our order to be rejected in line with the fill/kill flag i.e. if Partial ship is allowed, then we would just expect the affected line rejected in a multiple line order PRI+CAL:8.55 23
UNS SECTION CONTROL Pos: 2320 Max: 1 Mandatory Group: N/A Elements: 1 Function: To separate header, detail and summary sections of a message. UNS010 0081 Section identification Description: Identification of the separation of sections of a message. CodeList Summary (Total Codes: 2, Included: 1) S M a 1/1 Must use Detail/summary section separation Description: To qualify the segment UNS, when separating the detail from the summary section of a message. 1. To be used by message designers only when required to avoid ambiguities. Always present UNS+S' 24
UNT MESSAGE TRAILER Pos: 2390 Max: 1 Mandatory Group: N/A Elements: 2 Function: To end and check the completeness of a message. UNT010 0074 Number of segments in a message Description: The number of segments in a message body, plus the message header segment and message trailer segment. M n 1/10 Must use UNT020 0062 Message reference number M an 1/14 Must use Description: Unique message reference assigned by the sender. 1. 0062, the value shall be identical to the value in 0062 in the corresponding UNH segment. UNT+number segments UNH to UNT inclusive+message number in interchange UNT+27+50' 25