InventOnHandQueryWHSStandard.supportsInventDimFilters Method [AX 2012]
Gets a value indicating whether filtering based on the the specified inventory dimension is supported by the query.
Syntax
public boolean supportsInventDimFilters(FieldId _inventDimFieldId)
Run On
Called
Parameters
- _inventDimFieldId
Type: FieldId Extended Data Type
The ID of the inventory dimension field.
Return Value
Type: boolean
true if filtering by the specified dimension is supported; otherwise, false.
Remarks
Only queries that have a reservation level filter allow filtering by inventory dimensions.
The reason for that is that if you don't have a range on the reservation level then the records from the levels above the specified dimension won't contain values for the specified dimension.
Thus WHS queries only allow filtering by dimensions that are on the same reservation level as the query or below.