Tuesday, July 6, 2010

List AOT Objects

There is a very easy way to get a list of AOT objects using Microsoft Dynamics AX 4.0 without having to write a job iterating over project nodes.

Tools > Development tools > Application objects > Application objects

This form has a dump of everything...it is essentially the UtilElements "table" that the cross reference tables (xRef*) reference. Except this is not a table existing in SQL Server, instead it exists in the memory of the AOS.  The documentation declares "This method enables you to create, read, update, and delete X++ code and metadata." - although the table is not a method this does provide a little insight.  This table is queried by methods such as hasSecuritykeyAccess.

Take some caution when using the form...it acts like a temporary table and if you add too many filters AX will cease up.  I commonly use the form to list projects in one environment and compare them to the list in another by filtering on layer = cu?,us? and record type = SharedProject.

This article only applies to Microsoft Dynamics AX 4.0.

No comments:

Post a Comment