PurchQuantity.pdsCWQtyInvent Method [AX 2012]
This methods calculates PdsCWReceiveNow, PdsCWRemainBefore and PdsCWRemainAfter and returns the values respectively in a container.
public container pdsCWQtyInvent(
PurchLine _purchLine,
[PurchUpdate _specQty,
PdsCWInventQty _qty,
boolean _creditRemaining])
Run On
CalledParameters
- _purchLine
- Type: PurchLine Table
PurchLine records used in calculations.
- _specQty
- Type: PurchUpdate Enumeration
Used to determine the PurchLine qty used in calculations.
- _qty
- Type: PdsCWInventQty Extended Data Type
Qty to update
- _creditRemaining
- Type: boolean
Should remaining qty be credited?
Return Value
Type: containerValues calculated for PdsCWReceiveNow, PdsCWRemainBefore and PdsCWRemainAfter. Added to container in that order.
Community Additions
ADD
Show: