InventUpd_Estimated.updateDepreciateTransactions Method [AX 2012]
Updates the deprecated transactions.
Syntax
protected container updateDepreciateTransactions(
InventTransEnumerable _inventTransEnumerable,
InventQty _qtyToDelete,
InventMovement _counterpartMovement,
PdsCWInventQty _cwQtyToDelete)
Run On
Server
Parameters
- _inventTransEnumerable
Type: InventTransEnumerable Interface
The transactions to be updated.
- _qtyToDelete
Type: InventQty Extended Data Type
The amount to depreciate.
- _counterpartMovement
Type: InventMovement Class
The transfer counterpart movement.
- _cwQtyToDelete
Type: PdsCWInventQty Extended Data Type
The catch weight amount to depreciate.
Return Value
Type: container
A container with the rest of quantity to depreciate after the execution of the method.
Remarks
When an amount is depreciated, it is always represented as a positive value.The method deletes the transactions or reduces the quantity of the transaction to the required quantity.