InventSum::queryAddFilterOnBatchExpiryDate Method
Adds additional criteria to the specified on hand query to filter out expired batches for the movement.
Syntax
client server public static void queryAddFilterOnBatchExpiryDate(Query _onHandQuery, InventMovement _movement)
Run On
Called
Parameters
- _onHandQuery
Type: Query Class
On hand query.
- _movement
Type: InventMovement Class
Inventory movement that should be used to determine expired batches.
Exceptions
Exception | Condition |
---|---|
Error | Throws an error if the on hand query is not specified. -or- Throws an error if the inventory movement is not specified. -or- Throws an error if the on hand query does not contain the InventSum data source. -or- Throws an error if the on hand query does not contain the InventDim data source. |