DICK SMITH. ebusiness Message Implementation Guides

Size: px
Start display at page:

Download "DICK SMITH. ebusiness Message Implementation Guides"

Transcription

1 DICK SMITH ebusiness Message Implementation Guides for: Purchase Orders Purchase Order Response / Acknowledgement Purchase Order Change Invoice and Control Message First Release Date: February 20, 2010 Last Revision Date: First Release Document Version: Release (2.0)

2 Purchase Order Message (ORDERS) TABLE OF CONTENTS ORDERS Purchase Order Message... 3 ORDRSP Purchase Order Response Message ORDCHG Purchase Order Change Message INVOIC Invoice Message CONTRL Control message ebusiness MIG (2.0) 2 February, 2010

3 Purchase Order Message (ORDERS) ORDERS Purchase Order Message Introduction: The ORDERS message specifies details for goods or services ordered under conditions agreed between the vendors and DSE. Notes: This Message Implementation Guide (MIG) is based on the EANCOM 2002 Australian Retail Industry Implementation Guidelines for the Purchase Order Message derived from the international UN/EDIFACT directory D.01B. Visit the GS1 Australia's website at or contact GS1 Help Desk for more information or download all other standard guidelines used by the Australian Retail Industry. This MIG is designed to support the transmission of DSE's order flow for the supply chain processes for DC s and Powerhouse s. Dependency notes: An original purchase order message will convey the following functional usage indicators: - Standard delivery request: Applicable to all purchase orders. Business rules: 1) DSE will be the generator / sender of the purchase order message. 2) There may be multiple delivery locations within each purchase order transmitted with a unique DSE' order number. 3) All messages received from DSE must be acknowledged promptly with a Control Acknowledgment message specified by DSE. 4) Purchase order responses (ORDRSP) are required for all purchase orders according to business rules specified in the MIG for that message. All ORDRSP messages must be returned to DSE within forty eight (48) hours from the receipt of the latest transmission of the order. 5) All required data in this MIG must be provided to be compliant with the requirements of Australian Taxation Office for DSE Australian Vendors. 6) All messages received from DSE must be checked for duplicate Interchange Control Reference numbers and Purchase Order numbers. Usage notes: M Specified within the Standards as Mandatory, used as a trigger element. R Required by DSE for specific implementation or business rules D Dependent on a mutual agreement between the sender and receiver of the message, governed by business rules and / or a special arrangement, i.e. Primary Freight, etc. O Data that can be omitted based on an agreement between the sender and receiver. X Segment/data element defined as optional by standard specification and are not required for this Implementation. Data elements or composite elements that are not used preceding those indicated otherwise are shown for additional clarity. Trailing elements that are not used will not be shown in this document. DSE is "Attribute" is the EDI standards definition "User Attribute" is "DSE Definition" ebusiness MIG (2.0) 3 February, 2010

4 Purchase Order Message (ORDERS) Heading Section: User Attribute Pos. Seg. Attributes Group Notes and Attribute No. ID Name Des. Max.Use Repeat Comments R UNA Service String Advice M 1 M 0005 UNB Interchange Header M 1 M 0010 UNH Message Header M 1 M 0020 BGM Beginning of Message M 1 M 0030 DTM Date/Time/Period M 2 O 0070 FTX Free Text C 99 M 0120 Segment Group 2: NAD M 3 M 0130 NAD Name and Address M 1 D 0160 Segment Group 3: RFF M 1 M 0170 RFF Reference M 1 D 0220 Segment Group 5: CTA-COM C 1 M 0230 CTA Contact Information M 1 D 0240 COM Communication Contact C 3 M 0280 Segment Group 7: CUX-DTM C 1 D 0290 CUX Currencies M 1 Detail Section: User Attribute Pos. Seg. Attributes Group Notes and Attribute No. ID Name Des. Max.Use Repeat Comments R 1030 Segment Group 28: LIN-PIA-IMD-QTY-DTM- C 9999 SG32SG37-SG38-SG39-SG43 M 1040 LIN Line Item M 1 R 1050 PIA Additional Product Id C 2 R 1060 IMD Item Description C 1 M 1080 QTY Quantity M 1 R 1110 DTM Date/Time/Period M 1 M 1120 MOA Monetary Amount M 2 O 1150 FTX Free Text C 99 M 1320 Segment Group 32: PRI M 1 M 1330 PRI Price Details M 1 R 1322 Segment Group 37: LOC C 1 R 1570 LOC Place/Location identification C Segment Group 38: TAX C 1 M 1620 TAX Duty/Tax/Fee Details M 1 R 1324 Segment Group 39: NAD C 1 R 1660 NAD Name and Address C 1 R 1328 Segment Group 43: ALC-SG46-SG47 C 10 R 1790 ALC Allowance or Charge C 1 ebusiness MIG (2.0) 4 February, 2010

5 Purchase Order Message (ORDERS) R 1880 Segment Group 46: MOA C 1 R 1890 MOA Monetary Amount C 1 R 1910 Segment Group 47: RTE C 1 R 1920 RTE Rate Details C 1 Section Control: User Attribute Pos. Seg. Attributes Group Notes and Attribute No. ID Name Des. Max.Use Repeat Comments M 2330 UNS Section Control M 1 Summary Section: User Attribute Pos. Seg. Attributes Group Notes and Attribute No. ID Name Des. Max.Use Repeat Comments M 2340 MOA Monetary Amount M 3 M 2350 CNT Control Total M 2 M 2400 UNT Message Trailer M 1 M 2420 UNZ Interchange Trailer M 1 ebusiness MIG (2.0) 5 February, 2010

