Quintiq file version 2.0
#parent: Toolbar768/btnOk
Response OnClick () id:Response_Toolbar768_btnOk_OnClick
{
  #keys: '[121458.0.772011920]'
  Body:
  [*
    // End dialog
    Dialog.ApplyChanges();
    Dialog.EndModal(1);
  *]
  DefinitionID: 'Responsedef_GUIButtonBase_OnClick'
  Precondition:
  [*
    sanitycheckfeedback := '';
    return TransportAvailability::ValidateInput( feedback,
                                                 SelectionUnit.Data(),
                                                 GUIStartDateTimeSelector.DateTime(),
                                                 StringSelectionTimeUnit.BoundValue(),
                                                 ApplicationLibMacroPlanner.FormatStringToNumber( EditorNumberOfUnit.Text() ),
                                                 Dialog.Data().LotSize(),
                                                 0.0,
                                                 ApplicationLibMacroPlanner.FormatStringToReal( EditorMaximumQuantity.Text() ),
                                                 SelectionShiftPattern.Data(),
                                                 Dialog.Data().WrappedInstance(),
                                                 true,
                                                 sanitycheckfeedback );
  *]
  UserRequiresReadWrite: true
}
