To Show all tables name and Total number of record of AOT in axapta you can write following code in job . When you run the job you will get all tables with record count in info log. #AOT Name TableName; NumberOf TotalRecord; TrNode TrNode; SysDictTable SysDictTab; ; TrNode = TrNode::findNode(#TablesPath); TrNode = TrNode.AOTfirstChild(); while (TrNode) { TableName = TrNode.AOTname(); SysDictTab = SysDictTable::newTableId(TrNode.applObjectId()); TotalRecord = SysDictTab.recordCount(false); if (TotalRecord) info (strfmt("Table Name - Record count", TableName, TotalRecord)); TrNode = TrNode.AOTnextSibling(); }
Microsoft Dynamics Ax,AIF,Axapta, Enterprise portal,,Microsoft , United State,U.S., SharePoint , BI Tools, Performance Tuning, SSRS,Business Logic,Ax ERP Errors and solution,Dynamics 365 Errors Solution,Business software .