QueryBuildDataSource.addRange Method [AX 2012]
Adds a range to the data source.
public QueryBuildRange addRange(
FieldId field,
[int arrayIndex,
QueryRangeType rangeType])
Run On
CalledParameters
- field
- Type: FieldId Extended Data Type
The field that is used to delineate values in the range.
- arrayIndex
- Type: int
- rangeType
- Type: QueryRangeType Enumeration
Ranges define the values that records from the data source's table must satisfy.
Several range values can exist for the same field in a particular data source. In this case, the values are included in the query if the record qualifies for any of the values that are supplied. When ranges are included for multiple fields, only records that satisfy the constraints that are supplied by both criteria are included. The constraints are specified in the value method.
Community Additions
ADD
Show: