InventUpdate.pdsDistributeInventQtyOnMarkedTrans Method [AX 2012]
Distributes inventory quantity among related marked transactions.
Syntax
protected boolean pdsDistributeInventQtyOnMarkedTrans(InventQty _inventQtyForDistribution)
Run On
Server
Parameters
- _inventQtyForDistribution
Type: InventQty Extended Data Type
The inventory quantity to be distributed.
Return Value
Type: boolean
true if full inventory quantity was distributed; otherwise, false.
Remarks
If the _inventQtyForDistribution parameter is a positive value, this amount will be deducted from the related transactions. If it’s a negative value, this amount will be added to the related transactions.