PDSBalanceProdBOM.qtyUsed Method [AX 2012]

Gets the quantity that is used for the specified production BOM line and the inventory summary.

public PDSQtyUsed qtyUsed(
    ProdBOM _prodBOM, 
    InventSum _sum, 
   [PDSQtyUsed _default])

Run On

Called

Parameters

_prodBOM
Type: ProdBOM Table
The ProdBOM record for the active production BOM line.
_sum
Type: InventSum Table
The InventSum record that is used to retrieve the computed used quantity.
_default
Type: PDSQtyUsed Extended Data Type
An optional value that contains the default result if there is no computed used quantity. The default value is 0 (zero).

Return Value

Type: PDSQtyUsed Extended Data Type
The used quantity of the value of the _sum. parameter

Community Additions

ADD
Show: