InventOnHandCriteria.applyToOnHandQuery Method [AX 2012]
Adds required filters to the on hand query to make sure that the query only selects those on hand records that match the criteria.
Syntax
public void applyToOnHandQuery(InventOnHandQuery _onHandQuery)
Run On
Called
Parameters
- _onHandQuery
Type: InventOnHandQuery Class
The on hand query.
Exceptions
Exception | Condition |
---|---|
Error | Throws an error if the query is not specified. -or- Throws an error if the specified query is not recognized as an on hand query. |