You are on page 1of 50

The Purchase Order Message – For Direct Store Delivery

The Purchase Order (ORDERS)


Message Implementation Guideline
For Direct Store Delivery

Public Release: March 7, 2002


Document Version: 1.5
Updated: August 26, 2002
Status: FINAL

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 1 of 50


The Purchase Order Message – For Direct Store Delivery

CONTENT
ABOUT THIS IMPLEMENTATION GUIDELINE.......................................................................................... 3

EDI MESSAGE FLOW ........................................................................................................................................ 4

DOCUMENT HISTORY...................................................................................................................................... 5

DATA SEGMENT CLARIFICATION ............................................................................................................... 6

THE UN/EDIFACT ENVELOP STRUCTURE ................................................................................................. 7

MESSAGE EXAMPLE....................................................................................................................................... 46
MAX IMPLEMENTATION OPTION ....................................................................................................................... 46
MED IMPLEMENTATION OPTION ....................................................................................................................... 48
MIN IMPLEMENTATION OPTION ........................................................................................................................ 49
SPECIAL IMPLEMENTATION OPTION ................................................................................................................... 50

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 2 of 50


The Purchase Order Message – For Direct Store Delivery

About this Implementation Guideline


The B2B electronic commerce team is responsible for the specification of electronic data
interchanges within Woolworths. Before your company commences implementing this
message, it is vital that contact is made with the team to confirm specific data requirements
Woolworths has with your company.

This implementation provides instructions for delivery to direct to Woolworths Supermarkets


Stores referenced by EAN compliant Global Location Numbers (GLN).

There are more than 700 stores listed in the Woolworths National Store Directory, hence
they are not included in this document. Stores information will be published on the
Woolworths vendor’s information website. All updates and site availability will be
communicated accordingly. Alternatively, a list may be provided in Excel format on request.

For all other queries relating to this implementation, contact can be made to Joe Attard via
email at jattard@woolworths.com.au or by telephone at (02) 8732 5492.

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 3 of 50


The Purchase Order Message – For Direct Store Delivery

EDI Message Flow


The following diagrams illustrate the flow of this message relative to the overall electronic
trading potentially conducted between Woolworths and your company.

For Distribution Centre Delivery (DC)

ORDERS
CONTRL

ORDRSP
CONTRL

For Direct Store Delivery (DSD)

ORDERS
CONTRL

For Financial Transactions

EFT

REMADV
CONTRL

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 4 of 50


The Purchase Order Message – For Direct Store Delivery

Document History
Revision Date Description By
Number
Sep 2001 Initial release JB
1.4 19/08/2002 Revised for multiple implementation options PN

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 5 of 50


The Purchase Order Message – For Direct Store Delivery

Data Segment Clarification


This section should be read in conjunction with the Segment Layout, which indicates mandatory,
conditional and repeating requirements.
The following guidelines and principles apply to the whole message and are intended to facilitate the
understanding and implementation of the message:
All specified dates/times specified in the message envelops (UNB & UNG) should be in the format
‘YYMMDD/HHMM’. Dates/times specified within contents of individual messages are specified
according to business requirements of Woolworths and its trading community and may vary unless all
parties involved in the transaction agree that there is a functional requirement for an alternative format.
Conditional data that is not required in the message should not be included.

Notes
The segments are presented in the sequence in which they appear in the message. The segment or
segment group tag is followed by the Mandatory, Conditional indicator, the maximum number of
occurrences and the segment description.
Additionally, there are additional types of status for data elements with a Conditional UN/EDIFACT status,
whether for simple, component or composite data elements. These are listed below and can be identified
when relevant by the following abbreviations:

The following convention will be used for the entire document, applicable to the usage of segment
groups, segments, composite and data elements:

Abbreviation Usage, Attribute Description


O Segment / data element defined as optional by standard specification but may be used in
this implementation, ie. at the sender’s discretion.
D Dependent – Segment usage depend on other segment / data element
M Mandatory – Required as triggering segment / data element
M/U Must Use – Required as specified
C Conditional – Data element used based on the conditions specified
Rec Recommended – Optional data segment / element used at the discretion of the sender and
is recommended to provide additional information complimentary to other elements in the
same context.
NR or Not Rec Not recommended for use for compliance with international standard guidelines.
X or N/U Segment / data element defined as optional by standard specification and are not required
for this Implementation.

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 6 of 50


The Purchase Order Message – For Direct Store Delivery

The UN/EDIFACT Envelop Structure


United Nations – Electronic Data Interchange For Administration, Commerce and Transportation
Message Structure (UN/EDIFACT)

UNA Service string advice (definition of delimiters)


UNB Interchange header (message envelop)
UNG Functional group header (application routing) – Mutually agreed between parties
UNH Message header – First message

Message content (I.e. ORDERS)

UNT Message trailer – First message

UNH Message header – Second message

Message content (I.e. REMADV)

UNT Message trailer – Second message


UNE Functional group trailer – Mutually agreed between parties
UNZ Interchange trailer

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 7 of 50


The Purchase Order Message – For Direct Store Delivery

Segment: UNA Service String Advice


Position:
Group:
Level: 0
Usage: Conditional
Max Use: 1
Purpose: To define the characters selected for use as delimiter and indicator 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 sequence, the following functions:
Notes: Example:

UNA:+.? ‘

Data Element Summary


Data Component
Element Element Name Attributes
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
Insert space character use All valid standard codes are 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

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 8 of 50


The Purchase Order Message – For Direct Store Delivery

Segment: UNB Interchange Header


Position: 0010
Group:
Level: 0
Usage: Conditional (Required)
Max Use: 1
Purpose: To start, identify and specify an interchange
Notes: Example:

UNB+UNOA:3+9300633025595:ZZ+9311658000001:ZZ+020219:0705+98761’

Data Element Summary


Data Component
Element Element Name Attributes
M S001 SYNTAX IDENTIFIER M
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.
UNOA UN/ECE level A
M 0002 Syntax version number M n1
Version number of the syntax identified in the syntax identifier (0001).
3 Syntax Version Number
M S002 INTERCHANGE SENDER M
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.
Example:

For Distribution Centre Delivery:


9300633025540 – Messages exchanged in test mode
9300633025571 – Messages exchanged in production

For Direct Store Delivery:


9300633025601 – Messages exchanged in test mode
9300633025595 – Messages exchanged in production

0007 Partner identification code qualifier C an..4


Qualifier referring to the source of codes for the identifiers of
interchanging partners.
ZZ Mutually defined
M S003 INTERCHANGE RECIPIENT M
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.
0007 Partner identification code qualifier C an..4
Qualifier referring to the source of codes for the identifiers of
interchanging partners.
ZZ Mutually defined
M S004 DATE AND TIME OF PREPARATION M
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.
th
Date in YYMMDD format, Eg. March 7 , 2002 is presented as 020307

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 9 of 50


The Purchase Order Message – For Direct Store Delivery

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, Eg. 3:30 PM is presented as 1530
M 0020 INTERCHANGE CONTROL REFERENCE M an..14
Unique reference assigned by the sender to an interchange.
Same as UNZ02 DE 0020
X 0035 TEST INDICATOR C n1
Indication that the interchange is a test.
As individual addresses are used for each exchange mode for test or
production, this element is not used for this implementation

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 10 of 50


The Purchase Order Message – For Direct Store Delivery

Segment: UNG Functional Group Header


Position: 0020
Group:
Level: 0
Usage: Conditional (Optional)
Max Use: 1
Purpose: To head, identify and specify a Functional Group
Notes: For messages generated by Woolworths, the functional group UNG – UNE is
provided upon request from vendors.

For all messages generated from Woolworths system with UNG – UNE
segments, all messages returned to Woolworths from vendors are expected to
include the equivalent UNG – UNE segments. This does not apply to the Syntax
and Report (CONTRL) message.

Usually, DE 0040 and DE 0044 are used for application routing purposes
according to agreement between Woolworths and your company trading
divisions. These elements may be presented as the division identification.
Alternatively they may be presented as the sender and receiver ID shown in
th
segment UNG DE 0004 and DE 0010 less the check digit (13 position) as a 12-
digit application codes, respectively.

Example:

UNG+ORDERS+930063302559:ZZ+931165800000:ZZ+020219:0705+31715+U
N+D:96A:EAN008

Data Element Summary


Data Component
Element Element Name Attributes
M 0038 FUNCTIONAL GROUP IDENTIFICATION M an..6
Identification of the one type of messages in a functional group.
ORDERS Purchase orders message group
M S006 APPLICATION SENDER IDENTIFICATION M
Identification of the sender’s division, department etc. from which a
group of messages is sent.
M 0040 Application sender identification M an..35
Name or code identifying the originating division, department etc. within
the sender’s organisation.
0007 Partner identification code qualifier C an..4
Qualifier referring to the source of codes for the identifiers of
interchanging partners.
ZZ Mutually defined
M S007 APPLICATION RECIPIENTS IDENTIFICATION M
Identification of the recipient’s division, department etc. for which a
group of messages is intended.
M 0044 Application recipient’s identification M an..35
Name or code identifying the division, department etc. within the
recipient’s organisation for which the group of messages is intended.
0007 Partner identification code qualifier C an..4
Qualifier referring to the source of codes for the identifiers of
interchanging partners.
ZZ Mutually defined
M S004 DATE AND TIME OF PREPARATION M
Date and time of preparation of the interchange.
M 0017 Date of preparation M n6

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 11 of 50


The Purchase Order Message – For Direct Store Delivery

Local date when an interchange or a functional group was prepared.


M 0019 Time of preparation M n4
Local time of day when an interchange or a functional group was
prepared.
M 0048 FUNCTIONAL GROUP REFERENCE NUMBER M an..14
Reference number for the functional group assigned by and unique
within the sender’s division, department etc.
Same as UNE02 DE 0048
M 0051 CONTROLLING AGENCY M an..2
Code identifying the agency controlling the specification, maintenance
and publication of the message type.
UN UN/ECE/TRADE/WP.4, United Nations Standard
Messages (UNSM)
M S008 MESSAGE VERSION M
Specification of the type of messages in the functional group.
M 0052 Message type version number M an..3
Version number of a message type.
D Draft Directory
M 0054 Message type release number M an..3
Release number within the current message type version number
(0052).
96A Directory Version
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.
EAN008 Version Control Number for ORDERS

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 12 of 50


The Purchase Order Message – For Direct Store Delivery

Segment: UNE Functional Group Trailer


Position: 0030
Group:
Level: 0
Usage: Conditional (Optional)
Max Use: 1
Purpose: To end and check the completeness of a Functional Group
Notes: For messages generated by Woolworths, the functional group UNG – UNE is
provided upon request from vendors.

For all messages generated from Woolworths system with UNG – UNE
segments, all messages returned to Woolworths from vendors are expected to
include the equivalent UNG – UNE segments. This does not apply to the Syntax
and Report (CONTRL) message.

Example:

UNE+1+31715’

Data Element Summary


Data Component
Element Element Name Attributes
M 0060 NUMBER OF MESSAGES M n..6
A count of the number of messages in a functional group.
M 0048 FUNCTIONAL GROUP REFERENCE NUMBER M an..14
Reference number for the functional group assigned by and unique
within the sender’s division, department etc.
Same as UNG05 DE 0048

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 13 of 50


The Purchase Order Message – For Direct Store Delivery

Segment: UNZ Interchange Trailer


Position: 0040
Group:
Level: 0
Usage: Conditional (Optional)
Max Use: 1
Purpose: To end and check the completeness of an interchange.
Notes: Example:

UNZ+1+98761’

Data Element Summary


Data Component
Element Element Name Attributes
M 0036 INTERCHANGE CONTROL COUNT M n..6
Count either of the number of messages or, if used, of the number of
functional groups in an interchange.
M 0020 INTERCHANGE CONTROL REFERENCE M an..14
Unique reference assigned by the sender to an interchange.
Same as UNB05 DE 0020

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 14 of 50


The Purchase Order Message – For Direct Store Delivery

ORDERS Purchase Order Message

Introduction:
A message specifying details for goods or services ordered under conditions agreed between
Woolworths Supermarkets and its vendors.

This Message Implementation Guide (MIG) is specifically designed to support the transmission of
order flow for Direct Store Delivery (DSD).

Notes:

This MIG is based on the EANCOM97 Australian Retail Industry Implementation Guidelines for the
Purchase Order Message derived from the international UN / EDIFACT directory D.96A. Visit the EAN
Australia's website at http://www.ean.com.au/ean_support/_Download_Centre.asp for more information
or download all other standard guidelines used by the Australian Retail Industry.

Woolworths facilitates three implementation options to provide your company with a cost-effective and
suitable path for your migration to exchanging data electronically with us using EDI. Please consult with
our implementation specialist should you need assistance in choosing available implementation options:

MIN – Minimum data exchange to exclude all complimentary free text data and to minimise your EDI
transaction cost. This option is best for companies that have systems and processes in place to interprete
coded data such as product item reference using EAN compliance code (GTIN), or store location using
EAN Global Location Number (GLN) without referencing their equivalent text descriptions.

MED – Medium data exchange to provide limited complimentary free text data for crosschecking and
referencing purposes. Text description and other references are generated from Woolworths' applications
and may not reflect the same as stored in your company's applications.

MAX – Maximum data exchange to provide full coded and complimentary free text data. This option may
be best used when your company is first migrated to using EDI for electronic data exchange in the
production pilot phase.

Heading Section:
Pos. Seg. Req. Group Notes and
No. ID Name Des. Max.Use Repeat Comments

M 0010 UNH Message Header M 1


M 0020 BGM Beginning of Message M 1
M 0030 DTM Date/Time/Period M 35
O 0080 Segment Group 1: RFF C 10
M 0090 RFF Reference M 1

O 0110 Segment Group 2: NAD-SG5 C 99


M 0120 NAD Name and Address M 1
O 0210 Segment Group 5: CTA-COM C 5
M 0220 CTA Contact Information M 1
O 0230 COM Communication Contact C 5

Detail Section:
Pos. Seg. Req. Group Notes and
No. ID Name Des. Max.Use Repeat Comments

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 15 of 50


The Purchase Order Message – For Direct Store Delivery

O 0930 Segment Group 25: LIN-PIA-IMD-QTY- C 200000


SG28-SG29
M 0940 LIN Line Item M 1
O 0950 PIA Additional Product Id C 25
O 0960 IMD Item Description C 99
O 0980 QTY Quantity C 10
O 1180 Segment Group 28: PRI C 25
M 1180 PRI Price Details M 1

O 1240 Segment Group 29: RFF C 10


M 1250 RFF Reference M 1

Section Control:
Pos. Seg. Req. Group Notes and
No. ID Name Des. Max.Use Repeat Comments

M 2090 UNS Section Control M 1

Summary Section:
Pos. Seg. Req. Group Notes and
No. ID Name Des. Max.Use Repeat Comments

O 2100 MOA Monetary Amount C 12


O 2110 CNT Control Total C 10
M 2160 UNT Message Trailer M 1

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 16 of 50


The Purchase Order Message – For Direct Store Delivery

Segment: UNH Message Header


Position: 0010
Group:
Level: 0
Usage: Mandatory
Max Use: 1
Purpose: A service segment starting and uniquely identifying each order message.
Comments:
Notes: This segment is used to head, identify and specify a message.

Example :
UNH+000001+ORDERS:D:96A:UN:EAN008'

Data Element Summary


Data Component
Element Element Name Attributes
M 0062 MESSAGE REFERENCE NUMBER M an..14
Unique message reference assigned by the sender.
Senders unique message reference. Sequence number of the
messages in the interchange. DE 0062 in the UNT will be exactly the
same. Sender generated.
M S009 MESSAGE IDENTIFIER M
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 directory
M 0054 Message type release number M an..3
Release number within the current message type version number
(0052).
96A Version 96A
M 0051 Controlling agency M an..2
Code identifying the agency controlling the specification, maintenance
and publication of the message type.
UN UN/ECE/TRADE/WP.4, United Nations Standard
Messages (UNSM)
M/U 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.
EAN008 EAN Version Control Number
X 0068 COMMON ACCESS REFERENCE C an..35
Reference serving as a key to relate all subsequent transfers of data to
the same business case or file.
X S010 STATUS OF THE TRANSFER C
Statement that the message is one in a sequence of transfers relating
to the same topic.
X 0070 Sequence message transfer number M n..2
Number assigned by the sender indicating that the message is an
addition or change of a previously sent message relating to the same
topic.
X 0073 First/last sequence message transfer indication C a1

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 17 of 50


The Purchase Order Message – For Direct Store Delivery

Indication used for the first and last message in a sequence of the
same type of message relating to the same topic.

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 18 of 50


The Purchase Order Message – For Direct Store Delivery

Segment: BGM Beginning of Message


Position: 0020
Group:
Level: 0
Usage: Mandatory
Max Use: 1
Purpose: A segment by which the sender must uniquely identify the order by means of
its name and number and when necessary its function.
Comments:
Notes: This segment is used to indicate the type and function of a message and to
transmit the identifying number. All references other than the document number
DE 1004 are in the RFF segment.

The purchase order number will be referenced in all further communications


relating to this order.

Example :

An original purchase order number D920512345. A purchase order response is


not required.
BGM+220+D920512345+9+NA'

A duplicate purchase order number D920512345. A purchase order response is


not required.
BGM+220+D920512345+7+NA'

A copy of the purchase order number D920512345 is sent to a broker. A


purchase order response is not required.
BGM+220+D920512345+31+NA'

Data Element Summary


Data Component
Element Element Name Attributes
M/U C002 DOCUMENT/MESSAGE NAME C
Identification of a type of document/message by code or name. Code
preferred.
M/U 1001 Document/message name, coded C an..3
Document/message identifier expressed in code.
220 Order
X 1131 Code list qualifier C an..3
Identification of a code list.
X 3055 Code list responsible agency, coded C an..3
Code identifying the agency responsible for a code list.
X 1000 Document/message name C an..35
Plain language identifier specifying the function of a
document/message.
M/U 1004 DOCUMENT/MESSAGE NUMBER C an..35
Reference number assigned to the document/message by the issuer.
Woolworths' purchase order number.
Format: Alphanumeric
Minimum length: 8
Maximum length: 10
M/U 1225 MESSAGE FUNCTION, CODED C an..3
Code indicating the function of the message.
7 = Duplicate: A purchase order resent upon request of the recipient.
9 = Original: An original transmission of a purchase order.
31 = Copy: A copy of an order for a third party for information purposes.

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 19 of 50


The Purchase Order Message – For Direct Store Delivery

O 4343 RESPONSE TYPE, CODED C an..3


Code specifying the type of acknowledgment required or transmitted.
AC Acknowledge - with detail and change
AI Acknowledge only changes
NA No acknowledgment needed

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 20 of 50


The Purchase Order Message – For Direct Store Delivery

Segment: DTM Date/Time/Period


Position: 0030
Group:
Level: 1
Usage: Mandatory
Max Use: 35
Purpose: 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.

Examples of the use of this DTM segment are a purchase order creation date,
a delivery date requested by Woolworths.
Comments:
Notes: Example :

This example shows that the purchase order was created on March 1st, 2002
DTM+137:20020301:102'

This example indicates that Woolworths requested the delivery date be March
15th, 2002
DTM+2:20020315:102'

Data Element Summary


Data Component
Element Element Name Attributes
M C507 DATE/TIME/PERIOD M
Date and/or time, or period relevant to the specified date/time/period
type.
M 2005 Date/time/period qualifier M an..3
Code giving specific meaning to a date, time or period.
2 Delivery date/time, requested
137 Document/message date/time
M/U 2380 Date/time/period C an..35
The value of a date, a date and time, a time or of a period in a specified
representation.
Date value in CCYYMMDD format.
M/U 2379 Date/time/period format qualifier C an..3
Specification of the representation of a date, a date and time or of a
period.
102 CCYYMMDD
DE 2005 = 137 (document creation date) only.

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 21 of 50


The Purchase Order Message – For Direct Store Delivery

Group: RFF Segment Group 1: Reference


Position: 0080
Group:
Level: 1
Usage: Conditional (Optional)
Max Use: 10
Purpose: A group of segments for giving references and where necessary, their dates,
relating to the whole message eg. contract number, import/export license
number, reservation number.

Segment Summary
Pos. Seg. Req. Max. Group:
No. ID Name Des. Use Repeat
M 0090 RFF Reference M 1

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 22 of 50


The Purchase Order Message – For Direct Store Delivery

Segment: RFF Reference


Position: 0090 (Trigger Segment)
Group: Segment Group 1 (Reference) Conditional (Optional)
Level: 1
Usage: Mandatory
Max Use: 1
Purpose: A segment identifying the reference by its number and where appropriate a
line number within a document.
Comments:
Notes: This segment is used to specify Woolworths' purchase order version number.
The version number commences at "001" and increments by 1 for each new
version.

Example :

RFF+BO:003'

Data Element Summary


Data Component
Element Element Name Attributes
M C506 REFERENCE M
Identification of a reference.
M 1153 Reference qualifier M an..3
Code giving specific meaning to a reference segment or a reference
number.
Woolworths' system uses this qualifier to indicate its purchase order
version number.
BO Blanket order number
M/U 1154 Reference number C an..35
Identification number the nature and function of which can be qualified
by an entry in data element 1153 Reference qualifier.
Woolworths purchase order version number
Format: Numeric
Minimum length: 3
Maximum length: 3
X 1156 Line number C an..6
Number of the line in the document/message referenced in 1154
Reference number.
X 4000 Reference version number C an..35
To uniquely identify a reference by its revision number.

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 23 of 50


The Purchase Order Message – For Direct Store Delivery

Group: NAD Segment Group 2: Name and Address


Position: 0110
Group:
Level: 1
Usage: Conditional (Optional)
Max Use: 99
Purpose: A group of segments identifying the parties with associated information.
Notes: Segment Group 2 (SG 2) is used to convey information relating to the supplier
and store's physical delivery address and contact details. The following usage
guidelines may be considered for your preferred implementation option:

MIN – Only NAD segment is used to convey information relating to the supplier
and delivery address as coded values. For example: Deliver to store number will
be provided with NAD DE 3035 = ST, DE 3039 (C082) = Store GLN code. NAD
composite elements C058, C080 and C059, segments CTA and COM will not be
used for this implementation option.

MED – Physical store address details will be provided within the NAD segment
structure. Segments CTA and COM will not be used for this implementation
option.

MAX – Store details including physical store address (NAD) and contact name
(CTA) and communication methods such as telephone and facsimile numbers
(COM) are provided as available.

Segment Summary
Pos. Seg. Req. Max. Group:
No. ID Name Des. Use Repeat
M 0120 NAD Name and Address M 1
0210 Segment Group 5: Contact Information C 5

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 24 of 50


The Purchase Order Message – For Direct Store Delivery

Segment: NAD Name and Address


Position: 0120 (Trigger Segment)
Group: Segment Group 2 (Name and Address) Conditional (Optional)
Level: 1
Usage: Mandatory
Max Use: 1
Purpose: A segment identifying names and addresses of the parties, in coded or clear
form, and their functions relevant to the order.

Woolworths uses the NAD segments to identify both the buying location in the
form of an EAN Global Location Number (GLN code) being a supermarket
store and the vendor number registered in Woolworths buying applications.
Comments:
Notes: Example:

Woolworths’ store 1211 is the buyer of this purchase order.


NAD+ST+9300633012113::9++DUBBO SUPERMARKET:GROCERY+ORANA
MALL WHEELER LANE+DUBBO+NSW+2830'

Vendor number assigned in Woolworths' buying applications as 51808014 used


in this order.
NAD+SU+51808014::92++WOW AUSTRALIA PTY LTD+7 MARMALADE
WAY+SYDENHAM+NSW+2204'

NAD segment is used to convey information relating to the supplier and physical
store delivery address. The following usage guidelines may be considered for
your preferred implementation option:

MIN – Only information relating to the supplier and delivery address are provided
as coded values. For example: Deliver to store number will be provided with NAD
DE 3035 = ST, DE 3039 (C082) = Store GLN code. Composite elements C058,
C080 and C059 will not be used for this implementation option.

MED & MAX – Physical store address details will be provided within the NAD
segment structure.

Data Element Summary


Data Component
Element Element Name Attributes
M 3035 PARTY QUALIFIER M an..3
Code giving specific meaning to a party.
ST Ship to
SU Supplier
Rec C082 PARTY IDENTIFICATION DETAILS C
Identification of a transaction party by code.
M 3039 Party id. identification M an..35
Code identifying a party involved in a transaction.
Woolworths’ location number in the form of an EAN Global Location
Number (GLN) or Woolworths' assigned vendor number
Format (DE 3035 = ST): EAN.13
Minimum length: 13
Maximum length: 13

Format (DE 3035 = SU): Numeric


Minimum length: 8
Maximum length: 8

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 25 of 50


The Purchase Order Message – For Direct Store Delivery

X 1131 Code list qualifier C an..3


Identification of a code list.
M/U 3055 Code list responsible agency, coded C an..3
Code identifying the agency responsible for a code list.
9 EAN (International Article Numbering association)
92 Assigned by buyer or buyer's agent
X C058 NAME AND ADDRESS C
Unstructured name and address: one to five lines.
X 3124 Name and address line M an..35
Free form name and address description.
X 3124 Name and address line C an..35
Free form name and address description.
X 3124 Name and address line C an..35
Free form name and address description.
X 3124 Name and address line C an..35
Free form name and address description.
X 3124 Name and address line C an..35
Free form name and address description.
O C080 PARTY NAME C
Identification of a transaction party by name, one to five lines. Party
name may be formatted.
This composite element is not used for MIN implementation option.
M 3036 Party name M an..35
Name of a party involved in a transaction.
Woolworths' store name in text used only when DE 3035 = ST
O 3036 Party name C an..35
Name of a party involved in a transaction.
Woolworths' store section name in text used only when DE 3035 = ST
X 3036 Party name C an..35
Name of a party involved in a transaction.
X 3036 Party name C an..35
Name of a party involved in a transaction.
X 3036 Party name C an..35
Name of a party involved in a transaction.
X 3045 Party name format, coded C an..3
Specification of the representation of a party name.
O C059 STREET C
Street address and/or PO Box number in a structured address: one to
three lines.
This composite element is not used for MIN implementation option.
M 3042 Street and number/p.o. box M an..35
Street and number in plain language, or Post Office Box No.
Woolworths' store street address used only when DE 3035 = ST
O 3042 Street and number/p.o. box C an..35
Street and number in plain language, or Post Office Box No.
Name and/or P.O. Box.
X 3042 Street and number/p.o. box C an..35
Street and number in plain language, or Post Office Box No.
X 3042 Street and number/p.o. box C an..35
Street and number in plain language, or Post Office Box No.
O 3164 CITY NAME C an..35

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 26 of 50


The Purchase Order Message – For Direct Store Delivery

Name of a city (a town, a village) for addressing purposes.


City/Town name used only when DE 3035 = ST
This data element is not used for MIN implementation option.
O 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9
Identification of the name of sub-entities (state, province) defined by
appropriate governmental agencies.
State code used only when DE 3035 = ST
This data element is not used for MIN implementation option.
O 3251 POSTCODE IDENTIFICATION C an..9
Code defining postal zones or addresses.
Postal code used only when DE 3035 = ST
This data element is not used for MIN implementation option.
X 3207 COUNTRY, CODED C an..3
Identification of the name of a country or other geographical entity as
specified in ISO 3166.
ISO 3166 two alpha code

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 27 of 50


The Purchase Order Message – For Direct Store Delivery

Group: CTA Segment Group 5: Contact Information


Position: 0210
Group: Segment Group 2 (Name and Address) Conditional (Optional)
Level: 2
Usage: Conditional (Optional)
Max Use: 5
Purpose: A group of segments giving contact details of the specific person or
department within the party identified in the NAD segment.
Notes: Segment Group 5 (SG 5), part of SG 2 (NAD), is used to convey contact details
including name, functional group, telephone and facsimile numbers where
available.

This information is suggested to be used when your company first migrates to


EDI and is used for crosschecking against the coded data such as the store
numbers (provided in EAN - GLN format).

It is recommended that, once your company has streamlined the order processes
by integrating this order to your application, a MIN implementation is adequate
for the exchange of only coded information to reduce transaction volume and
associated costs. Both segments CTA and COM are not used in the MIN
implementation option.

Segment Summary
Pos. Seg. Req. Max. Group:
No. ID Name Des. Use Repeat
M 0220 CTA Contact Information M 1
O 0230 COM Communication Contact C 5

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 28 of 50


The Purchase Order Message – For Direct Store Delivery

Segment: CTA Contact Information


Position: 0220 (Trigger Segment)
Group: Segment Group 5 (Contact Information) Conditional (Optional)
Level: 2
Usage: Mandatory
Max Use: 1
Purpose: A segment to identify Woolworths business manager, a person or department
to whom communications should be directed.
Comments:
Notes: This segment is used to identify contact names within Woolworths for queries
relating to pricing and policy.

Example :

CTA+PD+:CONTACT FULL NAME'

This segment is used only in MAX implementation option to provide contact


information relating to a store for the order to be delivered to when NAD DE 3035
= ST

Data Element Summary


Data Component
Element Element Name Attributes
M/U 3139 CONTACT FUNCTION, CODED C an..3
Code specifying the function of a contact (eg. department or person).
PD Purchasing contact
O C056 DEPARTMENT OR EMPLOYEE DETAILS C
Code and/or name of a department or employee. Code preferred.
O 3413 Department or employee identification C an..17
Internal identification code.
O 3412 Department or employee C an..35
The department or person within an organisational entity.
Woolworths business manager's name in charge of the category to be
purchased from the vendor.

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 29 of 50


The Purchase Order Message – For Direct Store Delivery

Segment: COM Communication Contact


Position: 0230
Group: Segment Group 5 (Contact Information) Conditional (Optional)
Level: 3
Usage: Conditional (Optional)
Max Use: 5
Purpose: A segment to identify a communications type and number for the contact
specified in the CTA segment.

Comments:
Notes: This segment identifies the telephone number for the business manager
identified in the preceding CTA segment

Example :

COM+(02) 9892 7111:TE'

This segment is used only in MAX implementation option to provide


communication methods including telephone and facsimile numbers relevant to
the contact details provided in segment CTA, relating to a store for the order to
be delivered to when NAD DE 3035 = ST

Data Element Summary


Data Component
Element Element Name Attributes
M C076 COMMUNICATION CONTACT M
Communication number of a department or employee in a specified
channel.
M 3148 Communication number M an..30
The communication number.
M 3155 Communication channel qualifier M an..3
Code identifying the type of communication channel being used.
TE Telephone

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 30 of 50


The Purchase Order Message – For Direct Store Delivery

Group: LIN Segment Group 25: Line Item


Position: 0930
Group:
Level: 1
Usage: Conditional (Optional)
Max Use: 200000
Purpose: A group of segments providing details of the individual ordered items. This
Segment group may be repeated to give sub-line details.
Notes: Segment Group 25 (SG 25) is used to convey information relating to the line item
being ordered, including product codes in EAN (GTIN or TUN) format, optional
Woolworths and vendor's item reference number and product description.

The exchange of repetitive information such as product description may increase


transaction volume and associated costs. To enable further reduction in these
costs, Woolworths facilitates the following usage guidelines and recommend they
are considered for selecting your implementation option:

MIN – Only LIN segment is used to convey information relating to the product
being ordered in standard coded values, such as GTIN (Global Trade Item
Number), EAN or TUN (Trade Unit Number). This means that segments PIA and
IMD are not used in the MIN implementation option.

MED – In addition to the coded item reference (GTIN, EAN and TUN) mentioned
in the MIN implementation option, only the equivalent vendor's item reference
number is provided using segment PIA with DE 7143 = SA and DE 7140
represents the vendor's item reference number.

MAX – Full item details are provided including standard compliant coded
information such as GTIN, EAN and TUN (segment LIN), Woolworths and
vendor's equivalent item reference number (segment PIA) and product
description (segment IMD).

In the case where there is no equivalent standard coded item reference number
including GTIN, EAN or TUN; Woolworths and vendor's item reference number
must be used and composite element C212 in segment LIN is not used. Further
product description will be provided in segment IMD for the MAX implementation
option.

Special arrangement and agreement between Woolworths and the vendor's


stakeholders must be reached should this option be required.

Segment Summary
Pos. Seg. Req. Max. Group:
No. ID Name Des. Use Repeat
M 0940 LIN Line Item M 1
O 0950 PIA Additional Product Id C 25
O 0960 IMD Item Description C 99
O 0980 QTY Quantity C 10
1180 Segment Group 28: Price Details C 25
1240 Segment Group 29: Reference C 10

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 31 of 50


The Purchase Order Message – For Direct Store Delivery

Segment: LIN Line Item


Position: 0940 (Trigger Segment)
Group: Segment Group 25 (Line Item) Conditional (Optional)
Level: 1
Usage: Mandatory
Max Use: 1
Purpose: A segment identifying the line item by the line number and configuration level,
and additionally, identifying the product or service ordered.
Comments:
Notes: The detail section of the Purchase Order is formed by a repeating group of
segments, always starting with the LIN segment. Each occurrence of LIN will
usually correspond to a different product being ordered.

This implementation accepts the product code in one of the following EAN
registered item codes:

- GTIN: Global Trade Item Number consistent with EAN guidelines.


- EAN.13 also known as APN (Australian Production Number)
- EAN.14 also known as Trade Unit Number (TUN)
- TUN: Trade Unit Number may be in the same form as an EAN.13

Example :
LIN+1++9300633543211:EN'

Dependency Notes :

In the case where there is no equivalent standard coded item reference number including
GTIN, EAN or TUN; Woolworths and vendor’s item reference number must be provided in
segment PIA and composite element C212 in segment LIN is not used.

Example:
LIN+4’
(additional product information must be provided in segment PIA)

Special arrangement and agreement between Woolworths and the vendor’s


stakeholders must be reached should this option be required.

Data Element Summary


Data Component
Element Element Name Attributes
M/U 1082 LINE ITEM NUMBER C n..6
Serial number designating each separate item within a series of
articles.
Application generated number of the count of the order lines. The line
number must be unique within the current message, ie. within UNH –
UNT message loop.
X 1229 ACTION REQUEST/NOTIFICATION, CODED C an..3
Code specifying the action to be taken or already taken.
D C212 ITEM NUMBER IDENTIFICATION C
Goods identification for a specified source.
M/U 7140 Item number C an..35
A number allocated to a group or item.
Used only if the product code is a registered EAN code.
Format: EAN
Minimum length: 13
Maximum length: 14

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 32 of 50


The Purchase Order Message – For Direct Store Delivery

GTIN Global Trade Item Number (EAN.13)


TUN Trade Unit Number (EAN.13 or EAN.14)
M/U 7143 Item number type, coded C an..3
Identification of the type of item number.
Used only if the product code is a registered EAN code.
EN International Article Numbering Association (EAN)
X 1131 Code list qualifier C an..3
Identification of a code list.
X 3055 Code list responsible agency, coded C an..3
Code identifying the agency responsible for a code list.
X C829 SUB-LINE INFORMATION C
To provide an indication that a segment or segment group is used to
contain sub-line or sub-line item information and to optionally enable
the sub-line to be identified.
X 5495 Sub-line indicator, coded C an..3
Indication that the segment and/or segment group is used for sub-line
item information.
X 1082 Line item number C n..6
Serial number designating each separate item within a series of
articles.
X 1222 CONFIGURATION LEVEL C n..2
Number indicating the level of an object which is in a hierarchy.
X 7083 CONFIGURATION, CODED C an..3
Code indicating the status of the sub-line item in the configuration.

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 33 of 50


The Purchase Order Message – For Direct Store Delivery

Segment: PIA Additional Product Id


Position: 0950
Group: Segment Group 25 (Line Item) Conditional (Optional)
Level: 2
Usage: Conditional (Optional)
Max Use: 25
Purpose: A segment providing either additional identification to the product specified in
the LIN segment.
Comments:
Notes: This segment is used to specify a product item number assigned by Woolworths
or by the vendor as an additional or alternative identification to which may be
detailed in the LIN segment.

Examples :

A buyer assigned item number ABC1234 is used instead of an EAN code


PIA+1+ABC1234:IN’

The product may be cross-referenced with a vendor’s own item number


PIA+1+0067DE:SA’

PIA segment is used to provide either additional or alternative identification of a


product item on order if required. More specifically, it’s used only for MED and
MAX implementation options as follows:

MED – used to provide the vendor’s item reference number equivalent to that
provided in the LIN segment in the form of a GTIN, EAN or TUN. Only DE 7143 =
SA and DE 7140 are provided representing the vendor’s item reference number.

MAX – both Woolworths and vendor’s item reference numbers are provided and
may be used to align product data across systems. Further product description
will be provided in segment IMD for the MAX implementation option.

Data Element Summary


Data Component
Element Element Name Attributes
M 4347 PRODUCT ID. FUNCTION QUALIFIER M an..3
Indication of the function of the product code.
1 Additional identification
M C212 ITEM NUMBER IDENTIFICATION M
Goods identification for a specified source.
M/U 7140 Item number C an..35
A number allocated to a group or item.
M/U 7143 Item number type, coded C an..3
Identification of the type of item number.
IN Buyer’s item number
SA Supplier’s article number
X 1131 Code list qualifier C an..3
Identification of a code list.
X 3055 Code list responsible agency, coded C an..3
Code identifying the agency responsible for a code list.
X C212 ITEM NUMBER IDENTIFICATION C
Goods identification for a specified source.
X 7140 Item number C an..35
A number allocated to a group or item.

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 34 of 50


The Purchase Order Message – For Direct Store Delivery

X 7143 Item number type, coded C an..3


Identification of the type of item number.
X 1131 Code list qualifier C an..3
Identification of a code list.
X 3055 Code list responsible agency, coded C an..3
Code identifying the agency responsible for a code list.
X C212 ITEM NUMBER IDENTIFICATION C
Goods identification for a specified source.
X 7140 Item number C an..35
A number allocated to a group or item.
X 7143 Item number type, coded C an..3
Identification of the type of item number.
X 1131 Code list qualifier C an..3
Identification of a code list.
X 3055 Code list responsible agency, coded C an..3
Code identifying the agency responsible for a code list.
X C212 ITEM NUMBER IDENTIFICATION C
Goods identification for a specified source.
X 7140 Item number C an..35
A number allocated to a group or item.
X 7143 Item number type, coded C an..3
Identification of the type of item number.
X 1131 Code list qualifier C an..3
Identification of a code list.
X 3055 Code list responsible agency, coded C an..3
Code identifying the agency responsible for a code list.
X C212 ITEM NUMBER IDENTIFICATION C
Goods identification for a specified source.
X 7140 Item number C an..35
A number allocated to a group or item.
X 7143 Item number type, coded C an..3
Identification of the type of item number.
X 1131 Code list qualifier C an..3
Identification of a code list.
X 3055 Code list responsible agency, coded C an..3
Code identifying the agency responsible for a code list.

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 35 of 50


The Purchase Order Message – For Direct Store Delivery

Segment: IMD Item Description


Position: 0960
Group: Segment Group 25 (Line Item) Conditional (Optional)
Level: 2
Usage: Conditional (Optional)
Max Use: 99
Purpose: A segment for describing the product or service being ordered.
Comments:
Notes: This implementation supports only the first DE7008, although there is a provision
for full product description in free text split in two occurrences of DE 7008. For
the current implementation, it is recommended that a convention for abbreviating
in describing the product in short form (max. 35 characters in the first DE 7008) .

Example :

Further description may accompany the product reference.


IMD+F++:::BUSN SHIRT – LG SL – MED – WHT’

This segment is used only in MAX implementation option to provide product


description in addition to Woolworths and vendor's item reference number
provided in segment PIA.

Data Element Summary


Data Component
Element Element Name Attributes
O 7077 ITEM DESCRIPTION TYPE, CODED C an..3
Code indicating the format of a description.
F Free-form
X 7081 ITEM CHARACTERISTIC, CODED C an..3
Code specifying the item characteristic being described.
Rec C273 ITEM DESCRIPTION C
Description of an item.
X 7009 Item description identification C an..17
Code from an industry code list which provides specific data about a
product characteristic.
X 1131 Code list qualifier C an..3
Identification of a code list.
X 3055 Code list responsible agency, coded C an..3
Code identifying the agency responsible for a code list.
O 7008 Item description C an..35
Plain language description of articles or products.
Format: Alphanumeric
Minimum length: 1
Maximum length: 35
X 7008 Item description C an..35
Plain language description of articles or products.
X 3453 Language, coded C an..3
Code of language (ISO 639-1988).
ISO 639 two alpha code
X 7383 SURFACE/LAYER INDICATOR, CODED C an..3
Code indicating the surface or layer of a product that is being
described.

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 36 of 50


The Purchase Order Message – For Direct Store Delivery

Segment: QTY Quantity


Position: 0980
Group: Segment Group 25 (Line Item) Conditional (Optional)
Level: 2
Usage: Conditional (Optional)
Max Use: 10
Purpose: A segment identifying the product quantities eg.

DE6063 = 21 for order quantity


DE6063 = 59 for quantity of consumer units within a traded unit

See explanation in MOA segment for price calculation formula.

Comments:
Notes: This segment is used to specify the ordered quantity the current line identified in
the LIN segment.

Example:

The quantity ordered for line is 320


QTY+21:320'

Number of consumer units in the traded unit is 24


QTY+59:24'

Data Element Summary


Data Component
Element Element Name Attributes
M C186 QUANTITY DETAILS M
Quantity information in a transaction, qualified when relevant.
M 6063 Quantity qualifier M an..3
Code giving specific meaning to a quantity.
21 Ordered quantity
59 Number of consumer units in the traded unit
M 6060 Quantity M n..15
Numeric value of a quantity.
Ordered quantity or order multiple (pack size) quantity
Format: Numeric integer
Picture: ZZZZZZZZZ9
X 6411 Measure unit qualifier C an..3
Indication of the unit of measurement in which weight (mass), capacity,
length, area, volume or other quantity is expressed.

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 37 of 50


The Purchase Order Message – For Direct Store Delivery

Group: PRI Segment Group 28: Price Details


Position: 1180
Group: Segment Group 25 (Line Item) Conditional (Optional)
Level: 2
Usage: Conditional (Optional)
Max Use: 25
Purpose: A group of segments identifying the relevant pricing information for the goods
or services ordered.

Segment Summary
Pos. Seg. Req. Max. Group:
No. ID Name Des. Use Repeat
M 1180 PRI Price Details M 1

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 38 of 50


The Purchase Order Message – For Direct Store Delivery

Segment: PRI Price Details


Position: 1180 (Trigger Segment)
Group: Segment Group 28 (Price Details) Conditional (Optional)
Level: 2
Usage: Mandatory
Max Use: 1
Purpose: A segment to specify the price type and amount. The price used in the
calculation of the line amount will be identified as 'Unit Price'.

DE5284 is the unit basis for calculating the line total value and accumulating
to the total order value. See explanation in MOA segment for price calculation
formula to cross check to total monetary value for this order.
Comments:
Notes: Each line in the purchase order is fully costed with the price loaded in
Woolworths order system at the time the order was created. The calculated price
detailed in the purchase order will always be NET unit price, ie. Gross price +
Charges - Allowances.

Example:

The price 14.98 is associated with 12 consumer units, as priced by the supplier
PRI+NTP:14.98::RTP:12:EA'

Data Element Summary


Data Component
Element Element Name Attributes
O C509 PRICE INFORMATION C
Identification of price type, price and related details.
M 5125 Price qualifier M an..3
Identification of a type of price.
NTP Calculation net - including taxes (EAN Code)
O 5118 Price C n..15
The monetary value associated with a purchase or sale of an article,
product or service.
Format: Numeric real
Picture: ZZZZZZZZZZ9.99
X 5375 Price type, coded C an..3
Code identifying the type of price of an item.
O 5387 Price type qualifier C an..3
Code identifying pricing specification.
RTP Retail price
O 5284 Unit price basis C n..9
Basis on which the unit price/rate applies.
This is the line cost quantity basis
Format: Numeric integer
Picture: ZZZ9
O 6411 Measure unit qualifier C an..3
Indication of the unit of measurement in which weight (mass), capacity,
length, area, volume or other quantity is expressed.
EA Each
X 5213 SUB-LINE PRICE CHANGE, CODED C an..3
Code indicating disposition of the price change of a sub-line item.

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 39 of 50


The Purchase Order Message – For Direct Store Delivery

Group: RFF Segment Group 29: Reference


Position: 1240
Group: Segment Group 25 (Line Item) Conditional (Optional)
Level: 2
Usage: Conditional (Optional)
Max Use: 10
Purpose: A group of segments giving references and where necessary, their dates,
relating to the line item.

Segment Summary
Pos. Seg. Req. Max. Group:
No. ID Name Des. Use Repeat
M 1250 RFF Reference M 1

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 40 of 50


The Purchase Order Message – For Direct Store Delivery

Segment: RFF Reference


Position: 1250 (Trigger Segment)
Group: Segment Group 29 (Reference) Conditional (Optional)
Level: 2
Usage: Mandatory
Max Use: 1
Purpose: A segment identifying the reference by its number and where appropriate a
line number within a document.
Comments:
Notes: This segment is used to identify the promotional references associated with the
line item, such as a deal number.

Example :

