| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 | | Quintiq file version 2.0 |  | #parent: #root |  | Function CalcMinCapacity |  | { |  |   TextBody: |  |   [* |  |     // MKO2 May-5-2016 (created) |  |      |  |     value := min( this, StockingPointCapacity, spc, spc.MaxCapacity() ); |  |      |  |     // If no capacity defined, set based on GP value |  |     if( value.IsInfinite() ) |  |     { |  |       value := this.MacroPlan().GlobalParameters_MP().DefaultMaxCapacityForStockingPoint();  |  |     } |  |      |  |     this.MinCapacity( value ); |  |   *] |  | } | 
 |