| Quintiq file version 2.0 | 
| #parent: #root | 
| StaticMethod ValidateInput ( | 
|   output String feedback_o, | 
|   output String sanitycheckfb_o, | 
|   LibSCIScenarios selectedlibsciscenarios, | 
|   LibSCIScenario isbaselibsciscenario, | 
|   LibSCIScenario iscurrentlibsciscenario | 
| ) declarative remote as Boolean | 
| { | 
|   Description: 'Check export path, selected scenario in order to enable or disable the export button for SCI Export dialog.' | 
|   TextBody: | 
|   [* | 
|     feedback_o := ''; | 
|      | 
|     // Check at least 1 LibSCIScenario checkbox is checked | 
|     if( selectedlibsciscenarios.Size() < 1 ) | 
|     { | 
|       feedback_o := Translations::LibSCIIntegration_IntegrationInterface_ValidateInput_NotSelectScenario();  | 
|     } | 
|     // Check there is a Base LibSCIScenario | 
|     else if( isnull( isbaselibsciscenario ) ) | 
|     { | 
|       feedback_o := Translations::LibSCIIntegration_IntegrationInterface_ValidateInput_IsBaseNotSelected(); | 
|     } | 
|     // Check there is a Current LibSCIScenario | 
|     else if( isnull( iscurrentlibsciscenario ) ) | 
|     { | 
|       feedback_o := Translations::LibSCIIntegration_IntegrationInterface_ValidateInput_IsCurrentNotSelected(); | 
|     } | 
|      | 
|     return feedback_o = ''; | 
|   *] | 
| } |