SysDictField::findFieldByName Method [AX 2012]
Performs a search in the current table and all its derived tables for a field that has the current fieldname value.
Syntax
client server public static DictField findFieldByName(TableName _tableName, FieldName _fieldName)
Run On
Called
Parameters
- _tableName
Type: TableName Extended Data Type
The name of the table.
- _fieldName
Type: FieldName Extended Data Type
The name of the field.
Return Value
Type: DictField Class
A DictField object; otherwise, nullNothingnullptrunita null reference (Nothing in Visual Basic).
Remarks
The search includes the base table and all derived tables.