LedgerConsolidate.createTotals Method [AX 2012]
Inserts summarized amounts into ledger transactions.
Syntax
protected void createTotals(
CompanyId _companyId,
Percent _proportion,
BalanceProfitLoss _balanceProfitLoss,
TmpLedgerConsTrans _sumTransact,
TmpLedgerConsDimensionValueItem _consolidationDimensionValueItem,
LedgerPostingGeneralJournalController _generalJournalController)
Run On
Called
Parameters
- _companyId
Type: CompanyId Extended Data Type
The company the data originated in.
- _proportion
Type: Percent Extended Data Type
The percentage of the account balances to consolidate.
- _balanceProfitLoss
Type: BalanceProfitLoss Enumeration
A BalanceProfitLoss that specifies if the account is a balance sheet or pnl account.
- _sumTransact
Type: TmpLedgerConsTrans Table
A TmpLedgerConsTrans that determines whether a single summarized ledger transaction be created.
- _consolidationDimensionValueItem
Type: TmpLedgerConsDimensionValueItem Table
- _generalJournalController
Type: LedgerPostingGeneralJournalController Class