Quintiq file version 2.0
#parent: Toolbar/ButtonOk
Response OnClick () id:Response_Toolbar_ButtonOk_OnClick
{
  #keys: '[11660.0.15274328]'
  Body:
  [*
    // Apply changes
    Dialog.SetAttributesBeforeOnApplyData();
    Dialog.ApplyChanges();
    Dialog.EndModal(1);
  *]
  DefinitionID: 'Responsedef_GUIButtonBase_OnClick'
  Precondition:
  [*
    sanitycheckfeedback := '';
    return StockingPoint_MP::ValidateInput( feedback,
                                            MacroPlan,
                                            guard( Dialog.Data().WrappedInstance(), null( StockingPoint_MP ) ),
                                            EditorID.Text(),
                                            EditorName.Text(),
                                            CheckBoxHasStart.Checked(),
                                            GUIDateTimeSelectorStart.DateTime().Date(),
                                            CheckBoxHasEnd.Checked(),
                                            GUIDateTimeSelectorEnd.DateTime().Date(),
                                            SelectionCurrency.Data(),
                                            SelectionUnitOfMeasurement.Data(),
                                            true,
                                            sanitycheckfeedback );
  *]
}
