lihongji
2024-05-16 2f841fb68d79b4276da8ebabee845cc7f961ffb9
1
2
3
4
5
6
7
8
9
10
Quintiq file version 2.0
#parent: #root
Function CalcFreeCapacity
{
  TextBody:
  [*
    value := maxvalue( this.TotalAvailableCapacity() - this.UsedCapacity(), 0 );
    this.FreeCapacity( value );
  *]
}