O'Reilly logo

Microsoft Dynamics AX 2012 Development Cookbook by Mindaugas Pocius

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Another way of displaying custom options

The global system functions, such as pickList() , pickUser() , and so on, allow developers to build various lookups displaying a list of custom options. Besides that, the standard Dynamics AX application contains a few more quite useful functions, allowing us to build more complex lookups of custom options.

One of the functions is called selectSingle() , and it presents the user with a list of options. It also displays a checkbox next to each option, allowing users to select the option. To demonstrate this, we will create a new job that shows the usage of this function.

How to do it...

  1. In the AOT, create a new job named SysListSelectSingle:
    static void SysListSelectSingle(Args _args) { container choices; container ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required