SysQuery::findGroupByField Method [AX 2012]
Finds the group by field based on the specified parameters.
Syntax
client server public static QueryGroupByField findGroupByField(
Query _query,
QueryBuildDataSource _dataSource,
FieldId _fieldId)
Run On
Called
Parameters
- _query
Type: Query Class
The query where to search for the group by field.
- _dataSource
Type: QueryBuildDataSource Class
The data source that the group by field belongs to.
- _fieldId
Type: FieldId Extended Data Type
The ID of the field.
Return Value
Type: QueryGroupByField Class
The group by field for the specified parameters; if the field is not found then nullNothingnullptrunita null reference (Nothing in Visual Basic) is returned.