Description:-
In this article we will see how to open form in dynamics ax using job. Here is the job to open form in Ax. here i have created Sample Demo example to open form through X++.
Static void OpenFormByCodeB() { FormRun formRun; Args args = new Args(); ; args.name(formstr(A_PurchaseOrderForm)); formRun = ClassFactory.formRunClass(args); formRun.init(); formRun.run(); formRun.wait(); formRun.detach(); }
Thanks for comments.....