This documentation is archived and is not being maintained.
DictField.type Method [AX 2012]
Returns the data type of the field.
Run On
Called
Return Value
Type:
Types Enumeration
A Types value that specifies the type of the field.
If the field is based on an extended data type, Types::UserType is returned as the return value of this method.
The following example shows the retrieval of the type of a field.
DictField df;
df = new DictField(tablenum(CustTable), fieldnum(CustTable, AccountNum));
if (df)
{
print df.type();
}