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);
//}
}
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);
//}
}