public void tableList(TableName _tableName)
{
DictDataEntity dictEntity = new DictDataEntity(tableName2Id(_tableName));
int dataSourceCount;
Query query;
QueryBuildDataSource dataSourceName;
str entityTableName;
if (dictEntity)
{
query = dictEntity.query();
if (query.dataSourceCount() >= 1)
{
dataSourceCount = query.dataSourceCount();
}
for(int datasource=1;datasource<=dataSourceCount;datasource++)
{
dataSourceName = query.dataSourceNo(datasource);
entityTableName = tableId2Name(dataSourceName.table());
info(entityTableName );
}
}
}
#D365F&O #DataEntities #X++