Share via


InventMov_Virtuel::newProdUnderconsume Method [AX 2012]

Creates a new instance of the InventMov_Virtuel class that will be used for underconsumptions.

Syntax

client server public static InventMovement newProdUnderconsume(
    ProdBOM _prodBOM, 
    TransDate _transDate, 
    InventQty _qtyUnderconsumed)

Run On

Called

Parameters

  • _prodBOM
    Type: ProdBOM Table
    The BOM line with underconsumption.

Return Value

Type: InventMovement Class
A new instance of the InventMov_Virtuel class.

Remarks

This method creates a new InventMov_Virtuel instance that will be used for underconsumptions when it ends a production order.

The virtual inventory movement will be used to consume the subproduction items that were underconsumed by the parent production order.

See Also

Reference

InventMov_Virtuel Class