ProdStandardVariance.calc Method [AX 2012]

Calculates production variances.

public boolean calc(
    CostTransRefId _transRefId, 
    ProdTransRefType _transRefType, 
    Level _collectRefLevel, 
    CostTransRefId _collectRefId, 
    TransDate _transDate)

Run On

Called

Parameters

_transRefId
Type: CostTransRefId Extended Data Type
The transaction reference ID.
_transRefType
Type: ProdTransRefType Enumeration
The transaction reference type, either production or production flow.
_collectRefLevel
Type: Level Extended Data Type
The level of the production order within a sub production order stack.
_collectRefId
Type: CostTransRefId Extended Data Type
The reference of the top production order.
_transDate
Type: TransDate Extended Data Type
The transaction date.

Return Value

Type: boolean
true if variance calculation was successful; otherwise, false.

ExceptionCondition
Error

The calculation has been called without knowing the production order on which to perform the calculation.

Community Additions

ADD
Show: