Share via


InventMov_Virtuel::newProdUnderconsumeProjIncome Method [AX 2012]

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

Syntax

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

Run On

Called

Parameters

  • _prodBOM
    Type: ProdBOM Table
    The BOM line that will be used to post an income to project.
  • _prodBOMReturn
    Type: ProdBOM Table
    The BOM line with underconsumption.

Return Value

Type: InventMovement Class
A new InventMov_Virtuel instance.

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 post an income to project for underconsumptions.

See Also

Reference

InventMov_Virtuel Class