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.
static void SysListSelectSingle(Args ...