Quintiq file version 2.0
#parent: pnlActions/btnOk
Response OnClick () id:Response_pnlActions_btnOk_OnClick
{
  #keys: '[139394.1.50993200]'
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    sanitycheckfeedback := '';
    return SupplySpecification::ValidateInput( feedback,
                                               DropDownListUnit.Data(),
                                               DropDownListProduct.Data(),
                                               DateTimeSelectorStart.DateTime(),
                                               DateTimeSelectorEnd.DateTime(),
                                               ApplicationMacroPlanner.FormatStringToReal( EditFieldMinQuantity.Text() ),
                                               ApplicationMacroPlanner.FormatStringToReal( EditFieldTargetQuantity.Text() ),
                                               CheckboxHasMaxQuantity.Checked(),
                                               ApplicationMacroPlanner.FormatStringToReal( EditFieldMaxQuantity.Text() ),
                                               guard( DataHolderDialogData.Data().WrappedInstance(), null( SupplySpecification ) ),
                                               true /*checkunique*/,
                                               sanitycheckfeedback );
  *]
  QuillAction
  {
    Body:
    [*
      // On ok
      Form.OnOK();
    *]
    GroupServerCalls: false
  }
}
