| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 | | Quintiq file version 2.0 |  | #parent: #root |  | Method CreateKPIWeight ( |  |   KPI kpi |  | ) |  | { |  |   Description: 'Create KPIWeight and value for all the scenario and strategy' |  |   TextBody: |  |   [* |  |     // cye1 Oct-21-2016 (created) |  |     //Create default KPI values for every scenario |  |     traverse( this,ScenarioMP, scenario ) |  |     { |  |       KPIValue::Create( scenario, kpi ) |  |     } |  |      |  |     traverse( this,Strategy, strategy ) |  |     { |  |       KPIWeight::Create( strategy, kpi, 0.0, 0 ) |  |     } |  |      |  |     // Create a kpi setting for the kpi |  |     KPISetting::Create( kpi ) |  |   *] |  | } | 
 |