Skip to main content

Posts

Showing posts with the label find

Find TableName from TableId

static void NDPToolsShowTableNameFromId(Args _args) { SysDictTable sysDictTable;       int id = 40015;   //enter your ID here       ;       sysDictTable = new SysDictTable(id);       info (sysDictTable.name()); }

Find the Table Name in Dynamics Ax 2009

a sample code to find the Table Name of Ax Tables using the TableId. static void findTables(Args _args) { Dictionary dictionary; TableId tableId; tableName tableName; ; dictionary = new Dictionary(); // tableId = dictionary.tableNext(0); tableId = 359; //366; //62; tableName = dictionary.tableName(tableId); info(strfmt(“%1 – %2″,int2str(tableId), tableName)); //while (tableId) //{ // tableId = dictionary.tableNext(tableId); // tableName = dictionary.tableName(tableId); //} }