| 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 |  | StaticMethod HasMatchingLastRunStrategy ( |  |   ScenarioManager scenariomanager, |  |   String laststrategyname, |  |   output String feedback_o |  | ) declarative remote as Boolean |  | { |  |   Description: 'return false if last used strategy is not found. This is usually the case when a the last used / default strategy has been renamed.' |  |   TextBody: |  |   [* |  |     // tyg2 May-20-2016 (created) |  |      |  |     if( not exists( scenariomanager, Strategy, s, s.Name() = laststrategyname ) ) |  |     { |  |       feedback_o := Translations::ScenarioManager_HasMatchingLastRunStrategy( laststrategyname ); |  |     } |  |      |  |     return feedback_o = ''; |  |   *] |  | } | 
 |