Está en la página 1de 35

Creating and Supplying an

Advanced Shipment Notification

‘How To’ Document


Contents

1. TIMESCALES FOR DELIVERY OF ASNS ........................................................................................1

2. TECHNICAL SPECIFICATION FOR ASNS ......................................................................................2


2.1 TRANSMISSIONS STANDARDS .............................................................................................................2
2.2 TRANSMISSIONS REQUIRED ...............................................................................................................2
2.2.1 Despatch Advice (DESADV)....................................................................................................2
2.3 TESTING OF THE ASN ........................................................................................................................2
3. TRANSMISSION DEFINITIONS ........................................................................................................3
3.1 DESPATCH ADVICE (ADVANCED SHIPPING NOTE)................................................................................3
3.1.1 Assumptions ............................................................................................................................3
3.1.2 Despatch Advice Message Structure ......................................................................................4
3.1.3 Despatch Advice Message Content ........................................................................................8
3.1.3.1 Message Header ............................................................................................................................... 8
3.1.3.2 Beginning of Message ....................................................................................................................... 9
3.1.3.3 Date and time message ................................................................................................................... 10
3.1.3.4 Reference message ......................................................................................................................... 11
3.1.3.5 Name message................................................................................................................................ 12
3.1.3.6 Details of Transport ......................................................................................................................... 14
3.1.3.7 Details of Delivery Location ............................................................................................................. 15
3.1.3.8 Consignment package sequence ..................................................................................................... 16
3.1.3.9 Packaging ........................................................................................................................................ 17
3.1.3.10 Package Identification .................................................................................................................. 18
3.1.3.11 Reference message ..................................................................................................................... 19
3.1.3.12 Goods Identity number ................................................................................................................ 20
3.1.3.13 Line item message....................................................................................................................... 21
3.1.3.14 Additional Product Information (1) ............................................................................................... 23
3.1.3.15 Additional Product Information (2) ............................................................................................... 24
3.1.3.16 Quantity message ........................................................................................................................ 25
3.1.3.17 Date and time message ............................................................................................................... 26
3.1.3.18 Free text....................................................................................................................................... 27
3.1.3.19 Control total message .................................................................................................................. 28
3.1.3.20 Message trailer message ............................................................................................................. 29
3.1.4 Example of a Despatch Advice message ............................................................................. 30
4. TESCO DEPOT ANA CODES ........................................................................................................ 32

5. FREQUENTLY ASKED QUESTIONS .................................. ERROR! BOOKMARK NOT DEFINED.


ASN Supplier Engagement Document

1. Change Management
Date Author Change Description Version
27/8/2009 Priya R 1- Additional validation to the PIA+1+:ORD’ segment: All Aug 09
order in the PIA+1+:ORD' must be for the same Tesco Depot as
that stated in the LOC+7+'
2- Additional validation to the DTM+36::102’ segment: All
‘sell by date’ segment on the DESADV message must
contain a value.
3- Additional validation to the LIN+1++:EN' segment: All
GTIN segment on the DESADV message must contain a
value
4- Additional validation to the BGM+351::9++9' segment: All
5- Additional validation to the GIN+BJ+' segment: The SSCC
must be unique for each supplier and not be repeated for a
minimum of 1 year.
6- Additional validation to the RFF+PK:' segment: The load
reference number must be populated for Fresh direct loads
to Tesco depots.

2. Timescales for Delivery of ASNs

Date Action Who is


Responsible?
Week 1 Issue the ASN Supplier ‘How to’ Document to the suppliers Tesco
Week 1-4 Read and understand the requirements for the Tesco ASN Suppliers/ Hauliers
and do the work required to produce an ASN
Week 5 Send test ASNs to Tesco Suppliers/ Hauliers
Week 6 Test the ASNs and agree date for live transmission of ASNs Tesco
when ASNs have tested successfully
Week 8 Start transmission of live ASNs to pilot depot Suppliers
Week 10 Roll out ASNs to rest of depot network Suppliers

More details on the procedures for testing ASNs can be found in section 3.3 Testing of the ASN.

Version – August 09 04/09/09 Page 1 of 35


ASN Supplier Engagement Document

3. Technical Specification for ASNs

The purpose of this section is to describe the ASN transmissions that are required in terms of the data and
formats needed.

3.1 Transmissions Standards

Transmissions between the supplier and Tesco will conform to EANCOM/EDIFACT standards as agreed
by the Common EDI forum (CEDI). Where no such standard exists then the transmission will be agreed
between Tesco and Supplier.

3.2 Transmissions Required

At the present, only one EDI transmission is involved in the current process model.

3.2.1 Despatch Advice (DESADV)

This is the basic requirement to confirm what goods have been shipped by the supplier to Tesco, and will
utilise the standard DESADV message. This will provide an audit trail of each respective supplier's
deliveries to Tesco.

3.3 Testing of the ASN

Before the first live ASN is sent to Tesco, suppliers will be required to send a number of test ASN to our
on boarding system. This system will check that the ASN is in the correct format and that the required
information is present and correct. The transmission of live ASNs will not be accepted until a successful
test has been completed.

When you are ready to commence development for your ASNs, the following information will need to be
given to our on boarding team and TIMS Administrator:
1. The IT contact for your ASN development in the event of any queries
2. Your live EDI mailbox number as we will need this to set up our systems to accept the live ASN
transmissions

Version – August 09 04/09/09 Page 2 of 35


ASN Supplier Engagement Document

4. Transmission Definitions

4.1 Despatch Advice (Advanced Shipping Note)


This transmission will contain the suppliers despatch note relating to goods that are to be delivered to a
Tesco depot. It is proposed that this transmission will conform to the EANCOM/EDIFACT message format
associated with Despatch Advice (DESADV) to notify deliveries. This is a standard message format
comprising Header section, Detail section and Summary.

The message relates to a single despatch point (Supplier) and a single destination point (Tesco depot).
The despatch note should always be sent before the goods are physically delivered.

This message will be developed using option 3 of the Despatch Advice EANCOM message standard
(version D, release 96A), released by the CEDI Message Forum, including pallet detail. The pallet will
reside on the CPS/PAC/PCI/GIN level.

