InventUpdate.pdsCalculateInventoryQuantityAdjustment Method [AX 2012]
Calculates the quantity in inventory unit that has to be adjusted for the current movement because of the update.
Syntax
protected InventQty pdsCalculateInventoryQuantityAdjustment(
ItemId _itemId,
PdsCWInventQty _cwActualQuantity,
InventQty _actualQuantity,
PdsCWInventQty _cwUpdatedQuantity,
InventQty _updatedQuantity)
Run On
Server
Parameters
- _itemId
Type: ItemId Extended Data Type
An item ID.
- _cwActualQuantity
Type: PdsCWInventQty Extended Data Type
The actual quantity in catch weight unit.
- _actualQuantity
Type: InventQty Extended Data Type
The actual quantity in inventory unit.
- _cwUpdatedQuantity
Type: PdsCWInventQty Extended Data Type
The updated quantity in catch weight unit.
- _updatedQuantity
Type: InventQty Extended Data Type
The updated quantity in inventory unit.
Return Value
Type: InventQty Extended Data Type
The quantity in inventory unit that has to be adjusted for the current movement because of the update.