Quintiq file version 2.0
#parent: Toolbar/btnOk
Response OnClick () id:Response_Toolbar_btnOk_OnClick
{
  #keys: '[122872.1.1871576593]'
  Body:
  [*
    // Apply changes
    Dialog.EndModal(1);
  *]
  DefinitionID: 'Responsedef_GUIButtonBase_OnClick'
  Precondition:
  [*
    return DEPRECATED_InventoryOptimization::ValidateInputInventoryOptimization( feedback,
                                                             SelectionStrategy.Data(),
                                                             GUIDurationSelectorTimeLimit.Duration(),
                                                             ApplicationLibMacroPlanner.FormatStringToNumber( EditorNumberOfSimulations.Text() ),
                                                             ApplicationLibMacroPlanner.FormatStringToNumber( EditorNumberOfPeriodsInWindow.Text() ) )
  *]
}
