Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Version Author
2013.05.30 #1 PPlagnol
2013.06.02 #1 PPlagnol
2013.09.29 #1 PPlagnol
2013.10.08 #1 PPlagnol
2013.11.08 #1 PPlagnol
2013.11.13 #1 PPlagnol
Description
First version
Add comments and sourcing
update table name, columns and database design
Add gs1_gcp_length and nutrition_us
Change Modelisation, add gs1_gcp_rc, delete fields
Replace "group" by "owner" and add BSIN in brand table
Modelisation
Manufacurer
Webistes
GS1_GPC_RC
FACT
DIMENSION
Manufacturer Sourcing
Sourcing GS1
Manual
PKG_TYPE
curer
s
NUTRITION_US
GTIN
S1_GPC_RC GS1_GPC_HIER
GS1_GPC GS1_GCP
http://www.gs1.org/gsmp/kc/gp http://gepir.gs1.org/V31/
c
PE
BRAND_TYPE
BRAND BRAND_OWNER
CP GS1_GCP_LENGTH GS1_PREFIX
1/ http://www.gs1.org/gcp_length http://www.gs1.org/barcodes/supp
ort/prefix_list
Future Brand
manager
(crowd
sourcing)
WNER
des/supp
Table - GTIN
This table contains all items identified by GTIN-13 code
Field Type PK / FK
GTIN_CD varchar(13) PK
GTIN_LEVEL_CD int
GCP_CD varchar(13) FK
BRAND_CD int FK
GPC_S_CD varchar(8) FK
GPC_F_CD varchar(8) FK
GPC_C_CD varchar(8) FK
GPC_B_CD varchar(8) FK
GTIN_NM varchar(255)
PRODUCT_LINE varchar(255)
M_G float
M_OZ float
M_ML float
M_FLOZ float
M_ABV float
M_ABW float
PKG _UNIT int
PKG_TYPE_CD int FK
PKG_TYPE_NM varchar(255)
REF_CD varchar(255)
GTIN-13 code
Definition
GTIN code of 13 digits (for US and Canada : 12
digits prexifed with 0)
GCP code
Brand Code
GPC segment code
GPC family code
GPC class code
GPC brick code
Commercial name of the product
Product line
Measure - weight - Gramme
Measure - weight - Once
Measure - volume - millilitres
Measure - volume - Fluid Once
Measure - Alcool - Alcohol by volume
Measure - Alcool - Alcohol by weight
Number of units in the product
Code of the packaging
Name of the packaging
Internal reference for the manufacturer
Examples / Remarks
1: commercial unit
2: cartoon
3: palett
the 4 fields a in this table because in many case, we just assigned the segment of segment + fami
GCP_CD varchar(13) PK
GLN_CD varchar(13)
GLN_NM varchar(255)
GLN_ADDR_02 varchar(38)
GLN_ADDR_03 varchar(38)
GLN_ADDR_04 varchar(38)
GLN_ADDR_POSTAL_CODE varchar(38)
GLN_ADDR_CITY varchar(38)
CONTACT_NAME varchar(255)
CONTACT_TEL varchar(255)
CONTACT_HOTLINE varchar(255)
CONTACT_FAX varchar(255)
CONTACT_MAIL varchar(255)
CONTACT_WEB varchar(255)
GLN_LAST_CHANGE varchar(10)
GLN_PROVIDER varchar(13)
GEPIR_GCP_CD varchar(13)
ADD_PARTY_ID varchar(13)
RETURN_CODE varchar(3) FK
SOURCE varchar(100)
SYNC_DT DATE TIME
g GLN (not normalized for the moment,)
Definition
GCP Code : first digits of the GTIN Code assigned
to a manufacturer by GS1
GLN Code of the GEPIR
GLN Name (compagny belonging the GCP)
Address ligne 2
Address ligne 3
Address ligne 4
CP
City
Return Code
Source of the data
Synchronition date with GEPIR
Examples / Remarks
Iso code (this country code is administrative but could be used to get the "country of the owner"
the US codes (starting with 0) have been used by all the countries before that gtin 13 exists, so f
code is sometime different of US.
Becareful, these fields could not contain the the mail , tel or fax : bug in the script during importati
becarful to the format, could be different, to check,
GEPIR can return a GCP which don't match with the first digits of the GTIN
ORIGIN varchar(255)
and those created by POD for data quality matters
Definition
Return Code
Meaning of the return code
Remark: 2013-10-08 this tool is not 100% done (1 MO is missing). This is a very important too
The field length hase been created several months ago in the table GS1_PREFIX because this
SE THIS TABLE
GCP Length tool of GS1 (http://www.gs1.org/gcp_length)
Definition
First digits of the GTIN code
Length of the GCP in number of digits
1 MO is missing). This is a very important tool to apply quality check on the GCP repository and to collect dat
hs ago in the table GS1_PREFIX because this tool was not existing.
g/gcp_length)
Examples / Remarks
y quality check on the GCP repository and to collect data from GEPIR
not existing.
Sourcing
http://www.gs1.org/gcp_length
http://www.gs1.org/gcp_length
GPC_LANG varchar(3) PK
GPC_CD varchar(8) PK
GPC_NM varchar(255)
GPC_LEVEL varchar(1)
SOURCE varchar(255)
GPC Code
GPC Label
GPC release
smp/kc/gpc
Examples / Remarks Sourcing
smp/kc/gpc
GPC classification
Examples / Remarks Sourcing
GEPIR (via SOAP)
GEPIR (via SOAP)
GEPIR (via SOAP)
GEPIR (via SOAP)
Table - GS1_COUNTRY
List of 3 first possible digits with the corresponding GS1 registration office an
Field Type PK / FK
PREFIX_CD varchar(3) PK
PREFIX_NM varchar(255)
COUNTRY_ISO_CD varchar(11)
GCP_LENGTH int
ex: 301
The number stored is just one of the possible size of the GCP for the prefixe
Sourcing
GS1
GS1
GS1 / POD
GS1 / POD
Table - BRAND
List of brands
Field Type PK / FK
BRAND_CD int PK
BSIN Char(6)
BRAND_NM varchar(255)
OWNER_CD int FK
BRAND_TYPE_CD int
BRAND_LINK varchar(255)
Definition
Code of the brand
Brand Single Identificattion Number
Name of the brand
Code of the brand owner
Type of brand
Manual
Table - BRAND OWNER
List of owners
Field Type PK / FK
OWNER_CD int PK
OWNER_NM varchar(255)
OWNER_LINK varchar(255)
OWNER_WIKI_EN varchar(255)
Definition
Code of the brand owner
Name of the brand owner
URL of the website
page of wiki english (end of the url
http://en.wikipedia.org/wiki/*****)
Examples / Remarks
This code is specific for POD, created and assigned manually
BRAND_TYPE_CD int PK
BRAND_TYPE_NM varchar(255)
Definition
ll be rebuild to distinguish concepts of shape (bottle, can, jar,) and material (glass, plastic,)
d material (glass, plastic,)
Examples / Remarks
http://www.fda.gov/Food/GuidanceRegulation/GuidanceDocumentsRegulatoryInformation/Labelin
S. Nutrition Facts Label required by FDA
Definition
GTIN Code
List of ingredients
Serving Size (g)
Serving Size (ml)
Serving Per Container
Calories
Calories from Fat
Total Fat (g)
Total Fat (% DV)
Saturated Fat (g)
Saturated Fat (% DV)
Trans Fat (g)
Cholesterol (g)
Cholesterol (% DV)
Sodium (g)
Sodium (% DV)
Total Carbohydrate (% g)
Total Carbohydrate (% DV)
Dietary Fiber (g)
Dietary Fiber (% DV)
Sugars (g)
Protein (g)
Vitamin A (%)
Vitamin C (%)
Calcium (%)
Iron (%)
URL of manufacturer source
Date of synchronization with the source
ceDocumentsRegulatoryInformation/LabelingNutrition/ucm064904.htm
Examples / Remarks
n/ucm064904.htm
GTIN_CD GTIN_LEVEL_ GCP_CD BRAND_CD BRAND_NM BRAND_TYPE_
30453200001 1 304532 46 Andros 1
30453200004 1 304532 46 Andros 1
30453200004 1 304532 46 Andros 1
30453200004 1 304532 46 Andros 1
30453200005 1 304532 46 Andros 1
30453200071 1 304532 46 Andros 1
30453200072 1 304532 46 Andros 1
30453200083 1 304532 46 Andros 1
30453200084 1 304532 46 Andros 1
30453200084 1 304532 46 Andros 1
30453200085 1 304532 46 Andros 1
30453200085 1 304532 46 Andros 1
30453200088 1 304532 46 Andros 1
30453200090 1 304532 46 Andros 1
30453200136 1 304532 46 Andros 1
30453200137 1 304532 46 Andros 1
30453200140 1 304532 46 Andros 1
30453200151 1 304532 46 Andros 1
30453200169 1 304532 46 Andros 1
30453200172 1 304532 46 Andros 1
30453200172 1 304532 46 Andros 1
30453200272 1 304532 46 Andros 1
30453200710 1 304532 46 Andros 1
30453200722 1 304532 46 Andros 1
30453200722 1 304532 46 Andros 1
30453200725 1 304532 46 Andros 1
30453200725 1 304532 46 Andros 1
30453200748 1 304532 46 Andros 1
30453200760 1 304532 46 Andros 1
30453200761 1 304532 46 Andros 1
GPC_S_CD GPC_F_CD GPC_C_CD GPC_B_CD
50000000 NULL NULL NULL
50000000 50190000 50192300 10000197
50000000 NULL NULL NULL
50000000 NULL NULL NULL
50000000 NULL NULL NULL
50000000 50190000 50192300 10000197
50000000 NULL NULL NULL
50000000 NULL NULL NULL
50000000 NULL NULL NULL
50000000 NULL NULL NULL
50000000 NULL NULL NULL
50000000 NULL NULL NULL
50000000 50190000 50192300 10000197
50000000 50190000 50192300 10000197
50000000 NULL NULL NULL
50000000 50190000 50192300 10000197
50000000 50190000 50192300 10000197
50000000 NULL NULL NULL
50000000 NULL NULL NULL
50000000 50190000 50192300 10000197
50000000 50190000 50192300 10000197
50000000 NULL NULL NULL
50000000 NULL NULL NULL
50000000 NULL NULL NULL
50000000 50190000 NULL NULL
50000000 NULL NULL NULL
50000000 NULL NULL NULL
50000000 50190000 NULL NULL
50000000 50190000 NULL NULL
50000000 NULL NULL NULL
GTIN_NM PRODUCT_LINE
NULL NULL
Compote pomme nature Dessert fruitier
confiture fraise Confiture extra
confiture abricot Confiture extra
confiture prune Confiture extra
Compote pomme nature Dessert fruitier
confiture framboise Confiture extra
confiture cerise Confiture allge
confiture fraise Confiture allge
confiture abricot Confiture allge
confiture orange Confiture allge
confiture reine claude Confiture allge
Compote pomme cassis Dessert fruitier
Compote pomme banane Dessert fruitier
Pomme Allge Compotes
Compote pomme nature Dessert fruitier
Compote de pommes nature allge Dessert fruitier
confiture pche Confiture allge
confiture pruneau Confiture extra
Compote pomme pruneau Dessert fruitier
Compote pomme poire Dessert fruitier
compote pomme Compotes
BOCAL. COMPOTE DE POIRES WILLIAMS ANDROS Compotes
Compote pomme pruneaux Dessert fruitier
Compote pomme allge Dessert fruitier
confiture framboise Confiture allge
confiture myrtille Confiture allge
Compote pomme rhubarbe Dessert fruitier
Compote pomme Dessert fruitier
compote pomme compote avec morceaux pot verre Compotes
M_G M_OZ M_ML M_FLOZ M_ABV M_ABW
NULL NULL NULL NULL NULL NULL
100 NULL NULL NULL NULL NULL
1000 NULL NULL NULL NULL NULL
1000 NULL NULL NULL NULL NULL
1000 NULL NULL NULL NULL NULL
100 NULL NULL NULL NULL NULL
1000 NULL NULL NULL NULL NULL
350 NULL NULL NULL NULL NULL
350 NULL NULL NULL NULL NULL
350 NULL NULL NULL NULL NULL
350 NULL NULL NULL NULL NULL
350 NULL NULL NULL NULL NULL
100 NULL NULL NULL NULL NULL
100 NULL NULL NULL NULL NULL
NULL NULL NULL NULL NULL NULL
100 NULL NULL NULL NULL NULL
100 NULL NULL NULL NULL NULL
350 NULL NULL NULL NULL NULL
450 NULL NULL NULL NULL NULL
100 NULL NULL NULL NULL NULL
100 NULL NULL NULL NULL NULL
750 NULL NULL NULL NULL NULL
750 NULL NULL NULL NULL NULL
100 NULL NULL NULL NULL NULL
100 NULL NULL NULL NULL NULL
350 NULL NULL NULL NULL NULL
350 NULL NULL NULL NULL NULL
100 NULL NULL NULL NULL NULL
100 NULL NULL NULL NULL NULL
740 NULL NULL NULL NULL NULL
PKG_UNIT PKG_TYPE_CD REF_CD
1 NULL
4 NULL
1 13
1 13
1 13
8 NULL
1 13
1 13
1 13
1 13
1 13
1 13
4 NULL
4 NULL
1 NULL
4 NULL
4 NULL
1 13
1 13
4 38
4 38
1 13
1 NULL
4 NULL
4 NULL
1 13
1 13
4 38
16 NULL
1 NULL