6 Purchase Order Message (ORDERS) Segment: UNA Service String Advice Position: Group: Level: 0 Usage: Required Purpose: To define the characters selected for use as delimiters and indicators in the rest of the interchange that follows. The specifications in the Service string advice take precedence over the specifications for delimiter etc. in UNB segment. When transmitted, the Service string advice must appear immediately before the Interchange Header (UNB) segment and begin with the upper case characters UNA immediately followed by the six characters selected by the sender to indicate, in the following sequence: Notes: DSE s preferred character set level and service characters are :+.? ' Vendor can use the allowable character sets and service characters defined by UNOC by negotiation with DSE. This allowable character sets and service characters can be obtained from DSE on request. Example: UNA:+.? ' M 0010 COMPONENT DATA ELEMENT SEPARATOR M an..1 Composite element delimiter : Colon M 0020 DATA ELEMENT SEPARATOR M an..1 Data element delimiter + Plus sign M 0030 DECIMAL NOTATION M an..1 The character transferred in this position shall be ignored by the recipient. Retained to maintain upward compatibility with earlier versions of the syntax.. Full stop / Period M 0040 RELEASE INDICATOR M an..1 Release indicator is used to signify that the following texts contain one of the characters used as composite, data or segment delimiter, hence release its usage convention for that instance.? Question mark M 0050 RESERVED FOR FUTURE USE M an..1 Not used. White space (blank) M 0060 SEGMENT TERMINATOR M an..1 Used to delimit the end of the current segment and start a new segment. ' Apostrophe ebusiness MIG (2.0) 6 February, 2010

7 Purchase Order Message (ORDERS) Segment: UNB Interchange Header Position: 0005 Group: Level: 0 Usage: Mandatory Purpose: To start, identify and specify an interchange Dependency Notes: Notes: All messages implemented based on EANCOM 2002 will use syntax level C, version 3 as indicated in DE 0001 and DE 0002 as UNOC:3. This supports all characters defined in ISO : Information processing - Part 1: Latin alphabet No. 1 Example: UNB+UNOC: :14+VENDOR:ZZ : ' M S001 SYNTAX IDENTIFIER M 1 Identification of the agency controlling the syntax and indication of syntax level. M 0001 Syntax identifier M a4 Coded identification of the agency controlling a syntax and syntax level used in an interchange. UNOC UN/ECE level C M 0002 Syntax version number M n1 Version number of the syntax identified in the syntax identifier (0001). 3 Version 3 M S002 INTERCHANGE SENDER M 1 Identification of the sender of the interchange. M 0004 Sender identification M an..35 Name or coded representation of the sender of a data interchange. uses the following address: for production exchange of EANCOM 2002 messages. R 0007 Partner identification code qualifier C an..4 Qualifier referring to the source of codes for the identifiers of interchanging partners. 14 EAN International M S003 INTERCHANGE RECIPIENT M 1 Identification of the recipient of the interchange. M 0010 Recipient identification M an..35 Name or coded representation of the recipient of a data interchange. R 0007 Partner identification code qualifier C an..4 Qualifier referring to the source of codes for the identifiers of interchanging partners. ebusiness MIG (2.0) 7 February, 2010

8 Purchase Order Message (ORDERS) 14 EAN International ZZ Mutually defined M S004 DATE AND TIME OF PREPARATION M 1 Date and time of preparation of the interchange. M 0017 Date of preparation M n6 Local date when an interchange or a functional group was prepared. Date in YYMMDD format, i.e. March 7th, 2008 is presented as M 0019 Time of preparation M n4 Local time of day when an interchange or a functional group was prepared. Time in 24 hour-clock format, i.e. 3:30 PM is presented as 1530 M 0020 INTERCHANGE CONTROL REFERENCE M 1 an..14 Unique reference assigned by the sender to an interchange. This data element is specified as alphanumeric and, for all DSE implementations, only numbers are accepted as interchange control. The value presented here must match with the value presented in DE 0020 in segment UNZ. X S005 RECIPIENTS REFERENCE PASSWORD C 1 X 0026 APPLICATION REFERENCE C 1 an..14 X 0029 PROCESSING PRIORITY CODE C 1 a1 R 0031 ACKNOWLEDGEMENT REQUEST C 1 n1 Code determined by the sender for acknowledgement of the interchange. For all outbound messages from DSE, this indicator will always be used as a request for a CONTRL message to be returned to DSE. X 0032 INTERCHANGE AGREEMENT IDENTIFIER C 1 an..35 R 0035 TEST INDICATOR C 1 n1 Indication that the structural level containing the test indicator is a test. For Purchase Orders generated from the TEST DSE system,0035 contains 1 For Purchase Orders generated from the PROD DSE system, 0035 is omitted ebusiness MIG (2.0) 8 February, 2010

9 Purchase Order Message (ORDERS) Segment: UNH Message Header Position: 0010 Group: Level: 0 Usage: Mandatory Purpose: Dependency Notes: Notes: A service segment starting and uniquely identifying a message. The message type code for the Purchase order message is ORDERS. Example: UNH ORDERS:D:01B:UN:EAN010' M 0062 MESSAGE REFERENCE NUMBER M 1 an..14 Unique message reference assigned by the sender. DSE will only send one message per interchange. The unique message number is always the same as the Interchange Control Reference (DE0020) in the UNB segment. DE0062 in UNH segment will be exactly the same as DE0062 in the UNT segment. M S009 MESSAGE IDENTIFIER M 1 Identification of the type, version etc. of the message being interchanged. M 0065 Message type identifier M an..6 Code identifying a type of message and assigned by its controlling agency. ORDERS Purchase order message M 0052 Message type version number M an..3 Version number of a message type. D Draft version/un/edifact Directory M 0054 Message type release number M an..3 Release number within the current message type version number (0052). 01B Release B M 0051 Controlling agency M an..3 Code identifying the agency controlling the specification, maintenance and publication of the message type. UN UN/CEFACT R 0057 Association assigned code C an..6 Code, assigned by the association responsible for the design and maintenance of the message type concerned, which further identifies the message. EAN010 EAN Version Control Number ebusiness MIG (2.0) 9 February, 2010

10 Purchase Order Message (ORDERS) Segment: BGM Beginning of Message Position: 0020 Group: Level: 0 Usage: Mandatory Purpose: Dependency Notes: Notes: A segment by which the sender must uniquely identify the order by means of its name and number and when necessary its function. Dependency note: Refer to dependency note for conditions applicable to the entire purchase order message. The following notes are applicable to the BGM segment only: - Unless otherwise stated, DE 4343 will always be AB, reflecting the required confirmation of the purchase order via a guaranteed Purchase Order Acknowledgement (ORDRSP). Example: Note that in all examples below, DE 1060 is used to convey the PO version number of the PO generated by DSE's buying application. Version will be 0001 as original PO message. Changes to a PO will be communicated via the Purchase Order Change Request message (ORDCHG). An original transmission of a purchase order for delivery. Purchase Order Acknowledgement is expected according to an agreed set of business rules, i.e. within forty eight (48) business hours of the receipt of the order. BGM+220+S :: AB' R C002 DOCUMENT/MESSAGE NAME C 1 Identification of a type of document/message by code or name. Code preferred. R 1001 Document name code C an..3 Code specifying the document name. 220 Order Conditional: Standard Purchase Order. Required if all other conditions do not match. R C106 DOCUMENT/MESSAGE IDENTIFICATION C 1 Identification of a document/message by its number and eventually its version or revision. R 1004 Document identifier C an..35 To identify a document. DSE's purchase order number Format: Alphanumeric Minimum length: 1 Maximum length: 7 X 1056 Version identifier O an..9 ebusiness MIG (2.0) 10 February, 2010

