DictField.id Method [AX 2012]

Returns the ID of the field.

public FieldId id()

Run On

Called

Return Value

Type: FieldId Extended Data Type
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(); 
}

Community Additions

ADD
Show: