| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 | | Quintiq file version 2.0 |  | #parent: #root |  | Method GetInvalidShiftPatternMsg () const as String |  | { |  |   Description: 'Returns error msg when one of the unit periods (time) does not have a shift pattern' |  |   TextBody: |  |   [* |  |     // srt Jul-8-2014 (created) |  |     value := ''; |  |      |  |     if( exists( this, UnitPeriod.astype( UnitPeriodTime ), upt, not upt.HasShiftPattern() ) |  |         or exists( this, UnitPeriod.astype( UnitPeriodTransportTime ), upt, not upt.HasShiftPattern() ) ) |  |     { |  |       value := Translations::MP_Unit_GetInvalidShiftPatternMsg(); |  |     } |  |      |  |     value := GlobalParameters_MP::TruncateString( value ); |  |      |  |     return value; |  |   *] |  | } | 
 |