11 Purchase Order Message (ORDERS) R 1060 Revision identifier C an..6 To identify a revision. DSE's purchase order version number. Format: Alphanumeric Minimum length: 4 Maximum length: 4 Note: DSE s order version number will always be sent as R 1225 MESSAGE FUNCTION CODE C 1 an..3 Code indicating the function of the message. 9 Original Conditional: An original transmission of the purchase order to the primary recipient. Required if other conditions do not match. R 4343 RESPONSE TYPE CODE C 1 an..3 Code specifying the type of acknowledgment required or transmitted. AB Message acknowledgement See implementation dependency note for this message. ebusiness MIG (2.0) 11 February, 2010

12 Purchase Order Message (ORDERS) Segment: DTM Date/Time/Period Position: 0030 Group: Level: 1 Usage: Mandatory Purpose: Dependency Notes: Notes: 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 order date. All date and time presented in DTM segment will be provided in CCYYMMDD format, i.e. with DE 2379 = 102. Dependency note: If all Items on the order have the same requested delivery date, then the same date will be sent in the Header DTM (DE2005 = 2). If delivery dates are different across items, Header DTM is omitted. Example: Purchase Order Creation Date DTM+137: :102' Delivery Requested Date DTM+2: :102 M C507 DATE/TIME/PERIOD M 1 Date and/or time, or period relevant to the specified date/time/period type. M 2005 Date or time or period function code qualifier M an..3 Code qualifying the function of a date, time or period. 137 Document/message date Required: System generated date when the purchase order is created. 2 Delivery date/time, requested Date on which buyer request goods to be delivered Conditional: Refer to the Dependency Note above. R 2380 Date or time or period text C an..35 The value of a date, a date and time, a time or of a period in a specified representation. R 2379 Date or time or period format code C an..3 Code specifying the representation of a date, time or period. 102 CCYYMMDD ebusiness MIG (2.0) 12 February, 2010

13 Purchase Order Message (ORDERS) Segment: FTX Free Text Position: 0070 Group: Level: 1 Usage: Conditional (Optional) Max Use: 99 Purpose: Dependency Notes: Notes: 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 computerto-computer exchanges such text will normally require the receiver to process this segment manually. This segment is used to provide free form or coded text information for the entire purchase order. Dependency Note: DE C108: This composite is only used if coded text cannot be used. Example: FTX+AAB+++BUYER: Brooke Paton FTX+AAB+++DICK SMITH (WHOLESALE) PTY. LTD. reserves the right to cancel this order if delivery times quoted when placing the order are not met FTX+AAB+++TERMS OF SALE: Free Into Store, Australia FTX+AAB+++TERMS OF PAYMENT: Direct Entry Credit to a Vnd 30 days From Statement FTX+AAR+++FORWARDING: Freight under Vendor's care FTX+AAB+++BANKERS: Westpac Banking Corporation, Queen St, Brisbane 4000 FTX+INS+++INSURANCE: Where insurance is our account declarations are affected by and are the responsibility of DICK SMITH (WHOLESALE) PTY. LTD FTX+DEL+++Deliver to Distribution Centre Receiving Docks 1 to 4' FTX+DEL ' FTX+DEL+++At least 3 days prior to delivery phone Receiving Dock on ' FTX+DEL+++to book delivery date and time. Deliveries accepted between6am & 1PM' FTX+DEL+++**Pallet size must be 1.2m x 1.2m (CHEP) with height not exceeding' FTX+DEL+++1.2m **Cartons must fit within these dimensions.' FTX+DEL ' FTX+PUR+++************************************************************ *******' FTX+PUR+++Please check this order thoroughly and ensure that all costs are' FTX+PUR+++correct. If there are ANY discrepancies in the order costs, please' FTX+PUR+++contact the Buyer BEFORE the order is dispatched. M 4451 TEXT SUBJECT CODE QUALIFIER M 1 an..3 Code qualifying the subject of the text. AAB Terms of payments - Conditions of payment between the parties to a transaction (generic term). AAR Terms of delivery ACB Additional information ebusiness MIG (2.0) 13 February, 2010

14 Purchase Order Message (ORDERS) DEL Delivery information - Information about delivery. INS Insurance information - Specific note contains insurance information. PUR Purchasing Information X 4453 FREE TEXT FUNCTION CODE C 1 an..3 X C107 TEXT REFERENCE C 1 R C108 TEXT LITERAL C 1 Free text; one to five lines. M 4440 Free text M an..512 M 4440 Free text C an..512 M 4440 Free text C an..512 M 4440 Free text C an..512 M 4440 Free text C an..512 Free form text. Required: Used by DSE for Purchase Order comment text. ebusiness MIG (2.0) 14 February, 2010

15 Purchase Order Message (ORDERS) Group: NAD Segment Group 2: Name and Address Position: 0120 Group: Level: 1 Usage: Mandatory Max Use: 3 Purpose: A group of segments identifying the parties with associated information. Notes: Dependency Note: If all line items on a Purchase Order are to be delivered to the same ship to point, a SG2 NAD segment with DE C082 / 3035 = ST will be sent. If line items have multiple ship to points, no SG2 NAD segment with DE C082 / 3035 = ST will be sent, and the ship to points will be specified in a line item level NAD segment. Example: DSE's buyer is a store, NAD+BY ::9++DICK SMITH +CNR CONWAY & CARRINGTON STREETS+LISMORE+NSW+2480' RFF+XA: ' CTA+PD :Vanessa Haddad' COM+(02) :TE' COM+vhaddad@dse.com.au:EM' Supplier: NAD+SU ::92++SOME SUPPLIER+Po Box 123+GYMEA+NSW+2227+AU' CTA+PD+:JOHN SMITH' COM+(02) :TE' COM+(02) :FX' COM+jsmith@somesupplier.com:EM' Single Site Ship To: NAD+ST ::9++Villawood Distribution Centre+60 Marple Avenue+Villawood+NSW+2163' Segment Summary User Pos. Seg. Req. Max. Group: Attribute No. ID Name Des. Use Repeat M 0130 NAD Name and Address M 1 O 0140 Segment Group 3: Reference C 1 O 0220 Segment Group 5: Contact Information C 1 ebusiness MIG (2.0) 15 February, 2010

