This documentation is archived and is not being maintained.
DictField.id Method [AX 2012]
Returns the ID of the field.
The following example retrieves the ID of a field.
DictField df;
df = new DictField(tablenum(CustTable), fieldnum(CustTable, AccountNum));
if (df)
{
print df.id();
}