1
2
3
4
5
6
7
8
9
10
11
12
13
14
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Method GetScalingType ( 
 |    Number scalingtype 
 |  ) as ScalingType_Lib 
 |  { 
 |    Description: 'Returns the instance of ScalingType for which the name matches the input name' 
 |    TextBody: 
 |    [* 
 |      // MVR1 Feb-12-2016 (created) 
 |      result := ScalingType_Lib::FindScalingType_upgradeTypeIndex( scalingtype, this.Key() ); 
 |      return result; 
 |    *] 
 |  } 
 |  
  |