PDSBalanceProdBOM.setActiveQtyUsed Method [AX 2012]

Sets the active quantity used.

public PDSActiveQtyUsed setActiveQtyUsed(
    ProdBOM _prodBOM, 
    InventSum _sum, 
    PDSActiveQtyUsed _qty)

Run On

Called

Parameters

_prodBOM
Type: ProdBOM Table
The ProdBOM Record for the active production BOM line.
_sum
Type: InventSum Table
The InventSum Record for the specified inventory summary line.
_qty
Type: PDSActiveQtyUsed Extended Data Type
The active quantity used for the specified line.

Return Value

Type: PDSActiveQtyUsed Extended Data Type
The total active quantity used for the _prodBOM. parameter

ExceptionCondition
Error

The _qty parameter value is negative.

Community Additions

ADD
Show: