I would like to know if there is a way to get all table names from AOT by using .NET business connector without calling X++ code in AX?
According to MSDN, we have to provide table name. [Link]
Axapta ax;
AxaptaRecord axRecord;
using (axRecord = ax.CreateAxaptaRecord(tableName));
{
// Perform actions
}
Axapta Class has only "GetRecordCount" but nothing to get record names.
Kindly help
You could make a list from AX then access that!
Or you could use the Dictionary class:
This is X++ code but the translation to C# is trivial.