O'Reilly logo

Microsoft Dynamics AX 2009 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

Global system functions like pickList(), pickUser() and similar in Dynamics AX allow developers to build various lookups displaying a list of custom options. Besides that, the standard Dynamics AX application contains several additional global lookup functions, which have a slightly richer user interface.

One of the functions is called selectSingle() and presents the user with a list of selectable options created using a container type variable.

In this recipe for demonstration purposes, we will create a job that shows the principle of how to use this function. As sample data, we will use different versions of Dynamics AX.

How to do it...

  1. Create a new job called SysListSelect:
    static void SysListSelectSingle(Args ...

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