Wednesday, June 16, 2010

Getting the names of all the tables in AX

Getting the names of the TABLES


static void FindTables(Args _args)
{
    Dictionary      dictionary;
    TableId         tableId;
    ;
    dictionary = new Dictionary();
    tableId = dictionary.tableNext(0);
    while (tableId)

    {
        info(tableid2Name(tableId));
        tableId = dictionary.tableNext(tableId);
    }
}
The Output will be as follows



No comments:

Post a Comment