Wednesday, February 5, 2014

How to Run a Job from Code in AX

Hi Guys...

Below is the code to Run a Job from code using menuitem in AX....
Args  args;
args  =  new Args();
args.name(identifierStr("Your Job Name"));
new MenuFunction(MenuitemActionStr("Your Job Name") , MenuItemType::Action).run(args);

No comments:

Post a Comment