Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Updates the deprecated transactions.
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
private container updateDepreciateTrans(
InventTrans _inventTrans,
InventQty _qtyToDelete,
InventMovement _counterpartMovement,
PdsCWInventQty _cwQtyToDelete)
Microsoft Dynamics AX 2012 R2 (SYS)
private container updateDepreciateTrans(
InventTrans _inventTrans,
InventQty _qtyToDelete,
InventMovement _counterpartMovement,
PdsCWInventQty _cwQtyToDelete)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
private container updateDepreciateTrans(
InventTrans _inventTrans,
InventQty _qtyToDelete,
InventMovement _counterpartMovement,
PdsCWInventQty _cwQtyToDelete)
Microsoft Dynamics AX 2012 (FPK)
private InventQty updateDepreciateTrans(
InventTrans _inventTrans,
InventQty _qtyToDelete,
InventMovement _counterpartMovement)
Microsoft Dynamics AX 2012 (SYS)
private InventQty updateDepreciateTrans(
InventTrans _inventTrans,
InventQty _qtyToDelete,
InventMovement _counterpartMovement)
Run On
Server
Parameters
- _inventTrans
Type: InventTrans Table
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.