Ax 2012 runbasebatch query. dialog(); and using Object control = dlg.