Share via


InventModelType.finalizeCostTransVarianceSecCur_RU Method [AX 2012]

Serves as an entry point for the standard cost processing that is called only time for an instance of am inventMovement class, after all the inventTrans records have been processed.

Syntax

public boolean finalizeCostTransVarianceSecCur_RU(
    InventMovement _inventMovement, 
    LedgerVoucher _ledgerVoucher, 
    InventCostTransState _costTransState, 
    boolean _secondary, 
   [boolean _isReturn])

Run On

Called

Parameters

  • _inventMovement
    Type: InventMovement Class
    The inventMovement class that is currently being processed.
  • _ledgerVoucher
    Type: LedgerVoucher Class
    The ledgerVoucher object that postings have to be created for.
  • _costTransState
    Type: InventCostTransState Enumeration
    An inventCostTransState enumeration value that indicates whether the process is a financial or physical update process.
  • _secondary
    Type: boolean
    A Boolean value that indicates whether the primary model is also "Standard cost," so that the primary cost variances are already finalized.
  • _isReturn
    Type: boolean
    A Boolean value that indicates whether this method is called during a return process.

Return Value

Type: boolean
A Boolean value that indicates whether cost variance processing was successful.

Remarks

This method was not implemented as an abstract method to keep the changes on the existing system as small as possible. Therefore, it just contains a return and no other logic.

The logic is currently implemented only in the inventModelType_StdCost child class.

See Also

Reference

InventModelType Class