1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| Quintiq file version 2.0
| #parent: #root
| Method GetIsPlannedGreaterThanMinimumQuantity () declarative remote as Boolean
| {
| Description: 'Check if unit period transport has used quantity more than or equal to than the total minimum quantity. For sanity check and constraint.'
| TextBody:
| [*
| value := true;
|
| if( this.IsPlanning() )
| {
| value := this.UsedQuantity() >= this.TotalMinimumQuantity()
| or this.MacroPlan().GlobalParameters_MP().GetIsBalanceWithinTolerance( this.UsedQuantity(), this.TotalMinimumQuantity() );
| }
|
| return value;
| *]
| }
|
|