Getting list of Objects Id and its Name from AOT objects like Classes, Tables, EDT etc.
static void findObjectIdNames(Args _args)
{
Dictionary dictionary;
ClassId ClassId;
TableId tableId;
ClassName className;
TableName tableName;
;
dictionary = new Dictionary();
do
{
//For Classes
ClassId = dictionary.classNext(ClassId);
className = dictionary.className(ClassId);
info(strfmt("%1 - %2",int2str(classId), className));
}while (ClassId)
}
Note: Use distionary class for finding id and names of tables, classes, EDT, enum, security keys etc.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment