SysQuery::findField Method [AX 2012]
Finds the index of the specified field in the list of fields of the specified data source.
Syntax
client server public static SysQueryBuildField findField(QueryBuildDataSource _dataSource, FieldId _fieldId)
Run On
Called
Parameters
- _dataSource
Type: QueryBuildDataSource Class
The data source.
- _fieldId
Type: FieldId Extended Data Type
The ID of the field.
Return Value
Type: SysQueryBuildField Class
The index of the specified field in the list of fields of the specified data source.