| Quintiq file version 2.0 | 
| #parent: #root | 
| Method GetHasValidInput ( | 
|   output Strings feedback_o, | 
|   output Strings sanitycheckfeedback_o | 
| ) declarative remote as Boolean | 
| { | 
|   Description: 'Checks if conversion factor has valid input' | 
|   TextBody: | 
|   [* | 
|     // desmondt Oct-1-2015 (created) | 
|      | 
|     feedback := ''; | 
|     sanitycheckfeedback := ''; | 
|      | 
|     isvalid := BaseConversionFactor::ValidateInput( feedback, | 
|                                                     sanitycheckfeedback, | 
|                                                     this, | 
|                                                     this.SourceUnitOfMeasure(), | 
|                                                     this.TargetUnitOfMeasure(), | 
|                                                     this.Factor(), | 
|                                                     guard( this.Product_MP().ID(), this.ProductID() ) <> "" , | 
|                                                     this.Product_MP(), | 
|                                                     false ); | 
|        | 
|     if( not isnull( feedback_o ) and not isvalid ) | 
|     { | 
|       feedback_o.Add( feedback ); | 
|       sanitycheckfeedback_o.Add( sanitycheckfeedback ); | 
|        | 
|     } | 
|      | 
|     return isvalid; | 
|   *] | 
| } |