InventUpdate.whsUpdateDimReserveChange Method [AX 2012]
Special check for WHS due to the reservation hierarchy.
Syntax
protected container whsUpdateDimReserveChange(
InventDim _toInventDim,
InventDim _fromInventDim,
InventQty _qtyReserv,
boolean _reserveAsPhysical,
InventTransOriginId _markingRefInventTransOrigin,
PdsCWInventQty _cwQty)
Run On
Server
Parameters
- _toInventDim
Type: InventDim Table
The new InventDim record.
- _fromInventDim
Type: InventDim Table
The original InventDim records.
- _qtyReserv
Type: InventQty Extended Data Type
The reserved quantity.
- _reserveAsPhysical
Type: boolean
True if reserve physical is set, otherwise false.
- _markingRefInventTransOrigin
Type: InventTransOriginId Extended Data Type
The marked transaction.
- _cwQty
Type: PdsCWInventQty Extended Data Type
The catch weight quantity.
Return Value
Type: container
A container with the reserved and catch weight quantities.
Exceptions
Exception | Condition |
---|---|
Error | Cannot change dimensions because ordered reserved inventory already exists. |