ACOCostMonthEndClosing_BR.addTrans Method [AX 2012]

Adds transactions to the LedgerVoucher object.

protected void addTrans(
    LedgerVoucher _ledgerVoucher, 
    ACOProdOverHeadCostTrans_BR _prodOverHeadCostTrans, 
    LedgerDimensionAccount _ledgerDimensionAccount, 
    CostAmount _totalCostAmount)

Run On

Called

Parameters

_ledgerVoucher
Type: LedgerVoucher Class
The LedgerVoucher object that will hold the transactions.
_prodOverHeadCostTrans
Type: ACOProdOverHeadCostTrans_BR Table
The ACOProdOverHeadCostTrans_BR object that represents the original record of the ledger transaction.
_ledgerDimensionAccount
Type: LedgerDimensionAccount Extended Data Type
The ledger account in which the ledger transaction will be created.
_totalCostAmount
Type: CostAmount Extended Data Type
The amount of the ledger transaction.

Community Additions

ADD
Show: