| Quintiq file version 2.0 | 
| #parent: #root | 
| StaticMethod GetHasValidYearlyInterestRate ( | 
|   output String feedback_o, | 
|   Real yearlyrate | 
| ) declarative remote as Boolean | 
| { | 
|   Description: 'Returns ture if the yearly interest rate is greater than zero.' | 
|   TextBody: | 
|   [* | 
|     // Adhi Nov-12-2015 (created) | 
|      | 
|     isvalid := yearlyrate > 0; | 
|      | 
|     if( not isvalid ) | 
|     { | 
|       feedback_o := Translations::MP_GlobalParameters_MP_ValidateInput_IsNegativeYearlyInterestRate( yearlyrate ); | 
|     } | 
|      | 
|     return isvalid; | 
|   *] | 
| } |