4.1.1 Assumptions
There will be a single message (UNH thru UNT) for each shipment i.e. lorry.
A single product can be listed multiple times within each pallet.
When a supplier has no deliveries, they will transmit no despatch notes.

Version – August 09 04/09/09 Page 3 of 35


4.1.2 Despatch Advice Message Structure
The following table gives the structure of the Tesco ASN message. All segments marked as being mandatory must be present in the message otherwise the ASN
will not be accepted by Tesco. The structure of each segment must also be as specified here otherwise the ASN may not be accepted. The data elements
marked in bold contain variable data for which details of the format and function are given. Data elements not marked in bold should contain the information
given in the examples.

The EDI interchange will include the UNB and UNZ segments although the formats are not included here. The live mailbox number is for Tesco is
5000119000006.

Segment ASN Segment Example Data Element Function Mandatory,


Format Optional or
Conditional
ASN Header Section, one per ASN
The supplier's unique message reference. It should be noted that
UNH UNH+ME000001+DESADV:D:96A:UN:DESAD3' Up to 14 characters M
the association code at the end of the segment must be DESAD3.
This will be used as the ASN number. The supplier's internal
shipment number or similar can be used as the ASN number as
BGM BGM+351::9+001903811+9' 9 digits M
long as it is unique for each load and is numeric.
ASN must not exceed 9 digits long.
12 digits This is the date and time that the ASN was generated. The
DTM DTM+137:200707121457:203' M
yyyymmddhhmm qualifier must have a value of 203.
12 digits Booked date and time for the load. If the booking time information
DTM DTM+191:200707121730:203' M
yyyymmddhhmm is not available then a time of 00:00 will be accepted.
Load reference number. The segment is mandatory for all direct
RFF RFF+PK:1876876876332' Up to 35 characters C
Fresh loads into a Tesco Depot.
Identification of the buyer (Tesco). The segment should appear
NAD NAD+BY+5000119000006::9' 13 digits M
exactly as given here.
Identification of the seller (supplier). The supplier's GLN should be
NAD NAD+SE+5010118000110::9' 13 digits given here, and this may or may not be the same as the sender's M
GLN in the UNB segment.
Identification of the consolidator. The consolidator's GLN should
be given here, and this may or may not be the same as the
NAD NAD+CS+5002010304020::9’ 13 digit sender's GLN in the UNB segment. M
This segment must be populated for supplier to consolidator
ASN if TIMS is being used as a hub.
Identification of the trunking site or secondary consolidator. The
site or consolidator's GLN should be given here, and this should
not be the same as the sending consolidator GLN in the UNB
NAD NAD+DP+5010559000008::9’ 13 digit M
segment.
This segment must be populated for Consolidator to
Consolidator ASN if TIMS if being used as a hub.
ASN Supplier Engagement Document

Segment ASN Segment Example Data Element Function Mandatory,


Format Optional or
Conditional
Identification of the carrier of the load. If the carrier's GLN is not
13 digits
available, then the supplier's GLN will be accepted.
TDT TDT+20++30++5010118000110:::BTS HAULAGE' The carrier name. If the carrier's name is not known then the M
Up to 35 characters supplier's name will be accepted. If the load is a consolidated
load, then the consolidator's name should be given here.
The ANA/GLN of the Tesco depot that will receive this load. If this
segment is missing or the number is incorrect then the ASN
LOC LOC+7+5000119001500' 13 digits M
will fail. A list of the ANA codes for each of the Tesco depots is
given in Section 0 of this document.
Pallets Header Section, one per ASN
CPS CPS+1' Must be as given here. M
PAC PAC+26' Up to 8 digits The total number of pallets in the ASN. M
Pallet Details Section, to be repeated for each pallet on ASN
Pallet sequence number. CPS+2+1 is the first pallet, CPS+2+2 is
CPS CPS+2+1' Up to 12 digits M
the second pallet, CPS+2+3 is the third pallet, etc.
Describes the type of delivery unit.
202 - is used for Standard CHEP Pallet
PAC PAC+1++201' Up to 17 characters 201 – Is used for standard Euro Pallet M
PE – Is used for Standard Semi pallet
200 – is used for Dollies/MU
PCI PCI+33E' Must be as given here M
This allows the RFID for the pallet to be added to the ASN in the
RFF RFF+XXX:IGD657873551M6' Up to 35 characters future. This segment is optional and can be omitted completely, or O
it can be included in the ASN using a value of zeroes for the RFID.
The number of cases in a layer on the pallet. This segment and
the RFF+ZZZ segment give the pallet configuration and when
multiplied together give the number of cases on the pallet
RFF RFF+YYY:20' Up to 3 digits (assuming full layers). This segment is optional and can be O
omitted completely, or it can be included in the ASN using a value
of zero. If this segment is present then the RFF+ZZZ segment
must be present as well.
The number of layers on the pallet. This segment and the
RFF+YYY segment give the pallet configuration and when
multiplied together give the number of cases on the pallet
RFF RFF+ZZZ:5' Up to 3 digits (assuming full layers). This segment is optional and can be O
omitted completely, or it can be included in the ASN using a value
of zero. If this segment is present then the RFF+YYY segments
must be present as well.

Version – August 09 04/09/09 Page 5 of 35


ASN Supplier Engagement Document

Segment ASN Segment Example Data Element Function Mandatory,


Format Optional or
Conditional
The SSCC pallet label barcode number. The actual SSCC number
must be used where possible. If SSCC labels are not used then
the segment must still be included but a value of zeroes can be
used for the SSCC number.
GIN GIN+BJ+350177261916131074' 18 digits M
The SSCC number must be numeric, it can not be alphanumeric
or a character value.
SSCC numbers must be unique for each supplier and cannot be
repeated for a minimum of 1 year.
Line Details Section, to be repeated for each product line on the pallet
The GTIN for the product, as given in the barcode for the traded
unit (case). The full 14-digit GTIN is preferred to the 13-digit EAN-
13 number, as this avoids any product recognition problems
arising from a non-zero leading indicator digit. A 13 digit number
will only be accepted if it is formed by dropping the leading zero
from the 14 digit GTIN. So a GTIN of 08410655000683 will be
14 digits preferred,
accepted even if it is given as 8410655000683, but a GTIN of
LIN LIN+1++05017726179960:EN' 13 digits accepted M
18410655000673 must be given as the full 14 digit number
(see proviso)
because it has a non-zero indicator digit and a leading zero
cannot be assumed. Incorrect or unrecognised numbers will cause
problems when the depot attempts to receive the load.
Each product must have a LIN segment and each line segment
lust contain a 13 or 14 digit GTIN number, LIN segment that do
not contain a GTIN value will be rejected.
The Tesco purchase order number for this product. It must be sent
in the format shown. LM in capital followed by the depot number
PIA PIA+1+LM15037256006:ORD' 13 characters + order number M
All purchase orders on the ASN must be for the same delivery
destination as that stated in the LOC segment above
The supplier ASN number for consolidated ASN or delivery note
number pertaining to this purchase order. This segment should be
PIA PIA+1+001903811:DEL' Up to 17 characters populated for all ‘Supplier to Consolidator’ ASN. This is to track O
supplier ASN number in consolidated ASN and be able to send
back the suppliers original ASN number in the EPOD.
The number of traded units (cases) of the product on the pallet.
QTY QTY+12:100' Up to 4 digits M
Value must be greater than 0
The total weight in kilograms of the product on the pallet, given to
two decimal places. In this example, a weight of 362.20kg is
shown. This segment is mandatory for products supplied as catch-
QTY QTY+12:36220:KGM' Up to 7 digits C
weight, e.g. meat and counter lines. For catch-weight products,
two QTY+12 segments are required, one to give the number of
cases on the pallet and the other to give their total weight.

Version – August 09 04/09/09 Page 6 of 35


ASN Supplier Engagement Document

Segment ASN Segment Example Data Element Function Mandatory,


Format Optional or
Conditional
The Sell By or Best Before date of the product, as given in the
product barcode. For products which do not have a Sell By date,
DTM DTM+36:20080630:102' 8 digits yyyymmdd e.g. paper goods, then the segment is still required, but the M
current date should be entered as a dummy date.
If no date value is sent in this segment the ASN will be rejected
For products supplied in green plastic trays, this must have a
value of TRAY. For all other products, a value of BOX should be
used.
If a supplier is sending in a product in a combination of boxes and
trays on a pallet they should actually detail it as two lines in the
FTX FTX+AAA+++BOX' "BOX" or "TRAY" ASN. M
Example
Pallet 1
Product X quantity 00.00 BOX
Product X quantity 00.00 TRAY

ASN Trailer Section, one per ASN


CNT CNT+2:26' Up to 18 digits A count of the total number of LIN segments in the message. M
A count of the total number of segments in the message, including
Up to 6 digits the UNH and UNT segments. If the count is wrong then the ASN
UNT UNT+246+ME000001' will fail. M
The message reference number, it should match the reference
Up to 14 characters
given in the UNH segment.

Version – August 09 04/09/09 Page 7 of 35


Depot Advanced Shipping Note Transmission Definitions

4.1.3 Despatch Advice Message Content

4.1.3.1 Message Header

UNH – M 1 MESSAGE HEADER


Function: To identify and specify the type of message being sent.
Segment number : 1
EDIFACT M/O * Description
0062 Message reference number M an..14 M Supplier’s unique message reference.
Sequence number of the messages in the
interchange.
DE 0062 in the UNT will be identical.
S009 MESSAGE IDENTIFIER M M
0065 Message type identifier M an..6 M * DESADV = Despatch advice message
0052 Message type version number M an..3 M * D = Draft directory
0054 Message type release number M an..3 M * 96A = Version 96A
0051 Controlling agency M an..2 M * UN = UN/ECE/TRADE/WP.4, United
Nations Standard Messages (UNSM)
0057 Association assigned code C an..6 M * See Note below
Segment Notes.
This segment is used to head, identify and specify a message.

DE's 0065, 0052, 0054, and 0051: Indicate that the message is a UNSM Despatch Advice message based
on the D.
96A directory under the control of the United Nations.

DE 0057: Indicates that the message is the EANCOM version 005 of the UNSM Despatch Advice.

Example :

UNH+ME000001+DESADV:D:96A:UN:DESAD3'

NOTE : A deviation from the standard association code is needed here due to the fact that Tesco’s
back-end systems are required to process three different types of despatch notes, all having their
own respective destinations. The association code required in this field v0057 is DESAD3.

Version – Jan09 04/09/09 Page 8 of 35


ASN Supplier Engagement Document

4.1.3.2 Beginning of Message

BGM – M 1 BEGINNING OF MESSAGE


Function To indicate the type and function of a message and to transmit the identifying
number.
Segment number : 2
EDIFACT M/O * Description
C002 DOCUMENT/MESSAGE NAME C M
1001 Document/message name, coded C an..3 M * 351 = Despatch Advice
1131 Code list qualifier
3055 Code list responsible agency, C an..3 O * 9 = EAN (International Article Numbering
coded association)
1004 Document/message number C an..35 M Despatch advice number assigned by
Supplier
1225 Message function, coded C an..3 M * 9 = Original
Segment Notes.
This segment is used to indicate the type and function of the message and to transmit the identifying
number.

All references other than the document number DE 1004 are to be put in the RFF segment.

DE 1004: The document number (ASN Number) MUST NOT EXCEED 9 digits. This code should consist of
the following: -
9 digit serial number to uniquely identify each shipment. It will be up to the supplier to define this
number
The ASN number must be unique and can not be re-used for another delivery unless you are a
consolidator.
DESADV that contain a BGM segment with a value greater then 9 digits will be rejected

DE 1225: The message function, coded is a critical data element in this segment. It applies to all data
indicated in the message. Consequently, one separate message has to be provided per type of function
required. The following definitions apply for the restricted codes: -

9 = Original – An original transmission of a Despatch advice.

Example :

BGM+351::9+586437441+9'

Version – August 09 04/09/09 Page 9 of 35


ASN Supplier Engagement Document

4.1.3.3 Date and time message

