US 408 365 4638

Dynamics AX 2012 Tips And Tricks : Calling MenuItem through Code in Dynamics AX 2012

Dynamics AX 2012 Development Services

Calling MenuItem through Code in Dynamics AX 2012 Tips and Tricks We often need to execute menu items from X+. Menu Items are represented by the MenuFunction class. Below is a code sample that depicts how to run Menu Items through code. MenuFunction menuFunction = new MenuFunction(menuitemdisplaystr(MENUITEM), MenuItemType::Display); Args args = new Args(); args.caller(element); args.record(DS); […]