Tuesday, September 17, 2013

Opening Form in Ax 2012 using X++

Opening Form in Ax 2012 using X++

Public void OpenRoute()
{
    FormRun formRun;
    Args args;
    args = new args();

    //Used to pass itemid as parameter
    args.parm(ItemId.text());
    args.name(formStr("RouteCalculation"));
    formRun = ClassFactory.formRunClass(args);
    formRun.init();
    formRun.run();
    formRun.wait();
}

No comments:

Post a Comment