DTM – C 10 DATE/TIME/PERIOD
Function To specify date and time periods associated with the message and despatch
advice.
Segment number : 3
EDIFACT M/O * Description
C507 DATE/TIME/PERIOD M M
2005 Date/time/period qualifier M an..3 M * 137 = Document/message date/time
191 = Booking date/time
2380 Date/time/period C an..35 M Date/time in CCYYMMDDHHMM format
2379 Date/time/period format qualifier C an..3 M 203
Segment Notes.
This segment is used to specify the date of the Despatch Advice or any dates related to the delivery of
goods.

Example :

DTM+137:200611151807:203'
DTM+191:200611151900:203'

Version – August 09 04/09/09 Page 10 of 35


ASN Supplier Engagement Document

4.1.3.4 Reference message

SG1 – C 10 RFF – DTM


RFF – M 1 REFERENCE
Function To specify the RFID for the entire ASN.
Segment number : 7
EDIFACT M/O * Description
C506 REFERENCE M M
1153 Reference qualifier M an..3 M PK = Packing list no
1154 Reference number C an..35 M RFID for this ASN
Segment Notes.
This segment is used to provide references that apply to the whole transaction. Although this segment was
originally created for a potential future requirement to allow the RFID for the load to be defined, it will be
used to hold the load reference number for Fresh loads.

The load reference number must be populate for all direct to Tesco Fresh loads, direct fresh ASN that do
not contain a load reference number will be rejected.

For a fresh load the load reference number should be the same number that supplier book their loads in
with Tesco Goods In Central. This is the ‘Ref’ number that is entered in the Master booking spread sheet

Example :

RFF+PK:1876876876332'

Version – August 09 04/09/09 Page 11 of 35


ASN Supplier Engagement Document

4.1.3.5 Name message

SG2 – C 10 NAD – SG3 – SG4


NAD – M 1 NAME AND ADDRESS MESSAGE
Function To specify the name/address of the relevant trading partners associated with
the despatch advice.
Segment number : 9
EDIFACT M/O * Description
3035 Party qualifier M an..3 M BY = Buyer (Tesco)
CS = Consolidator
SE = Seller (Supplier)
DP = Delivery Party (Consolidator)

C082 PARTY IDENTIFICATION C M


DETAILS
3039 Party id. Identification M an..35 M ANA Location Number - Format n13
1131 Code list qualifier
3055 Code list responsible agency, C an..3 M * 9 = EAN (International Article Numbering
coded association)

Version – August 09 04/09/09 Page 12 of 35


ASN Supplier Engagement Document

Segment Notes.
This segment is used to identify the trading partners involved in the Despatch Advice message.
Identification of the Seller (Supplier) and Buyer (Tesco) is mandatory in the Despatch Advice. In instances
where a consolidator is used to consolidate several supplier’s deliveries into a single shipment then the
sellers code should be replaced with the consolidator’s code (see example below).

In the instance where the Seller (Supplier) sends the ASN to the Consolidator, the Seller segment
should be populated with the sellers details and the Consolidator segment should be populated
with the receiving consolidators details.

DE 3039: For identification of parties it is required to use Global Location Numbers.

Example :

NAD+BY+5000119000006::9'
NAD+CS+5002010304020::9' or/and
NAD+SE+5010559000009::9'
NAD+DP+5010559000008::9'

The DP segment will only be used by consolidators to trunk loads between consolidation sites or different
consolidation companies.
Example:
Consolidator A send ASN to Consolidator B,
Consolidator B send ASN to consolidator C,
Consolidator C sends ASN to Tesco

The NAD segment in the ASN should be as below:


Consolidator 1 sends consolidator 2 ASN
NAD+BY+5000119000006::9'
NAD+CS+5002010304020::9'
NAD+DP+5010559000008::9'

Consolidator 2 sends consolidator 3 ASN

NAD+BY+5000119000006::9'
NAD+CS+5010559000008::9'
NAD+DP+5010559000123::9'

Consolidator 3 sends ASN to Tesco


NAD+BY+5000119000006::9'
NAD+CS+5010559000123::9'

Version – August 09 04/09/09 Page 13 of 35


ASN Supplier Engagement Document

4.1.3.6 Details of Transport

SG6 – C 10 TDT – SG7


TDT – M 1 DETAILS OF TRANSPORT
Function : To specify the transport details such as mode of transport, means of transport,
its conveyance reference number and the identification of the means of
transport.
Segment number : 16
EDIFACT M/O * Description
8051 Transport stage qualifier M an..3 M 20 = Main-carriage transport
8028 Conveyance reference number
C220 MODE OF TRANSPORT C M
8067 Mode of transport, coded C an..3 M 30 = Road transport
8066 Mode of transport
C228 TRANSPORT MEANS
8179 Type of means of transport
Identification
8178 Type of means of transport
C040 CARRIER
3127 Carrier identification C an..17 M Carrier’s GLN (Global Location No.)
1131 Code list qualifier
3055 Code list responsible agency,
coded
3128 Carrier name C an..35 M Carrier’s Name

Segment Notes.
This segment is used to specify transport services used in the despatch advice.

Example :

TDT+20++30++5087441725420:::CARRIERS NAME'

Version – August 09 04/09/09 Page 14 of 35


ASN Supplier Engagement Document

4.1.3.7 Details of Delivery Location

SG6 – C 10 TDT – SG7


SG7 – C 10 LOC – DTM
LOC – M 1 PLACE/LOCATION IDENTIFICATION
Function : A segment indicating locations relevant to the transport specified in the TDT
segment.
Segment number : 17
EDIFACT M/O * Description
3227 Place/location qualifier M an..3 M 7 = Place of delivery
C517 LOCATION IDENTIFICATION C M
3225 Place/location identification C an..25 M Global Location Number – Format n13

Segment Notes.
This segment is used to identify the Tesco Receiving Distribution Centre (receiving Tesco depot). List of the
ANA code for all Tesco deports are in section 4

Example :

LOC+7+5000119001801'

Version – August 09 04/09/09 Page 15 of 35


ASN Supplier Engagement Document

4.1.3.8 Consignment package sequence

SG10 – C 9999 CPS – FTX - SG11 – SG15


