Hello Experts,
I'd like to get all AOT tables all of layers.
A scenario where a Lookup in a Form can select all tables in an AOT object.
I tried the following metadataSuppport method. But, this get all tables, all views and all Data Entities.
Requirement is I want to get all Tables only.
Microsoft.Dynamics.Ax.Xpp.MetadataSupport::TableNames();
I also tried the following, but I could not get the data.
TestTable table;
SysDictionary dictionary = new SysDictionary();
TableId id;
id = dictionary.tableNext(0);
while(id)
{
table.TestTableNameCopy = tableId2Name(id);
id = dictionary.tableNext(id);
}
Any advice would be greatly appreciated.