Dynamics Ax


What about this new eXceLleNT Dynamics AX compiler?

As the new major release of Dynamics AX is released, we can now dig a little deeper into some of the new stuff available to us now. And boy did they put in a lot of effort! Previous major releases did bring us some new tools, but there was a balance between new tooling and […]

Technical conference 2014 : Day one

I’m putting a blog post online today because yesterday the Wifi was really letting us down. But anyway, it turned out to be a very interesting day! KeyNote It all started out with what Microsoft is good at, giving presentations! The keynote was packed with content and demo’s so we were immediately excited to see […]

Debug Alerts in Dynamics Ax 2009

Today I was creating some alert rules and needed to make some modifications to the alerting functionality. Something didn’t go quite as expected, so I wanted to debug the execution of an alert action. Here is how you can do it : Make sure the debug mode is set to ‘when breakpoint’ for the user […]

X++ run a process with user credentials

When you want to run for example a command prompt from within the X++ language, you can use the following code : Let’s assume that the following parameters were passed to the method : FileName : “C:\windows\system32\cmd.exe” Arguments : “” RunAsAdmin : true UseShellExecute : true WaitForExit : false   1 2 3 4 5 […]

Dynamics AX 6.0 – SQL AOD

Owkay, have a seat and hold on to whatever you can hold on to… As of the beginning of AX (Axapta) we have always been used to working with AOD files. But it seems that the days of the AOD fileformat are numbered ! There are a couple of reasons why the use of AOD […]

Dynamics Ax Get and Remove text from the Infolog

Sometimes you want a process to log infolog data into a text field instead of sending it to the infolog. For example you are posting 6 custom made journalTables and if something goes wrong you want the infologdata to be stored in a Log field on the table and you want to continue with the […]

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 […]

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 […]