CPS – M 1 CONSIGNMENT PACKING SEQUENCE
Function: To identify the sequence in which physical packing is presented in the
consignment.
Segment number : 22
EDIFACT M/O * Description
7164 Hierarchical id. Number M an..12 M Sequential numbering recommended.
7166 Hierarchical parent id. C an..12 C Pallet no.
Segment Notes.
This segment is used to identify the sequence in which packing of the consignment occurs.

Example :

CPS+1' (No parent)


st
CPS+2+1' (1 pallet, parent is the shipment)
nd
CPS+2+2' (2 pallet, parent id the shipment)

Version – August 09 04/09/09 Page 16 of 35


ASN Supplier Engagement Document

4.1.3.9 Packaging

SG10 – C 9999 CPS – FTX - SG11 – SG15


SG11 – C 9999 PAC – MEA – QTY – SG12 – SG13
PAC – M 1 PACKAGE
Function : To describe the number and type of packages/physical units.
Segment number : 23
EDIFACT M/O * Description
7224 Number of packages C n..8 M
C531 PACKAGING DETAILS
7233 Packaging related information,
coded
7233 Packaging related information,
coded
7073 Packaging terms and conditions,
Coded
C202 PACKAGE TYPE C O
7065 Type of packages identification C an..17 M 202 - is used for Standard CHEP Pallet
201 – Is used for standard Euro Pallet
PE – Is used for Standard Semi pallet
200 – is used for Dollies/MU
Segment Notes.

Example :

PAC+2’
PAC+1++201'
PAC+1++202’
PAC+1++200'
PAC+1++PE'

Version – August 09 04/09/09 Page 17 of 35


ASN Supplier Engagement Document

4.1.3.10 Package Identification

SG10 – C 9999 CPS – FTX - SG11 – SG15


SG11 – C 9999 PAC – MEA – QTY – SG12 – SG13
SG13 – C 1000 PCI – RFF – DTM – SG14
PCI – M 1 PACKING IDENTIFICATION
Function: To specify markings and labels on individual packages or physical units.
Segment number : 27
EDIFACT M/O * Description
4233 Marking instructions, coded C an..3 M 33E = Marked with serial shipping
container code
Segment Notes.
This segment is used to provide markings and labels information relevant to the product identified in the LIN
segment.

Example :

PCI+33E'

Version – August 09 04/09/09 Page 18 of 35


ASN Supplier Engagement Document

4.1.3.11 Reference message

SG10 – C 9999 CPS – FTX - SG11 – SG15


SG11 – C 9999 PAC – MEA – QTY – SG12 – SG13
SG13 – C 1000 PCI – RFF – DTM – SG14
RFF – M 3 REFERENCE
Function To specify the RFID for the entire ASN.
Segment number : 28
EDIFACT M/O * Description
C506 REFERENCE M M
1153 Reference qualifier M an..3 M PK = Packing list no
1154 Reference number C an..35 M RFID for this ASN
Segment Notes.
This segment is used to provide references that apply to the whole transaction.

Note that this segment could occur three times at this location within the message set. Note that this is
contradictory to the standard EANCOM message whereby this segment is allowed to occur only once, at
this location. Special provision must be made within the software used to translate the message, to allow
all three segments to be output, if present.

These three segments are to cater for the following: -

i) The pallets RFID.

DE1153 : This field should contain a user defined value of ‘XXX’. This will identify that field DE1154
contains the pallets RFID.

Example :

RFF+XXX:IGD657873551M6’

ii) The pallets TI (Number of cases per layer within this pallet)

DE1153 : This field should contain a user defined value of ‘YYY’. This will identify that field DE1154
contains the pallets number of cases per layer.

Example :

RFF+YYY:5’

iii) The pallets HI (Number of layers within this pallet)

DE1153 : This field should contain a user defined value of ‘ZZZ’. This will identify that field DE1154
contains the number of layers within this pallet. Note that the TI multiplied with the HI should equal the
number of cases on the pallet.

Example :

RFF+ZZZ:2’

Version – August 09 04/09/09 Page 19 of 35


ASN Supplier Engagement Document

4.1.3.12 Goods Identity number

SG10 – C 9999 CPS – FTX - SG11 – SG15


SG11 – C 9999 PAC – MEA – QTY – SG12 – SG13
SG13 – C 1000 PCI – RFF – DTM – SG14
SG14 – C 99 GIN
GIN – M 1 GOODS IDENTITY NUMBER
Function To give specific identification numbers, either as single numbers or ranges.
Segment number : 30
EDIFACT M/O * Description
7405 Identity number qualifier M an..3 M * BJ
C208 IDENTITY NUMBER RANGE M M
7402 Identity number M an..35 M Serial Shipping Container Code
Segment Notes.
This segment is used to provide identification numbers relevant to the packaging unit and level identified in
the PAC segment. SSCC number containing characters and alpha numeric values will not be acceptable,
only numeric value will be acceptable.

In EANCOM it is recommended to use the Serial Shipping Container Code (SSCC) for unique identification
of individual transport packages.

SSCC value must be unique for each supplier/consolidator and can no be repeated for a minimum of 1
year. DESAVD message that contain duplicate SSCC number for the same supplier/consolidator will be
rejected.

Example :

GIN+BJ+354123450000000014'

Version – August 09 04/09/09 Page 20 of 35


ASN Supplier Engagement Document

4.1.3.13 Line item message

SG10 – C 9999 CPS – FTX - SG11 – SG15


SG15 – C 9999 LIN–PIA–IMD–MEA–QTY–DLM–DTM–FTX–SG16–SG18–SG20–SG23
LIN – M 1 LINE ITEM
Function: To identify a line item and configuration.
Segment number : 31
EDIFACT M/O * Description
1082 Line item number C n..6 M Application generated number of the
count of the order lines.
1229 Action request/notification,
coded
C212 ITEM NUMBER C O Although optional, the use of Global Trade
IDENTIFICATION Item Numbers (GTIN) and this composite
is strongly recommended.
7140 Item number C an..35 M Format n..14
This is the GTIN of the article being
ordered.
7143 Item number type, coded C an..3 M * EN = International Article Numbering
Association (EAN)

Version – August 09 04/09/09 Page 21 of 35


ASN Supplier Engagement Document

Segment Notes.
This segment is used to identify the line item being despatched.

