1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| Quintiq file version 2.0
| #parent: #root
| Method GetKPIFixedCost () const declarative remote as Real
| {
| Description: 'Return the total fixed cost'
| TextBody:
| [*
| // soh yee Jul-30-2014 (modified)
|
| costdrivers := selectset( this, AccountCostDriver, costdriver,
| costdriver.Name() = Translations::MP_AccountAssignmentCostDriverFixed()
| or costdriver.Name() = Translations::MP_AccountAssignmentCostDriverNrOfUnits()
| or costdriver.Name() = Translations::MP_AccountAssignmentCostDriverStaffing() );
|
| value := sum( costdrivers, Elements.AccountAssignmentForFinancialAccount, aa, aa.BaseCostWithinKPIHorizon() );
|
| return value;
| *]
| }
|
|