ReqCalc.newQueryInventSum Method [AX 2012]
Creates a query for the InventSum table grouped based on the coverage dimension.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
protected Query newQueryInventSum(
ReqSetup _setup,
boolean _onlyPhysicalInvent,
[boolean _addBatchGrouping,
InventDim _inventDimFilter])
Microsoft Dynamics AX 2012 R2 (SYS)
protected Query newQueryInventSum(
ReqSetup _setup,
boolean _onlyPhysicalInvent,
[boolean _addBatchGrouping,
InventDim _inventDimFilter])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
protected Query newQueryInventSum(
ReqSetup _setup,
boolean _onlyPhysicalInvent,
[boolean _addBatchGrouping,
InventDim _inventDimFilter])
Microsoft Dynamics AX 2012 (FPK)
protected Query newQueryInventSum(ReqSetup _setup, boolean _onlyPhysicalInvent)
Microsoft Dynamics AX 2012 (SYS)
protected Query newQueryInventSum(ReqSetup _setup, boolean _onlyPhysicalInvent)
Run On
Called
Parameters
- _setup
Type: ReqSetup Class
The master planning setup for the item.
- _onlyPhysicalInvent
Type: boolean
A Boolean value that indicates whether only the physical inventory quantity should be included.
- _addBatchGrouping
Type: boolean
A Boolean value that indicates whether the query should be grouped also by the batch dimension even though this might not be a coverage dimension; optional.
- _inventDimFilter
Type: InventDim Table
An InventDim record that is used for filtering the query result; optional.
Return Value
Type: Query Class
A query for the InventSum table.