Dependency Notes :
DE C212: This composite is only used for the identification of GTIN's. The use of GTIN's is strongly
recommended
Example :

LIN+1++05017726179960:EN'
Tesco OCC (Sent to suppliers) – GTIN of the article being ordered.

OCC sent in a Tesco purchase order to suppliers (13 byte or 14 byte in length) always carries the last byte
as the check digit and will always be the expected check digit when the supplier sends the OCC in an ASN.

Please see below examples of what is a correct and an incorrect OCC


13 byte example 5051399221656

In the example above if the supplier wishes to send us a 14 byte OCC in response to Tesco's 13 byte then
following are acceptable and not acceptable

Acceptable

05051399221656 (no change from the original OCC sent by Tesco but for a leading zero added)

Not acceptable

50513992216564 (not acceptable because in an effort to make the OCC 14 byte long a check digit has
been manipulated and added as the last byte)

Tesco OCC (Sent to suppliers)

14 byte example 05051399221656

In the example above if the supplier wishes to send us a 13 byte OCC in response to Tesco's 14 byte then
following is only acceptable.

Acceptable

5051399221656 (no change from the original OCC sent by Tesco but for a leading zero removed)

Tesco OCC (Sent to suppliers)

12 byte example 230190000003

In the example above if the supplier wishes to send us a 13 byte/14 byte OCC in response to Tesco's 12
byte then following are only acceptable.

Acceptable (13 byte) 0230190000003 (no change from the original OCC sent by Tesco but for a leading
zero added)
Acceptable (14 byte) 00230190000003 (no change from the original OCC sent by Tesco but for two
leading zeroes added)

Each product must have a LIN segment and each line segment must contain a 13 or 14 digit GTIN number,
LIN segment that do not contain a GTIN value will be rejected.

Version – August 09 04/09/09 Page 22 of 35


ASN Supplier Engagement Document

4.1.3.14 Additional Product Information (1)

SG10 – C 9999 CPS – SG11 – SG15


SG15 – C 9999 LIN–PIA–IMD–MEA–QTY–DLM–DTM–FTX–SG16–SG18–SG20–SG23
PIA – C 10 ADDITIONAL PRODUCT ID
Function To specify Tesco Stores Ltd’s base product number of the item being
despatched
Segment number : 32
EDIFACT M/O * Description
4347 Product id. Function qualifier M an..3 M * 1 = Additional identification
C212 ITEM NUMBER M M
IDENTIFICATION
7140 Item number C an..35 M Tesco purchase order no. pertaining to
this GTIN
7143 Item number type, coded C an..3 M ORD = Purchase order number
Segment Notes.
This segment is used to identify additional information for the current line item.

Dependency note:

DE 4347: Product Id function, coded has the following restricted coded functions:

1 = Additional Identification - To provide an additional identity for the primary article number identified in the
LIN segment.

DE 7143: Note that this field must contain a user generated value of ORD. This will identify the purchase
order number pertaining to this GTIN. The purchase order number must contain a fixed value of ‘LM’ in
capitals letters.

Note: In this example the PIA segment is used to provide an additional identification to the article number
provided in the LIN segment.

All the orders in this segment must be for the same delivery destination as the ASN (LOC segment as the
ASN header section)

Example :

PIA+1+ LM08506929001:ORD'

Version – August 09 04/09/09 Page 23 of 35


ASN Supplier Engagement Document

4.1.3.15 Additional Product Information (2)

SG10 – C 9999 CPS – SG11 – SG15


SG15 – C 9999 LIN–PIA–IMD–MEA–QTY–DLM–DTM–FTX–SG16–SG18–SG20–SG23
PIA – C 10 ADDITIONAL PRODUCT ID
Function To specify Tesco Stores Ltd’s base product number of the item being
despatched
Segment number : 32
EDIFACT M/O * Description
4347 Product id. Function qualifier M an..3 M * 1 = Additional identification
C212 ITEM NUMBER M M
IDENTIFICATION
7140 Item number C an..35 M Delivery note no. pertaining to the
Purchase Order (PIA 1 on page 23)
7143 Item number type, coded C an..3 M DEL = Supplier ASN number or Delivery
Note Number
Segment Notes.
This segment is used to identify the supplier ASN number for consolidated ASN.

Dependency note:

DE 4347: Product Id function, coded has the following restricted coded functions:

1 = Additional Identification - To provide an additional identity for the primary article number identified in the
LIN segment.

DE 7143: Note that this field must contain a user generated value of DEL. This will identify the delivery note
number pertaining to the purchase order number referenced by Additional Product Information (1).

Note: In this example the PIA segment is used to provide an additional identification to the article number
provided in the LIN segment.

Example :

PIA+1+ 874655904:DEL'
This segment should be populated for all ‘Supplier to Consolidator’ ASN. It will be used to track supplier ASN number in
consolidated ASN. Tesco will send back the supplier ASN number or supplier Delivery note number (depending on
which is sent in the field) in the EPOD detail screen against each Item. Supplier will be able to cross check their ASN
numbers against the Consolidator ASN number which will be on the EPOD Header.

Version – August 09 04/09/09 Page 24 of 35


ASN Supplier Engagement Document

4.1.3.16 Quantity message

SG10 – C 9999 CPS – FTX - SG11 – SG15


SG15 – C 9999 LIN–PIA–IMD–MEA–QTY–DLM–DTM–FTX–SG16–SG18–SG20–SG23
QTY – C 10 QUANTITY
Function To specify the quantity of product that has been despatched.
Segment number : 35
EDIFACT M/O * Description
C186 QUANTITY DETAILS M M
6063 Quantity qualifier M an..3 M * 12 = Despatch quantity in singles
6060 Quantity M n..15 M Quantity of traded units despatched

6411 Measure unit qualifier C an..3 O GRM = Gram


KGM = Kilogram
LTR = Litre
MTK = Square metre
MTQ = Cubic metre
MTR = Metre
TNE = Metric ton
Segment Notes.
This segment is used to specify the quantity of the product identified in the LIN segment, which is about to
be despatched.

