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
export enum DataFoodBaseAccountName {
  GeneralFixedCosts = 'General fixed costs',
  ChangeoverCost = 'Changeover cost',
  CostOfSales = 'Cost of sales',
  ShiftPatternCosts = 'Shift pattern costs',
  StockingCosts = 'Stocking costs',
  NumberOfUnits = 'Number of units',
  OperatingCost = 'Operating cost',
  InventorySupplyCost = 'Inventory supply cost',
  Preference = 'Preference',
  Margin = 'Margin',
  Empty = '',
  TransportationCost = 'Transportation cost',
  TransportationLotCost = 'Transportation(Lot) Cost',
  SourcingCost = 'Sourcing cost',
  SourcingLotCost = 'Sourcing(Lot) cost',
  ProcessPreferenceCost = 'Process preference cost',
}
 
export enum DataFoodBaseAccountCostDriver {
  Changeover = 'Changeover',
  Fixed = 'Fixed',
  InventorySupply = 'Inventory supply',
  Volume = 'Volume',
  Lot = 'Lot',
}
 
export enum DataFoodBaseAccountUoM {
  EuroPer = '€/',
  EuroPerMonth = '€/Month',
  EuroPerWeek = '€/Week',
  EuroPerYear = '€/Year',
  EuroPerHour = '€/Hour',
  EuroPerTon = '€/Ton',
  EuroPerLot = '€/Lot',
}
 
export enum DataFoodBaseAccountTimeUnit {
  Day = 'Day',
  Week = 'Week',
  Month = 'Month',
  Quarter = 'Quarter',
  Year = 'Year',
}
 
export enum DataFoodBaseAccountLengthOfTime {
  _1 = 1,
  _2 = 2,
}
 
export enum DataFoodBaseAccountCost {
  _122_22 = 122.22,
  _400 = 400,
  _12345 = 12345,
  _999 = 999,
  _1000 = 1000,
  _2000 = 2000,
  _15000 = 15000,
}
 
const costLabel = {
  euro: (timeUnit: string): string => `Cost (EUR/${timeUnit})`,
  dollar: (timeUnit: string): string => `Cost (USD/${timeUnit})`,
};
 
export { costLabel as CostLabel };