admin
2024-08-25 ee410ee1b320ad9fc5066afd1534c944dedc184d
1
2
3
4
5
6
7
8
9
10
11
12
13
Quintiq file version 2.0
#parent: #root
Function CalcPenaltyCapacityInQuantity
{
  TextBody:
  [*
    // kent Feb-3-2016 (created)
    
    value := maxvalue( this.TotalMinCapacity() - this.UsedCapacity(), 0.0 )
    
    this.PenaltyCapacityInQuantity( value );
  *]
}