DE 6411 : Note that if the type of product to be delivered is variable weight (i.e. catchweight) then this
qualifier should equal KGM. Note that this weight should contain 2 decimal places e.g. 1000 = 10 kg. For
catchweight products, two such segments are required, one segment giving the number of traded units on
the pallet and the other segment giving the total weight of the product on the pallet.

Note: when the QTY segment is included it must contain a value greater then 0.

Example :

QTY+12:23' or
QTY+12:1000:KGM’

Version – August 09 04/09/09 Page 25 of 35


ASN Supplier Engagement Document

4.1.3.17 Date and time message

SG10 – C 9999 CPS – FTX - SG11 – SG15


SG15 – C 9999 LIN–PIA–IMD–MEA–QTY–DLM–DTM–FTX–SG16–SG18–SG20–SG23
DTM – C 5 DATE/TIME/PERIOD
Function To specify date and time periods associated with the message and despatch
advice
Segment number : 38
EDIFACT M/O * Description
C507 DATE/TIME/PERIOD M M
2005 Date/time/period qualifier M an..3 M * 36 = Expiry Date
2380 Date/time/period C an..35 M Sell by date of the GTIN in CCYYMMDD
format
2379 Date/time/period format qualifier C an..3 M 102
Segment Notes.
This segment is used to specify the date of the Despatch Advice or any dates related to the delivery of
goods.

Note : If the product supplied has no sell-by date this segment should still be provided but with a dummy
date such as the current date.
The ASN will be rejected is not value is sent in the ‘Sell by date’ segment.

Example :

DTM+36:20070105:102' accepted
DTM+36::102' rejected

Version – August 09 04/09/09 Page 26 of 35


ASN Supplier Engagement Document

4.1.3.18 Free text

SG10 – C 9999 CPS – FTX - SG11 – SG15


SG15 – C 9999 LIN–PIA–IMD–MEA–QTY–DLM–DTM–FTX–SG16–SG18–SG20–SG23
FTX – C 5 FREE TEXT
Function Free text
Segment number : 39
EDIFACT M/O * Description
4451 Text subject qualifier M an..3 M AAA = Goods Description
4453 Text function, coded
C107 TEXT REFERENCE
4441 Free text, coded
1131 Code list qualifier
3055 Code list responsible agency
C108 TEXT LITERAL M M
4440 Free Text M an..70 BOX = Goods supplied by the box
TRAY = Goods supplied by the tray
Segment Notes.
This segment is used to indicate free text information related to the manner of delivery of the despatched
goods.

Example :

FTX+AAA+++BOX' or
FTX+AAA+++TRAY’

If a supplier is sending in a product in a combination of boxes and trays on a pallet they should actually
detail it as two lines in the ASN.
Example
Pallet 1
Product X quantity 00.00 BOX
Product X quantity 00.00 TRAY

Version – August 09 04/09/09 Page 27 of 35


ASN Supplier Engagement Document

4.1.3.19 Control total message

CNT – C 5 CONTROL TOTAL


Function: To provide control total.
Segment number : 56
EDIFACT M/O * Description
C270 CONTROL M M
6069 Control qualifier M an..3 M * 2 = Number of line items in message
6066 Control value M n..18 M Total number of line items in the message
Segment Notes.
This segment is used to provide message control information for checking on the message receiver's in-
house
System.

Example :

CNT+2:4'

Version – August 09 04/09/09 Page 28 of 35


ASN Supplier Engagement Document

4.1.3.20 Message trailer message

UNT – M 1 MESSAGE TRAILER


Function To end and check the completeness of a message.
Segment number : 57
EDIFACT EAN * Description
0074 Number of segments in a M n..6 M The total number of segments in the
message message is detailed here.
0062 Message reference number M an..14 M The message reference number. DE 0062
in the UNH will be identical.
Segment Notes.
This segment is a mandatory UN/EDIFACT segment. It must always be the last segment in the message.

Example :

UNT+45+ME000001'

Version – August 09 04/09/09 Page 29 of 35


ASN Supplier Engagement Document

4.1.4 Example of a Despatch Advice message


The following is an example of a Despatch Advice message providing a description of a consignment of
goods to be despatched by the supplier of the goods, identified by the Global Location Number
5411234512309. The buyer of the goods is identified by the Global Location Number 5000119000006
and the Tesco depot where the goods are to be delivered is identified by the Global Location Number
5000119004000.
th
The Despatch Advice, reference number 586437441 is sent on the 15 November 2006. The goods are to be
th
delivered on the 15 November at or after 19:00 hours.
The despatch advice refers to a consignment of goods to be despatched, containing 2 pallets, each pallet
uniquely identified by a serial shipping container code and an RFID.
The first pallet is identified by the serial shipping container code 354107380000001051, and contains 30
traded units across two respective GTIN’s (one of which is a catchweight item).
The second pallet is identified by the serial shipping container code 354107280000001065, and contains 12
traded units across two respective GTIN’s (one of which is a catchweight item).

Despatch Advice message:

UNH+ME000001+DESADV:D:96A:UN:DESAD3' Message header


