Documente Academic
Documente Profesional
Documente Cultură
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.
More details on the procedures for testing ASNs can be found in section 3.3 Testing of the ASN.
The purpose of this section is to describe the ASN transmissions that are required in terms of the data and
formats needed.
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.
At the present, only one EDI transmission is involved in the current process model.
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.
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
4. Transmission Definitions
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.
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.
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.
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: -
Example :
BGM+351::9+586437441+9'
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'
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'
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.
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
NAD+BY+5000119000006::9'
NAD+CS+5010559000008::9'
NAD+DP+5010559000123::9'
Segment Notes.
This segment is used to specify transport services used in the despatch advice.
Example :
TDT+20++30++5087441725420:::CARRIERS NAME'
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'
Example :
4.1.3.9 Packaging
Example :
PAC+2’
PAC+1++201'
PAC+1++202’
PAC+1++200'
PAC+1++PE'
Example :
PCI+33E'
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.
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’
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’
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'
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.
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)
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)
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.
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'
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.
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’
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
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
Example :
CNT+2:4'
Example :
UNT+45+ME000001'
Note: The EDI interchange will include the UNB...UNZ segments (CEDI Guidelines do not support the
use of the UNG...UNE segments).
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.