Hi,
class AlfasithTableFieldList
{
/// <summary>
/// Runs the class with the specified arguments.
/// </summary>
/// <param name = "_args">The specified arguments.</param>
public static void main(Args _args)
{
TableName tableName = 'SalesTable';
SysModelElement sysModelElementTables;
SysModelElement SysModelElementFields;
DictField dictField;
;
while select sysModelElementTables
where sysModelElementTables.ElementType == UtilElementType::Table &&
sysModelElementTables.Name == tableName
join SysModelElementFields
where SysModelElementFields.ElementType == UtilElementType::TableField &&
SysModelElementFields.ParentModelElement == sysModelElementTables.RecId
{
dictField = new DictField(sysModelElementTables.AxId, sysModelElementFields.AxId);
print dictField.name();
}
}
}
Regards,
class AlfasithTableFieldList
{
/// <summary>
/// Runs the class with the specified arguments.
/// </summary>
/// <param name = "_args">The specified arguments.</param>
public static void main(Args _args)
{
TableName tableName = 'SalesTable';
SysModelElement sysModelElementTables;
SysModelElement SysModelElementFields;
DictField dictField;
;
while select sysModelElementTables
where sysModelElementTables.ElementType == UtilElementType::Table &&
sysModelElementTables.Name == tableName
join SysModelElementFields
where SysModelElementFields.ElementType == UtilElementType::TableField &&
SysModelElementFields.ParentModelElement == sysModelElementTables.RecId
{
dictField = new DictField(sysModelElementTables.AxId, sysModelElementFields.AxId);
print dictField.name();
}
}
}
Regards,
No comments:
Post a Comment