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

Creating a lookup dynamically

Standard automatic lookups are widely used across the system, but sometimes it is required to show different fields from different data sources, apply various static or dynamics ranges, and so on. It is not possible to achieve such results by modifying or creating table relations, changing TitleField1 or TitleField2 properties, or editing the AutoLookup group. But Dynamics AX allows creating custom lookups either using AOT forms or dynamically generating them from X++ code. This recipe will demonstrate the latter option, which uses the SysTableLookup application class to build a runtime lookup from X++ code.

In standard Dynamics AX, every customer account can be assigned to a vendor account and vice versa. In this ...

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