Category Archives: Microsoft Dynamics AX

All things DAX

Exporting Project Definitions

I concocted the following bit of code to automate the task of exporting project definitions to XPO files. It is a simple bit of code that allows the user to dump the project definition files to a specified folder.

Share/Bookmark
Posted in AX 2009, AX 2012, AX 4.0, Microsoft Dynamics AX | Tagged , , , , | Comments Off

Parsing Date Strings

Dynamics AX provides functions for parsing date strings into a date object but they are limited at best. The following static method uses the .Net date parsing functionality to create a X++ date object from any valid date string without … Continue reading

Posted in AX 2009, AX 2012, AX 4.0, Microsoft Dynamics AX | Tagged , , , | Comments Off

CLR Array to AX List

If you use any amount of CLRInterop programming in Dynamics AX you have probably at some point or another needed to use X++ code to interact with an array object passed back from a bit of CLR code. I created … Continue reading

Posted in AX 2009, AX 2012, AX 4.0, Microsoft Dynamics AX | Tagged , , , , | 1 Comment

Automatic Class Pack/Unpack

A common task associated with creating objects in Dynamics AX is giving them the ability to be packed into a container for storage as a SysLastValue entry. The common methodology used for this is to declare a version and a … Continue reading

Posted in AX 2009, AX 4.0, Microsoft Dynamics AX | Tagged , , , | 1 Comment