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
| Quintiq file version 2.0
| #parent: #root
| StaticMethod SelectGenerateChartRows (
| GlobalOTDSOP this,
| owning CapacityAndSaleBudgeFilterItems items,
| owning CapacityAndSaleBudgeFilterPlaceOfProductionOfArrays casbfpopoas,
| owning CapacityAndSaleBudgeFilterBusinessTypes casbfbts,
| owning CapacityAndSaleBudgeFilterYears years,
| owning CapacityAndSaleBudgeFilterMonths months
| ) as owning CapacityAndSaleBudgeCompareItemRows
| {
| TextBody:
| [*
| casbcirs := construct( CapacityAndSaleBudgeCompareItemRows );
|
| CapacityAndSaleBudgeCompareItemCell::SetFilterCriteria( this, &items, &casbfpopoas, &casbfbts, &years, &months );
|
| casbcirs := selectset( this, CapacityAndSaleBudgeCompareItemRow, tempCASBCIR,
| exists( casbfpopoas, Elements, tempCASBFPOPOA, tempCASBFPOPOA.PlaceOfProductionOfArray() = tempCASBCIR.PlaceOfProductionOfArray() ) and
| exists( casbfbts, Elements, tempCASBFBT, tempCASBFBT.BusinessType() = tempCASBCIR.BusinessType() )
| );
|
| return &casbcirs;
| *]
| }
|
|