| 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 GetMaxCapacityErrorMessage ( |  |   Unit unit, |  |   Real expected, |  |   UnitPeriodQuantity unitPeriod |  | ) as String |  | { |  |   Description: 'Return error message to inform incorrect max capacity compared to expectation.' |  |   TextBody: |  |   [* |  |     return 'Unit [' + unit.Name()  |  |            + '] has expected max capacity of ' + expected.Format( 'N(Dec(2),Thousands) ' ) |  |            + ' instead of ' + unitPeriod.TotalMaxCapacity().Format( 'N(Dec(2),Thousands) ' ) |  |            + ' on start ' + unitPeriod.Start().Format( 'MEDIUMDATE' ); |  |   *] |  |   InterfaceProperties { Accessibility: 'Module' } |  | } | 
 |