CustInterestPost.addLedgerTransByPostingDefinition Method [AX 2012]
Adds the transactions in a ledger voucher with regard to the posting definition.
Syntax
private void addLedgerTransByPostingDefinition(
LedgerDimensionAccount _ledgerDimension,
LedgerVoucher _ledgerVoucher,
AmountCur _postingAmount,
CurrencyCode _currencyCode,
CurrencyExchangeHelper _currencyExchangeHelper,
BillingCodeRefRecId _billingCodeRecId,
BillingClassificationRefRecId _billingClassRefRecId,
TransDate _transDate,
TableId _tableId,
RecId _interestRecId,
[LedgerPostingType _revenuePostingType])
Run On
Called
Parameters
- _ledgerDimension
Type: LedgerDimensionAccount Extended Data Type
The ledger dimension that is associated with the interest transaction.
- _ledgerVoucher
Type: LedgerVoucher Class
The ledger voucher.
- _postingAmount
Type: AmountCur Extended Data Type
The interest amount.
- _currencyCode
Type: CurrencyCode Extended Data Type
The currency code that is associated with the interest note.
- _currencyExchangeHelper
Type: CurrencyExchangeHelper Class
The currency exchange criteria that belongs to the interest note.
- _billingCodeRecId
Type: BillingCodeRefRecId Extended Data Type
The record ID of the billing code that is associated with the interest line.
- _billingClassRefRecId
Type: BillingClassificationRefRecId Extended Data Type
The record ID of the billing class that is associated with the interest note.
- _transDate
Type: TransDate Extended Data Type
The transaction date.
- _tableId
Type: TableId Extended Data Type
The table ID of the interest transaction.
- _interestRecId
Type: RecId Extended Data Type
The record ID of the interest transaction.
- _revenuePostingType
Type: LedgerPostingType Enumeration
The posting type for the transaction