16 Purchase Order Message (ORDERS) Segment: NAD Name and Address Position: 0130 (Trigger Segment) Group: Segment Group 2 (Name and Address) Mandatory Level: 1 Usage: Mandatory Purpose: Dependency Notes: Notes: A segment identifying names and addresses of the parties, in coded or clear form, and their functions relevant to the order. For examples, see explanatory notes in NAD Segment Group (SG2). M 3035 PARTY FUNCTION CODE QUALIFIER M 1 an..3 Code giving specific meaning to a party. BY Buyer Required: Used to identify the buyer responsible for this order. SU Supplier Required: Used to identify the supplier for this order. ST Ship to Optional: Used to identify the ship to point for this order (if all line items are to be delivered to this ship to point). R C082 PARTY IDENTIFICATION DETAILS C 1 Identification of a transaction party by code. M 3039 Party identifier M an..35 Code specifying the identity of a party. Required: Assigned vendor number (DE 3035 = SU) Format (DE 3035 = SU): Alphanumeric Minimum length: 7 Maximum length: 7 DSE Buyer GLN (DE 3035 = BY) Format (DE 3035 = BY): Alphanumeric Minimum length: 13 Maximum length: 13 DSE Ship to GLN (DE 3035 = ST) Format (DE 3035 = ST): Alphanumeric Minimum length: 13 Maximum length: 13 X 1131 Code list identification code C an..17 R 3055 Code list responsible agency code C an..3 ebusiness MIG (2.0) 16 February, 2010

17 Purchase Order Message (ORDERS) Code specifying the agency responsible for a code list. 92 Assigned by buyer or buyer s agent 9 Assigned by EAN X C058 NAME AND ADDRESS C 1 D C080 PARTY NAME C 1 Identification of a transaction party by name, one to five lines. Party name may be formatted. M 3036 Party name M an..35 Name of a party. Conditional: Party name in text to complement code if specified in DE C This may be a - Store name or DC name (DE 3035 = BY), - Store name or DC name (DE 3035 = ST), - Supplier name (DE 3035 = SU) Format: Alphanumeric Minimum length: 1 Maximum length: 35 D C059 STREET C 1 Street address and/or PO Box number in a structured address: one to four lines. M 3042 Street and number or post office box identifier M an..35 To identify a street and number and/or Post Office box number. Conditional: Street address (line 1) of the party identified, where applicable. Format: Alphanumeric Minimum length: 1 Maximum length: 35 D 3042 Street and number or post office box identifier C an..35 To identify a street and number and/or Post Office box number. Conditional: Street address (line 2) of the party identified, where applicable. Omit if street address line 1 is empty. Format: Alphanumeric Minimum length: 1 Maximum length: 35 D 3164 CITY NAME C 1 an..35 Name of a city. Conditional: City or suburb of the location of the party identified, where applicable, such as CHULLORA, etc. Format: Alphanumeric Minimum length: 1 Maximum length: 24 D C819 COUNTRY SUB-ENTITY DETAILS C 1 To specify a part of a country (eg county or part of a city). D 3229 Country sub-entity name code C an..9 Code specifying the name of a country sub-entity. Conditional: State code of the location of the party identified, where applicable, such as NSW, VIC, etc. ebusiness MIG (2.0) 17 February, 2010

18 Purchase Order Message (ORDERS) Format: Alphanumeric Minimum length: 2 Maximum length: 3 D 3251 POSTAL IDENTIFICATION CODE C 1 an..17 Code specifying the postal zone or address. Conditional: Postal code of the location of the party identified, where applicable, such as 2770, etc. Format: Alphanumeric Minimum length: 4 Maximum length: 4 D 3207 COUNTRY NAME CODE C 1 an..3 Code specifying the country. Conditional: Country code. Format: Alphanumeric Minimum length: 2 Maximum length: 3 ebusiness MIG (2.0) 18 February, 2010

19 Purchase Order Message (ORDERS) Group: RFF Segment Group 3: Reference Position: 0160 Group: Segment Group 2 (Name and Address) Mandatory Level: 2 Usage: Mandatory Purpose: A group of segments giving references only relevant to the specified party rather than the whole order.. Segment Summary User Pos. Seg. Req. Max. Group: Attribute No. ID Name Des. Use Repeat M 0170 RFF Reference M 1 ebusiness MIG (2.0) 19 February, 2010

20 Purchase Order Message (ORDERS) Segment: RFF Reference Position: 0170 (Trigger Segment) Group: Segment Group 3 (Reference) Mandatory Level: 2 Usage: Mandatory Purpose: Dependency Notes: Notes: A segment identifying the reference by its number and where appropriate a line number within a document. This segment contains the DSE Australian Business Number in the NAD+BY party Example: RFF+XA: ' R C506 REFERENCE C 1 Identification of reference Reference code qualifier C an..3 Code qualifying a reference. XA Company/place registration number Required: Used to provide registered Australian Business Number(ABN) for the party identified in NAD Segment Group 2, i.e. NAD DE 3035 = BY for DSE's ABN. R 1154 Reference identifier C an..70 To identify a reference. ebusiness MIG (2.0) 20 February, 2010

21 Purchase Order Message (ORDERS) Group: CTA Segment Group 5: Contact Information Position: 0220 Group: Segment Group 2 (Name and Address) Mandatory Level: 2 Usage: Conditional (Dependent) Purpose: A group of segments giving contact details of the specific person or department within the party identified in the NAD segment. Notes: Examples: DSE's buyer has a business manager's name John Smith, with an employee ID of CTA+PD+13586:JOHN SMITH' COM+(02) :TE' COM+jsmith@dse.com.au:EM' Supplier contact has a name of Mary Jones. CTA+SU+:MARY JONES COM+(02) :TE COM+(02) :FX' COM+mjones@supplier.com.au:EM Segment Summary User Pos. Seg. Req. Max. Group: Attribute No. ID Name Des. Use Repeat M 0230 CTA Contact Information M 1 O 0240 COM Communication Contact C 3 ebusiness MIG (2.0) 21 February, 2010

22 Purchase Order Message (ORDERS) Segment: CTA Contact Information Position: 0230 (Trigger Segment) Group: Segment Group 5 (Contact Information) Conditional (Dependent) Level: 2 Usage: Mandatory Purpose: A segment to identify a person or department, and their function, to whom communications should be directed. Dependency Notes: Notes: For examples, see explanatory notes in NAD SG2 or CTA SG5. R 3139 CONTACT FUNCTION CODE C 1 an..3 Code specifying the function of a contact (e.g. department or person). PD Purchasing contact SU Supplier contact R C056 DEPARTMENT OR EMPLOYEE DETAILS C 1 Code and/or name of a department or employee. Code preferred. D 3413 Department or employee name code C an..17 Code specifying the name of a department or employee. Conditional: Employee ID of DSE's business manager or a representative responsible for the category to be purchased from the vendor (DE 3139 = PD ). Format: Alphanumeric Minimum length: 1 Maximum length:?? R 3412 Department or employee name C an..35 Name of a department or employee. Conditional: Name of DSE's business manager or a representative responsible for the category to be purchased from the vendor (DE 3139 = PD ) or supplier contact (DE 3139 = SU ). Format: Alphanumeric Minimum length: 1 Maximum length: 35 ebusiness MIG (2.0) 22 February, 2010

23 Purchase Order Message (ORDERS) Segment: COM Communication Contact Position: 0240 Group: Segment Group 5 (Contact Information) Conditional (Dependent) Level: 3 Usage: Conditional (Dependent) Max Use: 3 Purpose: A segment to identify a communications type and number for the contact specified in the CTA segment. Dependency Notes: Notes: For examples, see explanatory notes in NAD SG2 or CTA SG5. M C076 COMMUNICATION CONTACT M 3 Communication number of a department or employee in a specified channel. M 3148 Communication address identifier M an..512 To identify a communication address. Omit if no contact detail is presented. Format (DE 3155 = EM): Alphanumeric Minimum length: 1 Maximum length: 50 Format (DE 3155 = TE): Alphanumeric Minimum length: 1 Maximum length: 19 M 3155 Communication address code qualifier M an..3 Code qualifying the communication address. EM Electronic mail Conditional: address of the person specified in the CTA group. TE Telephone Required: Contact number of the person specified in the CTA group. FX Fax Conditional: Fax number of the person specified in the CTA group ebusiness MIG (2.0) 23 February, 2010

24 Purchase Order Message (ORDERS) Group: CUX Segment Group 7: Currency Information Position: 0280 Group: Segment Group 7 (Currency Information) Conditional (Required) Level: 1 Usage: Mandatory Purpose: A group of segments specifying the currencies and related dates/periods valid for the whole order. Currency data may be omitted in national applications but will be required for international transactions. Segment Summary User Pos. Seg. Req. Max. Group: Attribute No. ID Name Des. Use Repeat R 0290 CUX Currency Information M 1 ebusiness MIG (2.0) 24 February, 2010

25 Purchase Order Message (ORDERS) Segment: CUX Currencies Position: 0290 Group: Segment Group 7 (Currency Information) Mandatory Level: 2 Usage: Mandatory Purpose: A segment to specify currency used in the transaction. Dependency Notes: Notes: Example: CUX+2:AUD:9 M C504 CURRENCY DETAILS C Currency used in this transaction. M 6347 Currency usage code qualifier M an..3 To identify a communication address. 2 Reference currency C 6345 Currency identification code C an..3 Code identifying the currency. AUD Australian dollars C 6343 Currency type code qualifier C an..3 Code identifying the use of the currency. 9 Order currency ebusiness MIG (2.0) 25 February, 2010

26 Purchase Order Message (ORDERS) Group: LIN Segment Group 28: Line Item Position: 1030 Group: Level: 1 Usage: Conditional (Required) Max Use: 9999 Purpose: A group of segments providing details of the individual ordered items. This segment group may be repeated to give sub-line details. Notes: Example: Ordered line sequence number 1 with Global Trade Item Number (GTIN) identified. Product information such as DSE item reference number and vendor's internal reference number will be sent. LIN :SRV' PIA+1+XP20570:IN' PIA Y:SA' IMD+F++:::EXAMPLE PRODUCT 001' Segment Summary User Pos. Seg. Req. Max. Group: Attribute No. ID Name Des. Use Repeat M 1040 LIN Line Item M 1 R 1050 PIA Additional Product Id C 1 R 1060 IMD Item Description C 1 M 1080 QTY Quantity M 1 R 1110 DTM Date/Time/Period C 1 M 1120 MOA Monetary Amount C 2 O 1150 FTX Free Text C Segment Group 32: Price Details M Segment Group 37: Place/Location Identification C Segment Group 38: Duty/Tax/Fee Details C Segment Group 39: Name and Address C Segment Group 43: Allowance and Charge C 10 ebusiness MIG (2.0) 26 February, 2010

27 Purchase Order Message (ORDERS) Segment: LIN Line Item Position: 1040 (Trigger Segment) Group: Segment Group 28 (Line Item) Conditional (Required) Level: 1 Usage: Mandatory Purpose: A segment identifying the line item by the line number and configuration level, and additionally, identifying the product or service ordered. Other product identification numbers e.g. Buyer product number, etc. can be specified within the following PIA segment. Dependency Notes: Notes: For examples, see explanatory notes in LIN SG28. R 1082 LINE ITEM IDENTIFIER C 1 an..6 To identify a line item. Required: Application generated line number of the ordered item. The line number must be unique within the current message. The recipient may use the line number as a reference when enquiring the order. Format: Numeric (999999) Minimum length: 6 Maximum length: 6 X 1229 ACTION REQUEST/NOTIFICATION DESCRIPTION CODE C 1 an..3 R C212 ITEM NUMBER IDENTIFICATION C 1 Goods identification for a specified source. R 7140 Item identifier C an..35 To identify an item. Required: GTIN representation of the part number Format: EAN or UPC Minimum length: 8 Maximum length: 14 R 7143 Item type identification code C an..3 Coded identification of an item type. SRV EAN.UCC Global Trade Item Number Required: All items will be referred to as GTIN (Global Trade Item Number). ebusiness MIG (2.0) 27 February, 2010

