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
| Quintiq file version 2.0
| #parent: #root
| StaticMethod CreateData (
| GlobalOTDSOP this,
| MacroPlans macroPlans,
| CapacityAndSaleBudgeCompareItemRows casbcirs,
| String popoa,
| String groupBy,
| String saleOrCapacity,
| CapacityAndSaleBudgeFilterYears years,
| CapacityAndSaleBudgeFilterMonths months
| )
| {
| TextBody:
| [*
| //info( "产能/销售额:", saleOrCapacity, " 时间分组:", groupBy, " 基地/事业部:", popoa );
|
| if ( groupBy = "年" ) {
| CapacityAndSaleBudgeChartElement::CreateDataByYear( this, macroPlans, casbcirs, popoa, saleOrCapacity, years, months );
| } else if ( groupBy = "月" ) {
| CapacityAndSaleBudgeChartElement::CreateDataByMonth( this, macroPlans, casbcirs, popoa, saleOrCapacity, years, months );
| } else if ( groupBy = "季度" ) {
| CapacityAndSaleBudgeChartElement::CreateDataByQuarter( this, macroPlans, casbcirs, popoa, saleOrCapacity, years, months );
| } else if ( groupBy = "半年" ) {
| CapacityAndSaleBudgeChartElement::CreateDataByHalfAYear( this, macroPlans, casbcirs, popoa, saleOrCapacity, years, months );
| }
| *]
| }
|
|