InventTransSelectorDepreciation::newInventTransSelectorDepreciation Method [AX 2012]
Creates and inializes a new instance of the InventTransSelectorDepreciation class.
Syntax
client server public static InventTransSelectorDepreciation newInventTransSelectorDepreciation(
InventDirection _direction,
InventMovement _movement,
InventDim _inventDimCriteria,
InventDimParm _inventDimParm,
boolean _selectMarkedTrans)
Run On
Called
Parameters
- _direction
Type: InventDirection Enumeration
A movement direction.
- _movement
Type: InventMovement Class
An inventory movement.
- _inventDimCriteria
Type: InventDim Table
An InventDim table buffer that defines selection criteria.
- _inventDimParm
Type: InventDimParm Table
An InventDimParm table buffer that specifies which dimesnions from the criteria must be obeyed.
- _selectMarkedTrans
Type: boolean
A Boolean parameter that specifies if the marked transactions should be retrieved.
Return Value
Type: InventTransSelectorDepreciation Class
A new instance of the InventTransSelectorDepreciation class.
Exceptions
Exception | Condition |
---|---|
Error | The extension that is capable of handling the input parameter values is not found. |