Generic SysTableLookup Method

It is often needed to write a custom lookup method and the SysTableLookup class can be useful to create lookups from code. However the following method uses the SysTableLookup in the background but can be called easier. When using the SysTableLookup class, for most of the simple lookups (1 datasource table) it is alway the […] Read More...
Posted in Dynamics Ax.

EventHandlers In Ax 2009

It is possible to attach event listeners to objects in X++. The next code sample shows the usage of the SysEventBroker and SysEventInfo classes to handle events : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 static void SysEventTest(Args _args) { SysEventBroker broker […] Read More...
Posted in Dynamics Ax.