RFF+PD:987654321'

Data Element Summary


Data Component
Element Element Name Attributes
M C506 REFERENCE M
Identification of a reference.
M 1153 Reference qualifier M an..3
Code giving specific meaning to a reference segment or a reference
number.
PD Promotion deal number
M/U 1154 Reference number C an..35
Identification number the nature and function of which can be qualified
by an entry in data element 1153 Reference qualifier.
Woolworths' reference to a promotional or deal number.
Format: Alphanumeric
Minium length: 1
Maximum length: 10
X 1156 Line number C an..6
Number of the line in the document/message referenced in 1154
Reference number.
X 4000 Reference version number C an..35
To uniquely identify a reference by its revision number.

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 41 of 50


The Purchase Order Message – For Direct Store Delivery

Segment: UNS Section Control


Position: 2090
Group:
Level: 0
Usage: Mandatory
Max Use: 1
Purpose: A service segment placed at the start of the summary section to avoid
segment collision.
Comments:
Notes: This segment is used to separate the detail and summary sections of the
ORDERS message.

Example :

UNS+S'

Data Element Summary


Data Component
Element Element Name Attributes
M 0081 SECTION IDENTIFIER M a1
A character identifying the next section in a message.
S Detail/summary section separation

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 42 of 50


The Purchase Order Message – For Direct Store Delivery

Segment: MOA Monetary Amount


Position: 2100
Group:
Level: 1
Usage: Conditional (Optional)
Max Use: 12
Purpose: A segment giving the total monetary value for the order. If required, the
following formula will assist in validating the total value of the order against
each priced line item:

A = Quantity order for each line item (QTY DE6063 = 21)


B = Quantity of consumer units in a traded unit (QTY DE6063 = 59)
C = Unit basis per priced unit (PRI DE5284)
D = Unit price per deal quantity (PRI DE5118)
E = Calculated monetary value per line

E = D*A*B/C

Total order value is accumulated from each resultant value per line
Comments:
Notes: Example:

The total order value is $2,480.00


MOA+86:2480'

Data Element Summary


Data Component
Element Element Name Attributes
M C516 MONETARY AMOUNT M
Amount of goods or services stated as a monetary amount in a
specified currency.
M 5025 Monetary amount type qualifier M an..3
Indication of type of amount.
86 Message total monetary amount
O 5004 Monetary amount C n..18
Number of monetary units.
Format: Numeric real
Picture: ZZZZZZZZZZ9.99
X 6345 Currency, coded C an..3
Identification of the name or symbol of the monetary unit involved in the
transaction.
ISO 4217 three alpha code
X 6343 Currency qualifier C an..3
Code giving specific meaning to data element 6345 Currency.
X 4405 Status, coded C an..3
Provides information regarding a status.

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 43 of 50


The Purchase Order Message – For Direct Store Delivery

Segment: CNT Control Total


Position: 2110
Group:
Level: 1
Usage: Conditional (Optional)
Max Use: 10
Purpose: A segment by which control totals may be provided by the sender for
checking by the receiver.

Comments:
Notes: Show the totals of TUN's (total value accumulated from QTY segments) and
number of line items in this message (total count of LIN segments between the
current UNH - UNT loop).

Example:

Total TUN quantity is 396


CNT+11:396'

Total line items included in this response is 4


CNT+2:4'

Data Element Summary


Data Component
Element Element Name Attributes
M C270 CONTROL M
Control total for checking integrity of a message or part of a message.
M 6069 Control qualifier M an..3
Determines the source data elements in the message which forms the
basis for 6066 Control value.
2 Number of line items in message
11 Total number of packages
M 6066 Control value M n..18
Value obtained from summing the values specified by the Control
Qualifier throughout the message (Hash total).
Format: Numeric integer
Picture: ZZZZZZZZ9
X 6411 Measure unit qualifier C an..3
Indication of the unit of measurement in which weight (mass), capacity,
length, area, volume or other quantity is expressed.

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 44 of 50


The Purchase Order Message – For Direct Store Delivery

Segment: UNT Message Trailer


Position: 2160
Group:
Level: 0
Usage: Mandatory
Max Use: 1
Purpose: A service segment ending a message, giving the total number of segments in
the message and the control reference number of the message.
Comments:
Notes: The UNT segment is a mandatory UN/EDIFACT segment. It must always be the
last segment in the message.

Example :

UNT+48+ME000001'

Data Element Summary


Data Component
Element Element Name Attributes
M 0074 NUMBER OF SEGMENTS IN A MESSAGE M n..6
Control count of number of segments in a message.
The total number of segments in the message is detailed here inclusive
of the UNH and UNT segments.
M 0062 MESSAGE REFERENCE NUMBER M an..14
Unique message reference assigned by the sender.
The message reference number detailed here should equal the one
specified in the UNH segment.

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 45 of 50


The Purchase Order Message – For Direct Store Delivery

Message Example
The following examples contain sample data from Woolworths’ address 9300633025595 (from DSD
application) to a vendor’s address 9310113000004 to illustrate the document structure and syntax to
be used for the implementation of this message only.
Note that the following examples show each data segment on a separate line (separated with a
new line character) for easy reference only. A realistic transmission will present the entire
message as a continuous data stream with only an apostrophe or a single quote (DEC 39 or
HEX 27) as the segment delimiter.

MAX Implementation Option


Maximum data exchange to provide full coded and complimentary free text data. This option may be
best used when your company is first migrated to using EDI for electronic data exchange in the
production pilot phase.

UNA:+.? '
UNB+UNOA:3+9300633025595:ZZ+9310113000004:ZZ+020222:1517+103'
UNG+ORDERS+930063302559:ZZ+931011300000:ZZ+020225:1334+1236+UN+D:96A:
EAN008'
UNH+123600001+ORDERS:D:96A:UN:EAN008' Optional UNG – UNE functional
BGM+220+D00302350+9+NA' group included if required by the
DTM+137:20020509:102' vendor.
DTM+2:20020510:102'
RFF+BO:001'
NAD+ST+9300633043438::9++FORRESTFIELD:GROCERIES+30 STRELITZIA
AVENUE+FORRESTFIELD+WA+6058'
NAD+SU+51808014::92++WOW AUSTRALIA PTY LTD+7 MARMALADE
WAY+HARRINGTON+CA+1234'
CTA+PD+:KEVIN TATE'
COM+(02) 9892 7111:TE'
LIN+1++19311052010014:EN'
PIA+1+010770:IN'
PIA+1+ME0112:SA'
IMD+++:::WOW MTHYL SPIRIT'
QTY+21:2'
QTY+59:12'
PRI+NTP:28.38:::12:EA'
LIN+2++19311052020044:EN'
LIN 1 = 28.38*2*12/12 = 56.76
PIA+1+094400:IN' LIN 2 = 21.56*1*4/4 = 21.56
PIA+1+TUM0404:SA' -------
IMD+++:::WOW TURPENTINE MNR4L' TOTAL ORDER VALUE = 78.32
QTY+21:1'
QTY+59:4'
PRI+NTP:21.56:::4:EA'
UNS+S' End of first order bounded within
MOA+86:78.32' UNH – UNT segment loop. Hash total
CNT+11:3' shows count of all segments (28)
CNT+2:2' within this segment loop, including
UNT+28+123600001' the UNH and UNT segments

UNH+123600002+ORDERS:D:96A:UN:EAN008'
BGM+220+D00205698+9+NA'
DTM+137:20020509:102'
DTM+2:20020511:102'
RFF+BO:001'
NAD+ST+9300633031657::9++CHIRNSIDE PARK:GENERAL MERCHANDISE+
MAROONDAH H/WAY & EDWARDS ROAD+CHIRNSIDE PARK+VIC+3116'
NAD+SU+68408025::92++ABC COMPANY LIMITED+PO BOX

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 46 of 50


