Параметры я передаю из аксапты...
X++:
MenuFunction menuFunction;
Args args;
;
menuFunction = new MenuFunction(menuItemOutputStr(ReportForm),MenuItemType::Output);
args = new Args();
args.parm(strfmt("param1=%1¶m2=%2","параметр1","параметр2"));
menuFunction.run(Args);
menuFunction.wait();
и использую 2009 аксапту