| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
 | | Quintiq file version 2.0 |  | #parent: #root |  | StaticMethod HasActiveStrategy ( |  |   ScenarioManager scenariomanager, |  |   output String feedback_o |  | ) remote as Boolean |  | { |  |   Description: 'Returns true when there is a link to the strategy. Usually set after an optimizer run. Used in designer' |  |   TextBody: |  |   [* |  |     // tyg2 Oct-9-2017 (created) |  |      |  |     result := not isnull( scenariomanager.ActiveStrategy() ); |  |     if( not result ) |  |     { |  |       feedback_o := Translations::ScenarioManager_HasActiveStrategy(); |  |     } |  |     return result; |  |   *] |  | } | 
 |