Open Menuitem Through X++ in Ax 2012

Here is the code to open menu item through code in ax 2012.

void clicked()
{
    Args args = new Args();
    super();
    //args.record(dev_UserMapping);
    new MenuFunction(menuitemOutputStr(OutputMenuItemName), MenuItemType::Output).run(args);
} 

Related Posts

Previous
Next Post »

Thanks for comments.....