| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 | | Quintiq file version 2.0 |  | #parent: #root |  | StaticMethod CanSelect ( |  |   KPISettings kpisettings, |  |   Boolean isshown, |  |   output String feedback_o |  | ) declarative remote as Boolean |  | { |  |   Description: 'Precondition to check whether kpi settings can be select/deselect (toggle shown or untoggle)' |  |   TextBody: |  |   [* |  |     result := exists( kpisettings, Elements, kpisetting, kpisetting.IsShown() <> isshown ); |  |     feedback_o := ifexpr( isshown, Translations::ScenarioManager_KPISetting_CanSelect(), Translations::ScenarioManager_KPISetting_CanDeselect() ); |  |                         |  |     return result; |  |   *] |  | } | 
 |