How to Open form in Dynamics Ax



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();
}

Related Posts

Previous
Next Post »

Thanks for comments.....