Sunday, March 29, 2015

Determining layers in AOT elements for Dynamics AX 2012


When working with new clients its a good to get an idea to the level of customizations they have.  Usually upgrading Dynamics AX for a client it exponentionally proportional in time and effort to the degree of customization.

The code segment shown below, gives an example of how to determine the degree of customization.  The code will transverse the AOT , node by node based on a base node and report back the number of customizations per element.  

The code is fairly useful in that it shows how to transverse the nodes in the AOT, and how to get information about those nodes.

I received an out of memory error when trying to check the layers of multiple base nodes, so I just run it for one base node at a time.  If anyone knows why it would run out of memory, please let me know.





Number of elements and number of which are customized layers

No comments: