hongji.li
2023-09-04 f991f2f4b182a9466808e5efbf294a7c59e0ab2f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Quintiq file version 2.0
#parent: #root
Function CalcWeightedValueLevel5
{
  TextBody:
  [*
    value := 0.0;
    levelcondition := guard( this.KPIWeight().Level() = 5, false );
    
    if( levelcondition ) 
    {
      value := this.Value() * this.KPIWeight().Weight();
    }
    
    this.WeightedValueLevel5( value );
  *]
}