Quintiq file version 2.0
#parent: #root
Method ValidateInput (
  output String feedback_o
) as Boolean id:Method_ScenarioManager_DialogResourceManager_ValidateInput_600
{
  #keys: '[127238.1.250514709]'
  Body:
  [*
    // Validate each of the editors 
    return Dialog.ValidateInput( LabelOnlineScenario.Text(), ApplicationLibMacroPlanner.FormatStringToNumber( EditorMaxNrOfOnlineScenario.Text() ), feedback_o)
             and  Dialog.ValidateInput( LabelNumScenario.Text(), ApplicationLibMacroPlanner.FormatStringToNumber( EditorMaxNrScenarioAllowed.Text() ), feedback_o )
             and  Dialog.ValidateInput( LabelPISPIP.Text(), ApplicationLibMacroPlanner.FormatStringToNumber( EditorMaxNrOfPISPIP.Text() ), feedback_o)
             and  Dialog.ValidateInput( LabelOperations.Text(), ApplicationLibMacroPlanner.FormatStringToNumber( EditorMaxNrOfOperation.Text() ), feedback_o )
             and  Dialog.ValidateInput( LabelLanelegProduct.Text(), ApplicationLibMacroPlanner.FormatStringToNumber( EditorMaxLaneLegProductCombi.Text() ), feedback_o )
             and  Dialog.ValidateInput( LabelConcurrentOptimizer.Text(), ApplicationLibMacroPlanner.FormatStringToNumber( EditorMaxConcurrentOptimizerRun.Text() ), feedback_o )
             and  Dialog.ValidateInput( LabelThreadOptimizer.Text(), ApplicationLibMacroPlanner.FormatStringToNumber( EditorMaxThreadForOptimization.Text() ), feedback_o )
             and  Dialog.ValidateInputOnlineScenarioNr( feedback_o );
  *]
}