BGM+351::9+586437441+9' Despatch advice number 586437441
th
DTM+137:200611151707:203' Message date 15 December 2006 at 1707 hours
th
DTM+191:200611151900:203' Booking date and time 15 December 2006 at 1900 hours
RFF+PK:1876876876332' Reference number for this consignment is 1876876876332
NAD+SE+5411234512309::9' Supplier (Seller) - Global Location No (ANA loc code)
NAD+BY+5000119000006::9' Buyer (Tesco) – Global Location Number (ANA loc code)
TDT+20++30++5087441725420:::LOADALL' Transport services used in despatch (30 – road). Carrier
number is 5087441725420 and carrier name is ‘LOADALL’.
LOC+7+5000119004000' Delivery location 5000119004000.
CPS+1' Consignment picking sequence
PAC+2’ Total number of pallets in this consignment is 2
CPS+2+1' First pallet
PAC+1++201' First pallet
PCI+33E' Package identification for box being despatched
RFF+XXX+IGD657873551M6’ RFID for this pallet is IGD657873551M6.
RFF+YYY+5’ The number of cases per layer within this pallet is 5
RFF+ZZZ+2’ The number of layers within this pallet is 2
GIN+BJ+354107280000001051' This pallets Serial Shipping Container Code
LIN+1++15412345111112:EN' GTIN (Global Trade Item Number) of the case
PIA+1+LM40016929001:ORD' Purchase Order number associated with this GTIN
PIA+1+874655904:DEL' Delivery Note number associated with the above Purchase
Order number
QTY+12:23' Despatched traded unit quantity equals 23
th
DTM+36:20061205:102' Sell by date for this EAN of 5 December 2006
FTX+AAA++BOX' This GTIN is despatched by the box
LIN+2++05412345762099:EN' GTIN (Global Trade Item Number) of the case
PIA+1+LM40016930001:ORD' Purchase Order number associated with this GTIN
PIA+1+874655904:DEL' Delivery Note number associated with the above Purchase
Order number
QTY+12:1400:KGM’ Despatched traded unit equals 14 kilograms in mass
QTY+12:7’ Despatched traded unit quantity equals 7
th
DTM+36:20061118:102' Sell by date for this GTIN of 18 November 2006
FTX+AAA++BOX' This GTIN is despatched by the box
nd
CPS+2+2' 2 Pallet
nd
PAC+1++201' 2 Pallet
PCI+33E' Package identification for box being despatched
RFF+XXX:IGD6578874321M7’ RFID for this pallet is IGD6578874321M7
RFF+YYY:2’ The number of cases per layer within this pallet is 2
RFF+ZZZ:1’ The number of layers within this pallet is 1
GIN+BJ+354107280000001065' This pallets Serial Shipping Container Code
LIN+1++05000193947279:EN' GTIN (Global Trade Item Number) of the case
Version – August 09 04/09/09 Page 30 of 35
ASN Supplier Engagement Document

PIA+1+LM40016936001:ORD' Purchase Order number associated with this GTIN


PIA+1+874655904:DEL' ASN or Delivery Note number associated with the above
Purchase Order number
QTY+12:8' Despatched traded unit quantity equals 8
DTM+36:20061206:102' Sell by date for this GTIN of 6th December 2006
FTX+AAA++TRAY' This GTIN is despatched by the tray
LIN+2++15449000009125EN' GTIN (Global Trade Item Number) of the case
PIA+1+LM40016740001:ORD' Purchase Order number associated with this GTIN
PIA+1+874655904:DEL' Delivery Note number associated with the above Purchase
Order number
QTY+12:461:KGM’ Despatched traded unit equals 4.61 kilograms in mass
QTY+12:4’ Despatched traded unit quantity equals 4
th
DTM+36:20061118:102' Sell by date for this GTIN of 18 November 2006
FTX+AAA++BOX' This GTIN is despatched by the box
CNT+2:4' The number of LIN segments in this transmission (UNH-UNT
incl.). In this instance 4.
UNT+53+ME000001' The total number of segments in this transmission (UNH-UNT
incl.). In this instance 63.

Note: The EDI interchange will include the UNB...UNZ segments (CEDI Guidelines do not support the
use of the UNG...UNE segments).

Version – August 09 04/09/09 Page 31 of 35


ASN Supplier Engagement Document

5. Tesco Depot ANA Codes

The following table lists the ANA (GLN) codes for the Tesco depots. It is not intended to be an exhaustive
list of all depots, just those depots that are likely to receive ASNs.

Some Tesco depots have two warehouses at the same address, e.g. Thurrock Grocery warehouse (depot
code 400) and Thurrock MU warehouse (depot code 405), and each warehouse has a different ANA.
Products on regular pallets would be delivered to the Grocery warehouse, and Merchandisable Units on
dollies would be delivered to the MU warehouse. Every Tesco warehouse has a unique three-digit depot
code which is embedded in both the purchase order number and ANA code. Determining which ANA
code to use for a depot with multiple warehouses is therefore a matter of looking at the purchase order
number prefix. So if the ASN is for purchase order LM40524626001, then the depot ANA to use is
5000119004055.

Depot/Warehouse Depot Code Depot ANA Purchase order prefix


Weybridge Grocery 150 5000119001500 LM150
Weybridge MU Warehouse 155 5000119001559 LM155
Thurrock Grocery 400 5000119004000 LM400
Thurrock MU Warehouse 405 5000119004055 LM405
Fenny Lock 821 5000119008213 LM821
Magor Grocery 180 5000119001801 LM180
Magor Trunking Station 470 5000119004703 LM470
(Westway) Grocery
Magor Trunking Station MU 475 5000119004758 LM475
Middlewich Grocery 250 5000119002509 LM250
Middlewich Trunking Station 225 5000119002259 LM225
(Northway) MU Warehouse
Welham Green Grocery 360 5000119003605 LM360
Welham Green Trunking 425 5000119004253 LM425
Station (Southway) MU
Warehouse
Fastway 200 5000119002006 LM200
Antrim Grocery 851 5000119008510 LM851
Middleton 1 Grocery 450 5000119004507 LM450
Daventry 1 MU Warehouse 465 5000119004659 LM465
Crick Grocery 300 5000119003003 LM300

Livingston (New) Grocery 501 5000119005014 LM501


Livingston (New) Trunking 505 5000119005052 LM505
Station & Fresh
Livingston (New) Frozen 502 5000119005021 LM502

Chepstow Fresh 105 5000119001050 LM105


Didcot Fresh 115 5000119001157 LM115
Doncaster Fresh 095 5000119000954 LM095
Doncaster Frozen 092 5000119000925 LM092
Harlow Fresh 125 5000119001254 LM125
Hinckley Fresh 195 5000119001953 LM195
Middleton 2 Fresh 085 5000119000857 LM085
Belfast Fresh 835 5000119008350 LM835
Belfast Frozen 832 5000119008329 LM832
Peterborough Fresh 315 5000119003157 LM315
Snodland Fresh 175 5000119001759 LM175
Southampton Fresh 235 5000119002350 LM235

Chesterfield 440 5000119004406 LM440


Coventry 060 5000119000606 LM060
Goole 530 5000119005304 LM530

Version – August 09 04/09/09 Page 32 of 35


ASN Supplier Engagement Document

Lichfield 540 5000119005403 LM540

Version – August 09 04/09/09 Page 33 of 35