Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the LedgerVoucherTransObject class by using a transaction currency amount and a ledger posting reference for defaulting.
Syntax
client server public static LedgerVoucherTransObject newTransactionAmountDefault(
LedgerVoucherObject _defaultLedgerPostingReference,
LedgerPostingType _postingType,
LedgerDimensionAccount _ledgerDimensionId,
CurrencyCode _transactionCurrencyCode,
Money _transactionCurrencyAmount,
CurrencyExchangeHelper _exchangeRateHelper)
Run On
Called
Parameters
- _defaultLedgerPostingReference
Type: LedgerVoucherObject Class
The ledger posting reference to use for defaulting.
- _postingType
Type: LedgerPostingType Enumeration
The posting type of the general journal entry.
- _ledgerDimensionId
Type: LedgerDimensionAccount Extended Data Type
The dimension attribute value combination of the general journal entry.
- _transactionCurrencyCode
Type: CurrencyCode Extended Data Type
The currency code of the general journal entry.
- _transactionCurrencyAmount
Type: Money Extended Data Type
The amount in the transaction currency.
- _exchangeRateHelper
Type: CurrencyExchangeHelper Class
The accounting currency amount and secondary currency amount exchange rates.
Return Value
Type: LedgerVoucherTransObject Class
A new instance of the LedgerVoucherTransObject class.
Remarks
The default ledger posting reference is used to set the transaction type and exchange rate date.