Ax 2012 code to get tables count


To get Tables count in ax 2012 you can write below code .


 treenode::findNode('\\Data Dictionary\\Tables').AOTchildNodeCount()  

You can check this code in info message by job.