28 Purchase Order Message (ORDERS) Segment: PIA Additional Product Id Position: 1050 Group: Segment Group 28 (Line Item) Conditional (Required) Level: 2 Usage: Conditional (Required) Max Use: 3 Purpose: A segment providing additional identification to the product specified in the LIN segment, e.g. Vendor s and/or DSE s item reference number. Dependency Notes: Notes: PIA segment is used to provide DSE's and Vendor's item reference number. Dependency note: In the case where Vendor item reference number is not known, PIA segment will be displayed with the value UNKNOWN when DE C = SA. Examples: Additional product information provided in segment PIA. LIN :SRV' PIA+1+ XP20570:IN' PIA Y:SA' IMD+F++:::EXAMPLE PRODUCT 001' M 4347 PRODUCT IDENTIFIER CODE QUALIFIER M 1 an..3 Code qualifying the product identifier. 1 Additional identification Used to provide an additional identity for the product identified in the LIN segment. M C212 ITEM NUMBER IDENTIFICATION M 1 Goods identification for a specified source. R 7140 Item identifier C an..35 To identify an item. Required: Used to provide additional information for the product identified in the LIN segment. Format (DE 7143 = IN): Alphanumeric (no space padding) Minimum length: 1 Maximum length: 15 Format (DE 7143 = SA): Alphanumeric (no space padding) Minimum length: 1 Maximum length: 35 R 7143 Item type identification code C an..3 Coded identification of an item type. IN Buyer's item number Required: Used to provide additional clarity to a product ordered registered in DSE's buying application ebusiness MIG (2.0) 28 February, 2010

29 Purchase Order Message (ORDERS) SA (stock code). Supplier's article number Required: Used to provide the vendor's own reference to an item ordered. In the case where Vendor reference number is not known, this segment will be displayed with the value UNKNOWN. ebusiness MIG (2.0) 29 February, 2010

30 Purchase Order Message (ORDERS) Segment: IMD Item Description Position: 1060 Group: Segment Group 28 (Line Item) Conditional (Required) Level: 2 Usage: Conditional (Required) Max Use: 99 Purpose: A segment for describing additional identification to the product specified in the LIN segment in relation to product description. Dependency Notes: Notes: This segment is used to provide item description registered in DSE's buying applications. Example: DSE's item description shown in IMD segment. LIN :SRV' PIA :IN' PIA Y:SA' IMD+F++:::EXAMPLE PRODUCT 001' R 7077 DESCRIPTION FORMAT CODE C 1 an..3 Code specifying the format of a description. F Free-form D C272 ITEM CHARACTERISTIC C 1 To provide the characteristic of the item being described. D 7081 Item characteristic code C an..3 Code specifying the characteristic of an item. R C273 ITEM DESCRIPTION C 1 Description of an item. X 7009 Item description code C an..17 X 1131 Code list identification code C an..17 X 3055 Code list responsible agency code C an..3 R 7008 Item description C an..256 Free form description of an item. Required: Free form description of an item for DSE purchase orders. R 7008 Item description C an..256 Free form description of an item. Required: Free form description of an item for DSE purchase orders. ebusiness MIG (2.0) 30 February, 2010

31 Purchase Order Message (ORDERS) Segment: QTY Quantity Position: 1080 Group: Segment Group 28 (Line Item) Conditional (Required) Level: 2 Usage: Mandatory Max Use: 3 Purpose: A segment identifying the product quantities e.g. ordered quantity. Dependency Notes: Notes: This segment is used to provide all quantities related to an item ordered including total item ordered quantity, (DE 6063 = 21) Example: The quantity ordered is 90 (each). QTY+21:90:EA' M C186 QUANTITY DETAILS M 1 Quantity information in a transaction, qualified when relevant. M 6063 Quantity type code qualifier M an..3 Code qualifying the type of quantity. 21 Ordered quantity Required: Ordered quantity for the item. M 6060 Quantity M an..35 Alphanumeric representation of a quantity. Format: Numeric (ZZZZZZZZZ9) Minimum length: 1 Maximum length: 10 D 6411 Measurement unit code C an..3 Code specifying the unit of measurement. BX Box Conditional: Unit of measurement expressed as box. CEN Hundred Conditional: Unit of measurement expressed as hundred. EA Each Conditional: Unit of measurement expressed as each. GRM Gram Conditional: Unit of measurement expressed as gram. KGM Kilogram Conditional: Unit of measurement expressed as each. KIL Kilo (thousand) Conditional: Unit of measurement expressed as thousand. LTR Liter Conditional: Unit of measurement expressed as liter. MIL Thousand ebusiness MIG (2.0) 31 February, 2010

32 Purchase Order Message (ORDERS) MLT MTR PCK Conditional: Unit of measurement expressed as thousand. Milliliter Conditional: Unit of measurement expressed as milliliter. Meter Conditional: Unit of measurement expressed as meter. Pack Conditional: Unit of measurement expressed as pack. ebusiness MIG (2.0) 32 February, 2010

33 Purchase Order Message (ORDERS) Segment: DTM Date/Time/Period Position: 0030 Group: Level: 1 Usage: Mandatory Max Use: 3 Purpose: A segment specifying required delivery dates related to the line item. Dependency Notes: Notes: All date and time presented in DTM segment will be provided in CCYYMMDD format, i.e. with DE 2379 = 102. Dependency note: Requested delivery date (DE 2005 = 2) will be included in all purchase order lines. Example: Delivery date requested by the DSE buyer. DTM+2: :102' M C507 DATE/TIME/PERIOD M 1 Date and/or time, or period relevant to the specified date/time/period type. M 2005 Date or time or period function code qualifier M an..3 Code qualifying the function of a date, time or period. 2 Delivery date/time, requested Required: Refer to the Dependency Note above. R 2380 Date or time or period text C an..35 The value of a date, a date and time, a time or of a period in a specified representation. R 2379 Date or time or period format code C an..3 Code specifying the representation of a date, time or period. 102 CCYYMMDD ebusiness MIG (2.0) 33 February, 2010