The Purchase Order Message – For Direct Store Delivery

654+BANKSTOWN+NSW+2200'
CTA+PD+:WARWICK SHERWOOD'
COM+(02) 9892 7111:TE'
LIN+1++19310419310101:EN'
PIA+1+071657:IN'
PIA+1+5200110:SA'
IMD+++:::CHLORINE HOMEBRAND 10KG'
QTY+21:3'
QTY+59:1'
PRI+NTP:40.83:::1:EA'
LIN+2++19311808551839:EN'
PIA+1+071658:IN'
PIA+1+5201404:SA'
IMD+++:::CHLORINE HOMEBRAND 4KG'
QTY+21:1'
QTY+59:4' LIN 1 = 40.83*3*1/1 = 122.49
PRI+NTP:74.83:::4:EA' LIN 2 = 74.83*1*4/4 = 74.83
LIN+3++19310419010100:EN' LIN 3 = 44.51*2*1/1 = 89.02
PIA+1+105802:IN' --------
TOTAL ORDER VALUE = 286.34
PIA+1+3005304:SA'
IMD+++:::HTH CHLORINE 10KG'
QTY+21:2'
QTY+59:1'
PRI+NTP:44.51:::1:EA' End of second order bounded within
RFF+PD:1246640' UNH – UNT segment loop. Hash total
UNS+S' shows count of all segments (36)
MOA+86:286.34' within this segment loop, including
CNT+11:6' the UNH and UNT segments
CNT+2:3'
UNT+36+123600002'
UNE+2+1236'
UNZ+1+103'

Optional UNG – UNE functional


group included as requested by the
vendor. The UNE segment indicates
that this group contains 2 messages

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 47 of 50


The Purchase Order Message – For Direct Store Delivery

MED Implementation Option


Medium data exchange to provide limited complimentary free text data for crosschecking and
referencing purposes. Text description and other references are generated from Woolworths'
applications and may not reflect the same as stored in your company's applications.

UNA:+.? '
UNB+UNOA:3+9300633025595:ZZ+9310113000004:ZZ+020222:1517+103'
UNG+ORDERS+930063302559:ZZ+931011300000:ZZ+020225:1334+1236+UN+D:96A:
EAN008'
UNH+123600001+ORDERS:D:96A:UN:EAN008' NAD segment details provided as per
BGM+220+D00302350+9+NA' MAX implementation option with CTA
and COM segments suppressed.
DTM+137:20020509:102'
DTM+2:20020510:102'
RFF+BO:001'
NAD+ST+9300633043438::9++FORRESTFIELD:GROCERIES+30 STRELITZIA
AVENUE+FORRESTFIELD+WA+6058'
NAD+SU+51808014::92++WOW AUSTRALIA PTY LTD+7 MARMALADE
WAY+HARRINGTON+CA+1234'
LIN+1++19311052010014:EN' LIN segment details provided as per
PIA+1+ME0112:SA' MAX implementation option with PIA
QTY+21:2' presenting vendor item reference and
QTY+59:12' IMD segment suppressed.
PRI+NTP:28.38:::12:EA'
LIN+2++19311052020044:EN'
PIA+1+TUM0404:SA'
QTY+21:1'
QTY+59:4'
End of first order bounded within
PRI+NTP:21.56:::4:EA' UNH – UNT segment loop. Hash total
UNS+S' shows 22 segments inclusive of UNH
MOA+86:78.32' and UNT instead of 28 segments as
CNT+11:3' shown in MAX implementation option
CNT+2:2'
UNT+22+123600001'
UNE+1+1236'
UNZ+1+103'

Optional UNG – UNE functional


group included as requested by the
vendor. The UNE segment indicates
that this group contains 1 message.

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 48 of 50


The Purchase Order Message – For Direct Store Delivery

MIN Implementation Option


Minimum data exchange to exclude all complimentary free text data and to minimise your EDI
transaction costs. This option is best for companies that have systems and processes in place to
interprete coded data such as product item reference using EAN compliance code (GTIN), or store
location using EAN Global Location Number (GLN) without referencing their equivalent text
descriptions.

UNA:+.? '
UNB+UNOA:3+9300633025595:ZZ+9310113000004:ZZ+020222:1517+103'
UNG+ORDERS+930063302559:ZZ+931011300000:ZZ+020225:1334+1236+UN+D:96A:
EAN008'
UNH+123600001+ORDERS:D:96A:UN:EAN008' NAD segment details provided
BGM+220+D00302350+9+NA' without complimentary free text
information. In this case, the coded
DTM+137:20020509:102' values may be used as the key to
DTM+2:20020510:102' look up associated details such as
RFF+BO:001' store’s physical address and contact
NAD+ST+9300633043438::9' details already aligned between
NAD+SU+51808014::92' Woolworths and your applications.
LIN+1++19311052010014:EN'
QTY+21:2'
QTY+59:12' LIN segment group provided without
complimentary information presented
PRI+NTP:28.38:::12:EA'
in segments PIA and IMD as in MED
LIN+2++19311052020044:EN' implementation option. In this case,
QTY+21:1' the coded values may be used as the
QTY+59:4' key to look up associated details
PRI+NTP:21.56:::4:EA' such as product information already
UNS+S' aligned between Woolworths and
MOA+86:78.32' your applications.
CNT+11:3'
CNT+2:2'
UNT+20+123600001'
UNE+1+1236'
UNZ+1+103' End of first order bounded within
UNH – UNT segment loop. Hash total
shows 20 segments inclusive of UNH
and UNT instead of 22 segments as
shown in MED implementation option

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 49 of 50


The Purchase Order Message – For Direct Store Delivery

Special Implementation Option


In the case where there is no equivalent standard coded item reference number including GTIN,
EAN or TUN, Woolworths and vendor's item reference number must be used and composite element
C212 in segment LIN is not used.

Special arrangement and agreement between Woolworths and the vendor's stakeholders must be
reached should this option be required.

UNA:+.? '
UNB+UNOA:3+9300633025595:ZZ+9310113000004:ZZ+020222:1517+103'
UNG+ORDERS+930063302559:ZZ+931011300000:ZZ+020225:1334+1236+UN+D:96A:
EAN008'
UNH+123600001+ORDERS:D:96A:UN:EAN008'
BGM+220+D00302350+9+NA'
DTM+137:20020509:102'
DTM+2:20020510:102'
RFF+BO:001'
NAD+ST+9300633043438::9++FORRESTFIELD:GROCERIES+30 STRELITZIA
AVENUE+FORRESTFIELD+WA+6058'
NAD+SU+51808014::92++WOW AUSTRALIA PTY LTD+7 MARMALADE
WAY+HARRINGTON+CA+1234'
CTA+PD+:KEVIN TATE' Where a standard compliant coded
COM+(02) 9892 7111:TE' item reference is not provided,
LIN+1' alternative identification will be
PIA+1+010770:IN' provided via PIA segment. Both
PIA+1+ME0112:SA' Woolworths and vendor’s item
IMD+++:::WOW MTHYL SPIRIT' reference number will be provided.
QTY+21:2' Further product description is also
included in IMD segment.
QTY+59:12'
PRI+NTP:28.38:::12:EA'
LIN+2'
PIA+1+094400:IN'
PIA+1+TUM0404:SA'
IMD+++:::WOW TURPENTINE MNR4L'
QTY+21:1'
QTY+59:4'
PRI+NTP:21.56:::4:EA'
UNS+S'
MOA+86:78.32'
CNT+11:3'
CNT+2:2'
UNT+28+123600001'
UNE+2+1236'
UNZ+1+103'

Based on EANCOM 1997 (UN/EDIFACT D96A) Page 50 of 50

You might also like