InventUpd_Estimated.pdsAdjustTransactionQty Method [AX 2012]
Adjusts the inventory quantity for a transaction related to a catch weight item.
Syntax
public void pdsAdjustTransactionQty(
InventDirection _direction,
InventQty _qty,
InventDimId _inventDimId)
Run On
Server
Parameters
- _direction
Type: InventDirection Enumeration
Specifies whether an issue or a receipt is to be updated.
- _qty
Type: InventQty Extended Data Type
The quantity to add to the current quantity.
- _inventDimId
Type: InventDimId Extended Data Type
The inventory dimensions of the transaction to update.
Exceptions
Exception | Condition |
---|---|
Error | Function pdsAdjustInventQty has been called incorrectly. -or- Insufficient inventory transactions with status OnOrder/Ordered. |