admin
2024-11-07 138b9789e8680c9cd9670d7cae1ddaadf86a2e70
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Quintiq file version 2.0
#parent: #root
FunctionOverride CalcTotalUnavailableCapacityRatio
{
  TextBody:
  [*
    value := Duration::Zero();
    if( not isnull( this.Period_MP() ) )
    {
      value := this.Period_MP().Duration() - this.Duration();
    }
    
    this.TotalUnavailableCapacityRatio( value );
  *]
}