34 Purchase Order Message (ORDERS) Segment: MOA Monetary Amount Position: 1120 Group: Level: 1 Usage: Mandatory Max Use: 2 Purpose: A segment giving the total amounts for each line item. Dependency Notes: Notes: This segment provides calculated monetary total amount for the line item. Total value of this line item, exclusive of GST. This value includes any discounts or surcharges. MOA+128: ' Total value of GST for this line item. MOA+369:100.00' M C516 MONETARY AMOUNT M 1 Amount of goods or services stated as a monetary amount in a specified currency. M 5025 Monetary amount type code qualifier M an..3 Code qualifying the type of monetary amount. 128 Total amount Required: Total amount of Purchase Order line item exclusive of tax. 369 Goods and services tax Required: Total amount of GST in this Purchase Order line item. R 5004 Monetary amount C n..35 To specify a monetary amount. Format: Numeric (ZZZZZZZZZZ9.99) Minimum length: 4 Maximum length: 14 ebusiness MIG (2.0) 34 February, 2010

35 Purchase Order Message (ORDERS) Segment: FTX Free Text Position: 1200 Group: Segment Group 28 (Line Item) Conditional (Required) Level: 2 Usage: Conditional (Optional) Max Use: 2 Purpose: 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 computerto-computer exchanges such text will normally require the receiver to process this segment manually. Dependency Notes: Notes: This segment is used by DSE to display additional delivery information at line level. Dependency note: DE C108: This composite is only used if coded text cannot be used. Example: FTX+DEL+++ delivery text M 4451 TEXT SUBJECT CODE QUALIFIER M 1 an..3 Code qualifying the subject of the text. DEL Delivery information Conditional: Used by DSE to add location information at line level. Appears only for Multi ShipTo Orders LIN Extra product description Conditional: Used by DSE to add extra product description at line level. X 4453 FREE TEXT FUNCTION CODE C 1 an..3 X C107 TEXT REFERENCE C 1 R C108 TEXT LITERAL C 1 Free text; one to five lines. M 4440 Free text M an..512 Free form text. Alphanumeric Minimum length: 1 Maximum length: 512 M 4440 Free text C an..512 Free form text. Alphanumeric Minimum length: 1 Maximum length: 512 M 4440 Free text C an..512 Free form text. Alphanumeric ebusiness MIG (2.0) 35 February, 2010

36 Purchase Order Message (ORDERS) Minimum length: 1 Maximum length: 512 M 4440 Free text C an..512 Free form text. Alphanumeric Minimum length: 1 Maximum length: 512 M 4440 Free text C an..512 Free form text. Alphanumeric Minimum length: 1 Maximum length: 512 ebusiness MIG (2.0) 36 February, 2010

37 Purchase Order Message (ORDERS) Group: PRI Segment Group 32: Price Details Position: 1320 Group: Segment Group 28 (Line Item) Conditional (Required) Level: 2 Usage: Mandatory Purpose: A group of segments identifying the relevant pricing information for the goods or services ordered. Segment Summary User Pos. Seg. Req. Max. Group: Attribute No. ID Name Des. Use Repeat M 1330 PRI Price Details M 1 ebusiness MIG (2.0) 37 February, 2010

38 Purchase Order Message (ORDERS) Segment: PRI Price Details Position: 1330 (Trigger Segment) Group: Segment Group 32 (Price Details) Mandatory Level: 2 Usage: Mandatory Purpose: Dependency Notes: Notes: A segment to specify the price type and amount. The price used in the calculation of the line amount will be identified as 'price'. Each line in the purchase order is fully costed with the price loaded in DSE's order system at the time the order was created. The calculated price detailed in the purchase order will always be NET unit price, i.e. Gross price + Charges - Allowances. Example: The price is associated with 12 units, as priced by the supplier PRI+AAA: :::12:EA' Note that all prices are GST exclusive for Australian vendors. R C509 PRICE INFORMATION C 1 Identification of price type, price and related details Price code qualifier C an..3 Code qualifying a price. AAA Calculation net The unit price presented in DE C509 / 5118 includes allowances & charges. I.e. Gross price + Charges Allowances. AAB Calculation gross The unit price presented in DE C509 / 5118 is the gross price to which allowances/charges must be applied. R 5118 Price amount C n..15 To specify a price. Format: Numeric (ZZZZZZZZ9.9999) Minimum length: 6 Maximum length: 14 X 5375 Price type code C an..3 X 5387 Price specification code C an..3 D 5284 Unit price basis value C n..9 To specify the basis for a unit price. Dependent: This element is used to specify the basis for a unit price for orders. If the value is omitted, it is assumed that the unit price basis value is equal to 1. Example 1: QTY+21:3:EA' PRI+AAA: :::3:EA' Net Price relates to a set of 3 items PRI+AAB: :::3:EA' Gross Price relates to a set of 3 items ebusiness MIG (2.0) 38 February, 2010

39 Purchase Order Message (ORDERS) ALC+A+++1' MOA+204:-1.11' RTE+1:-5.00' Item Gross Value = ( / 3) * 3 = (rounded to 2 decimals. Gross Value is not transmitted) Item Net Value = Item Gross Value Total of Discounts and Surcharges Item Net Value = ( / 3) * = (rounded to 2 decimals. Transmitted in the MOA+128 segment). Note that the discount and surcharge may have up to 4 decimal places, however only 2 decimal places are transmitted on the EDI message). MOA+128:21.16' = This is the Item Net Value Example 2: QTY+21:3:EA' PRI+AAA: :::3:EA' PRI+AAB: :::3:EA' ALC+A+++1' MOA+204:-5.02' RTE+1:-10.00' Item Gross Value = * 3 = (rounded to 2 decimals. Gross Value is not transmitted) Item Net Value = Item Gross Value Total of Discounts and Surcharges Item Net Value = * = (rounded to 2 decimals. Transmitted in the MOA+128 segment) MOA+128:45.20' Format (DE 6411 = EA): Numeric (ZZZ9) Minimum length: 0 Maximum length: 4 R 6411 Measurement unit code C an..3 Code specifying the unit of measurement. BX Box Conditional: Unit of measurement expressed as box. CEN Hundred Conditional: Unit of measurement expressed as hundred. EA Each Conditional: Unit of measurement expressed as each. GRM Gram Conditional: Unit of measurement expressed as gram. KGM Kilogram Conditional: Unit of measurement expressed as each. KIL Kilo (thousand) Conditional: Unit of measurement expressed as thousand. ebusiness MIG (2.0) 39 February, 2010

