X++:
FormRun m_routeFormRun;
TABLE_XXX test;
Args args = new args();
test.setTmp();
test.XXX = '123';
test.insert();
args.name(formStr(TABLE_XXX));
m_routeFormRun = ClassFactory::formRunClassOnClient( args );
m_routeFormRun.init();
m_routeFormRun.dataSource(1).cursor().setTmp();
m_routeFormRun.dataSource(1).cursor().setTmpData(test);
m_routeFormRun.run();
m_routeFormRun.wait();
На 12-ой такое работает ожидаемо.
Попробуйте так же