Quintiq file version 2.0
#parent: Toolbar/btnOk
Response OnClick () id:Response_Toolbar_btnOk_OnClick
{
  #keys: '[11660.0.757985016]'
  Body:
  [*
    // Apply changes
    Dialog.ApplyChanges();
    Dialog.EndModal(1);
  *]
  DefinitionID: 'Responsedef_GUIButtonBase_OnClick'
  Precondition:
  [*
    DisaggregationFactor::ValidateInput( feedback,
                                         SelectionStockingPoint.Data(),
                                         SelectionProduct.Data(),
                                         GUIDateTimeSelectorStart.DateTime().Date(),
                                         ApplicationLibMacroPlanner.FormatStringToReal( EditorFactor.Text() ),
                                         Dialog.Data().WrappedInstance(),
                                         true );
  *]
}