40 Purchase Order Message (ORDERS) LTR Liter Conditional: Unit of measurement expressed as liter. MIL Thousand Conditional: Unit of measurement expressed as thousand. MLT Milliliter Conditional: Unit of measurement expressed as milliliter. MTR Meter Conditional: Unit of measurement expressed as meter. PCK Pack Conditional: Unit of measurement expressed as pack. Required: This element is used to specify the unit of measurement that the price based on the price basis quantity is based on. Expressed as an EAN code for each unit price basis quantity. ebusiness MIG (2.0) 40 February, 2010

41 Purchase Order Message (ORDERS) Segment: LOC Place/Location Identification Position: 1570 Group: Segment Group 37 (Place/Location) Conditional Level: 2 Usage: Conditional (Dependent) Purpose: A segment to identify a place or a location and/or related locations. Dependency Notes: Notes: Example: The delivery location is to DSE's assigned location: LOC ::9' M 3227 LOCATION FUNCTION CODE QUALIFIER M 1 an..3 Code identifying the function of a location. 7 Place of delivery R C517 LOCATION IDENTIFICATION C 1 Identification of a location by code or name. R 3225 Location name code C an..25 Code specifying the name of the location. Format: Alphanumeric (no space padding) Minimum length: 1 Maximum length: 14 X 1131 Code list identification code C an..17 R 3055 Code list responsible agency code C an..3 Code specifying the agency responsible for a code list. 9 EAN ebusiness MIG (2.0) 41 February, 2010

42 Purchase Order Message (ORDERS) Group: TAX Segment Group 38: Duty/Tax/Fee Details Position: 1610 Group: Segment Group 28 (Line Item) Conditional (Required) Level: 2 Usage: Conditional (Optional) 0 Purpose: A group of segments specifying tax related information, and when necessary, the location(s) to which that tax information relates. Segment Summary User Pos. Seg. Req. Max. Group: Attribute No. ID Name Des. Use Repeat M 1620 TAX Duty/Tax/Fee Details M 1 ebusiness MIG (2.0) 42 February, 2010

43 Purchase Order Message (ORDERS) Segment: TAX Duty/Tax/Fee Details Position: 1620 (Trigger Segment) Group: Segment Group 38 (Duty/Tax/Fee Details) Conditional (Optional) Level: 2 Usage: Mandatory Purpose: A segment specifying a tax type, category and rate, or exemption, relating to the line item. Dependency Notes: Notes: This segment is used to identify the tax rate related to the Purchase Order Item at line level. Example: TAX+7+GST+++:::10.00 M 5283 DUTY OR TAX OR FEE FUNCTION CODE M 1 an..3 QUALIFIER Code qualifying the function of a duty or tax or fee. 7 Tax R C241 DUTY/TAX/FEE TYPE C 1 Code and/or name identifying duty, tax or fee. R 5153 Duty or tax or fee type name code C an..3 Code specifying a type of duty, tax or fee. GST Goods and services tax X C533 DUTY/TAX/FEE ACCOUNT DETAIL C 1 X 5286 DUTY OR TAX OR FEE ASSESSMENT BASIS C 1 an..15 QUANTITY R C243 DUTY/TAX/FEE DETAIL C 1 Rate of duty/tax/fee applicable to commodities or of tax applicable to services. X 5279 Duty or tax or fee rate code C an..7 X 1131 Code list identification code C an..17 X 3055 Code list responsible agency code C an..3 R 5278 Duty or tax or fee rate C an..17 Rate of a duty or tax or fee. Format: Numeric (99.99) Minimum: 5 Maximum: 5 ebusiness MIG (2.0) 43 February, 2010

44 Purchase Order Message (ORDERS) Group: NAD Segment Group 39: Name and Address Position: 1650 Group: Segment Group 28 (Line Item) Conditional (Optional) Level: 2 Usage: Mandatory Purpose: A group of segments identifying the parties with associated information. Notes: Dependency Note: If all line items on a Purchase Order are to be delivered to the same ship to point, a SG2 NAD segment with DE C082 / 3035 = ST will be sent. If line items have multiple ship to points, no SG2 NAD segment with DE C082 / 3035 = ST will be sent, and the ship to points will be specified in a line item level NAD segment. Example: NAD+ST ::9++Villawood Distribution Centre+60 Marple Avenue+Villawood+NSW+2163' Segment Summary User Pos. Seg. Req. Max. Group: Attribute No. ID Name Des. Use Repeat M 1660 NAD Name and Address M 1 ebusiness MIG (2.0) 44 February, 2010

45 Purchase Order Message (ORDERS) Segment: NAD Name and Address Position: 1660 Group: Segment Group 39 (Name and Address) Optional Level: 1 Usage: Mandatory Purpose: Dependency Notes: Notes: A segment identifying names and addresses of the parties, in coded or clear form, and their functions relevant to the order. For examples, see explanatory notes in NAD Segment Group (SG39). M 3035 PARTY FUNCTION CODE QUALIFIER M 1 an..3 Code giving specific meaning to a party. ST Ship to Optional: Used to identify the ship to point for this line item (if all line items are to be delivered to one ship to point the NAD DE3035 = ST will be sent at header level). R C082 PARTY IDENTIFICATION DETAILS C 1 Identification of a transaction party by code. M 3039 Party identifier M an..35 Code specifying the identity of a party. Required: DSE Ship to GLN (DE 3035 = ST) Format (DE 3035 = ST): Alphanumeric Minimum length: 13 Maximum length: 13 X 1131 Code list identification code C an..17 R 3055 Code list responsible agency code C an..3 Code specifying the agency responsible for a code list. 9 Assigned by EAN X C058 NAME AND ADDRESS C 1 D C080 PARTY NAME C 1 Identification of a transaction party by name, one to five lines. Party name may be formatted. M 3036 Party name M an..35 Name of a party. Conditional: Party name in text to complement code if specified in DE C This will be a - Store name or DC name (DE 3035 = ST), Format: Alphanumeric Minimum length: 1 Maximum length: 35 ebusiness MIG (2.0) 45 February, 2010