Quintiq file version 2.0
#parent: Toolbar/ButtonOk
Response OnClick () id:Response_Toolbar_ButtonOk_OnClick
{
  #keys: '[11660.0.474903674]'
  Body:
  [*
    // Apply changes
    
    Dialog.ApplyChanges();
    Dialog.EndModal(1);
  *]
  DefinitionID: 'Responsedef_GUIButtonBase_OnClick'
  Precondition:
  [*
    sanitycheckfeedback := '';
    return StockingPointCapacity::ValidateInput( feedback,
                                                 sanitycheckfeedback,
                                                 SelectionStockingPoint.Data(),
                                                 GUIStartDateTimeSelector.DateTime().Date(),
                                                 ApplicationLibMacroPlanner.FormatStringToReal( EditorMaxCapacity.Text() ),
                                                 Dialog.Data().WrappedInstance(),
                                                 true);
  *]
  UserRequiresReadWrite: true
}
