This code is to how to call any form using class.I think this is challenging for new developpers.  create mathod create form    protected FormRun createForm(identifiername identifiername)    {    Args args;    FormRun formRun;    ;    args = new Args();    args.caller(this);    formRun = new MenuFunction(identifiername, MenuItemType::Display).create(args);    formRun.run();    formRun.wait();    return formRun;    }    Public boolean prompt()    {    Object formRun;    ;    formRun = this.createForm(menuitemdisplaystr(Formaname));    Code = formrun.formmathod();    return formRun.okPressed();    }     
Microsoft Dynamics Ax,AIF,Axapta, Enterprise portal,,Microsoft , United State,U.S., SharePoint , BI Tools, Performance Tuning, SSRS,Business Logic,Ax ERP Errors and solution,Dynamics 365 Errors Solution,Business software .