Kevin Kok Khah Whey
2023-11-07 5ae534ab606e6f2ba5ea60914224d665b0447d5a
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
Quintiq file version 2.0
Component DashboardChartDemandFulfillmentPerProduct id:DashboardChartDemandFulfillmentPerProduct_858
{
  #keys: '[139394.0.2087228950]'
  BaseType: 'WebChart'
  Children:
  [
    Component DashboardChartLeveDemandFulfillmentPerProduct
    {
      #keys: '[139394.0.2087228951]'
      BaseType: 'WebChartLevel'
      Children:
      [
        Component DataExtractorDemandFulfillmentPerProduct
        {
          #keys: '[139394.0.2087228952]'
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'structured[SalesDemandInPeriod]'
            Source: 'DataHolderDemandFulfillmentSDIPs'
            Taborder: 0
            Transformation: 'Elements'
          ]
        }
        Component DashboardChartSeriesDemandFulfillmentForecastQuantityPerProduct
        {
          #keys: '[139394.0.2087228953]'
          BaseType: 'WebChartSeries'
          Properties:
          [
            Description: 'Calculate for Forecast orders'
            Label: 'Fulfilled forecast quantity'
            Taborder: 3
            YScaleDataPath: 'ifexpr( object.IsForecast(), object.FulfilledQuantityInDefaultUOM(), 0.0 )'
          ]
        }
        Component DashboardChartSeriesDemandUnfulfilledForecastQuantityPerProduct
        {
          #keys: '[139394.0.2087228954]'
          BaseType: 'WebChartSeries'
          Properties:
          [
            Description: 'Calculate for Forecast orders'
            Label: 'Unfulfilled forecast quantity'
            Taborder: 1
            YScaleDataPath: 'ifexpr( object.IsForecast(), object.UnfulfilledQuantity() * object.DefaultUOMConversionFactor(), 0.0 )'
          ]
        }
        Component DashboardChartSeriesDemandUnfulfilledOrderQuantityPerProduct
        {
          #keys: '[157722.0.64431880]'
          BaseType: 'WebChartSeries'
          Properties:
          [
            Description: 'Calculate for Non-Forecast orders'
            Label: 'Unfulfilled order quantity'
            Taborder: 2
            YScaleDataPath: 'ifexpr( not object.IsForecast(), object.UnfulfilledQuantity() * object.DefaultUOMConversionFactor(), 0.0 )'
          ]
        }
        Component DashboardChartSeriesDemandFulfillmentOrderQuantityPerProduct
        {
          #keys: '[157722.0.64431919]'
          BaseType: 'WebChartSeries'
          Properties:
          [
            Description: 'Calculate for Non-Forecast orders'
            Label: 'Fulfilled order quantity'
            Taborder: 4
            YScaleDataPath: 'ifexpr( not object.IsForecast(), object.FulfilledQuantityInDefaultUOM(), 0.0 )'
          ]
        }
      ]
      Properties:
      [
        ChartColorString:
        [*
          WebChartColor
          {
            WebChartConfigGroup
            {
              Label: 'Series'
            }
            WebChartColorEntry
            {
              Label: 'Fulfilled forecast quantity'
              Color: '$66CCFF'
              Shape: 'Square'
              Size: 0
              Pattern: 'Solid'
            }
            WebChartColorEntry
            {
              Label: 'Unfulfilled forecast quantity'
              Color: '$FFCC33'
              Shape: 'Square'
              Size: 0
              Pattern: 'Solid'
            }
            WebChartColorEntry
            {
              Label: 'Fulfilled order quantity'
              Color: '$6633FF'
              Shape: 'Square'
              Size: 0
              Pattern: 'Solid'
            }
            WebChartColorEntry
            {
              Label: 'Unfulfilled order quantity'
              Color: 'Orange'
              Shape: 'Square'
              Size: 0
              Pattern: 'Solid'
            }
          }
        *]
        ChartTypeString:
        [*
          WebChartType
          {
            WebChartConfigGroup
            {
              Label: 'Series'
            }
            WebChartTypeEntry
            {
              Label: 'Fulfilled forecast quantity'
              ChartType: 'Stacked bar'
              Stepped: 'No'
            }
            WebChartTypeEntry
            {
              Label: 'Unfulfilled forecast quantity'
              ChartType: 'Stacked bar'
              Stepped: 'No'
            }
            WebChartTypeEntry
            {
              Label: 'Fulfilled order quantity'
              ChartType: 'Stacked bar'
              Stepped: 'No'
            }
            WebChartTypeEntry
            {
              Label: 'Unfulfilled order quantity'
              ChartType: 'Stacked bar'
              Stepped: 'No'
            }
            Default: 'Stacked bar'
            DefaultStepped: 'No'
            MergeStackedBars: true
          }
        *]
        Groups: 'ProductID'
        Taborder: 0
      ]
    }
  ]
  Properties:
  [
    Taborder: 0
    Title: 'Demand fulfillment per product'
    TitleYAxis: 'Quantity'
  ]
  ResponseDefinitions:
  [
    DelegatedResponseDefinition OnClick id:Responsedef_DashboardChartDemandFulfillmentPerProduct_858_WebMenu_OnClick
    {
      #keys: '[139394.0.2087228948]'
      Initiator: 'WebMenu'
      IsInherited: false
      ResponseType: 'OnClick'
    }
    DelegatedResponseDefinition OnClick id:Responsedef_DashboardChartDemandFulfillmentPerProduct_858_WebButton_OnClick
    {
      #keys: '[139394.0.2087228949]'
      Initiator: 'WebButton'
      IsInherited: false
      ResponseType: 'OnClick'
    }
  ]
}