haorenhui
2023-10-30 6d6cc10d9e8e242661da7fd655dec155a09d676c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
export enum DataFoodBaseEntityName {
  Europe = 'Europe',
  Plants = 'Plants',
  DenmarkPlant = 'Denmark Plant',
  HungaryPlant = 'Hungary Plant',
  DEFermenter = 'DE Fermenter',
  DEPackaging = 'DE Packaging',
  DCAustria = 'DC - Austria',
  DCBulgaria = 'DC - Bulgaria',
  DCMorocco = 'DC - Morocco',
  FRWarehouse = 'FR Warehouse',
  HUFermenter = 'HU Fermenter',
  HUStrainer = 'HU Strainer',
  HUFinishing = 'HU Finishing',
  HUPackaging = 'HU Packaging',
  HUWarehouse = 'HU Warehouse',
  Suppliers = 'Suppliers',
  PackagingSupplier = 'Packaging Supplier',
  DEDairySupplier = 'DE Dairy Supplier',
  DEWarehouse = 'DE Warehouse',
  DEWarehousePackagingMaterial = 'DE Warehouse Packaging Material',
  DEWarehouseRawMaterial = 'DE Warehouse Raw Material',
}
 
const dataFoodBaseEntity = {
  plantsParent: [DataFoodBaseEntityName.Europe, DataFoodBaseEntityName.Plants],
  huUnitsParent: [DataFoodBaseEntityName.Europe, DataFoodBaseEntityName.Plants, DataFoodBaseEntityName.HungaryPlant],
  huWarehouseParent: [DataFoodBaseEntityName.Europe],
  deUnitsParents: [DataFoodBaseEntityName.Europe, DataFoodBaseEntityName.Plants, DataFoodBaseEntityName.DenmarkPlant],
};
 
export enum DataFoodBaseProductName {
  AllProducts = 'All Products',
  FinishedGoods = 'Finished Goods',
  Greek = 'Greek',
  Lowfat = 'Lowfat',
  LowfatVanilla6pk = 'Lowfat Vanilla 6 pk',
  LowfatVanilla12pk = 'Lowfat Vanilla 12 pk',
  LowFatStrawberry12pk = 'Lowfat Strawberry 12 pk',
  GreekLemon12pk = 'Greek Lemon 12 pk',
}
 
export enum DataFoodBaseSalesSegmentName {
  Target = 'Target',
  Carrefour = 'Carrefour',
}
 
// Define all product parent hierarchy (so that child product can re-use the definition)
const dataFoodBaseProductParent = {
  lowfatParent: [{ Name: DataFoodBaseProductName.AllProducts }, { Name: DataFoodBaseProductName.FinishedGoods }, { Name: DataFoodBaseProductName.Lowfat }],
};
 
const dataLowFatVanilla6 = {
  name: DataFoodBaseProductName.LowfatVanilla6pk,
  parents: dataFoodBaseProductParent.lowfatParent,
};
 
const dataLowFatStrawberry12 = {
  name: DataFoodBaseProductName.LowFatStrawberry12pk,
  parents: dataFoodBaseProductParent.lowfatParent,
};
 
export {
  dataLowFatVanilla6 as DataLowFatVanilla6,
  dataLowFatStrawberry12 as DataLowFatStrawberry12,
  dataFoodBaseProductParent as DataFoodBaseProductParent,
  dataFoodBaseEntity as DataFoodBaseEntity,
};
 
export enum DataMetalBaseEntityName {
  QAluminum = 'QAluminum',
  Asia = 'Asia',
  QiYing = 'Qi-Ying',
  Casthouse = 'Casthouse (Qi-Ying)',
  Ingot = 'Ingot (Qi-Ying)',
  Europe = 'Europe',
  NorthAmerica = 'North America',
  LaQuinta = 'La Quinta',
}
 
export enum DataMetalBaseProductName {
  AllProducts = 'All Products',
  Can = 'Can',
  BeverageCan = 'Beverage can',
  BCCanBody = 'BC can body',
  BCCBWide = 'BC CB wide',
}
 
const dataBCCBWide = {
  name: DataMetalBaseProductName.BCCBWide,
  parents: [
    { Name: DataMetalBaseProductName.AllProducts },
    { Name: DataMetalBaseProductName.Can },
    { Name: DataMetalBaseProductName.BeverageCan },
    { Name: DataMetalBaseProductName.BCCanBody },
  ],
};
 
export { dataBCCBWide as DataBCCBWide };