yunchai
2023-09-24 9fd3e7562c741c73d7cc0ec0bdba1c92569094a5
1
2
3
4
5
6
7
8
9
10
11
12
Quintiq file version 2.0
#parent: #root
Function CalcMaximumQuantity
{
  TextBody:
  [*
    // soh yee Jun-10-2013 (created)
    value := ifexpr( this.HasUserLotSize(), this.UserMaximumQuantity(), this.AsProcess_MP().MaximumQuantity() );
    
    this.MaximumQuantity( value );
  *]
}