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 that uses a ledger posting reference for defaulting.
Syntax
client server public static LedgerVoucherTransObject newBasicDefault(
LedgerVoucherObject _defaultLedgerPostingReference,
LedgerPostingType _postingType,
LedgerDimensionAccount _ledgerDimensionId,
CurrencyCode _transactionCurrencyCode,
Money _transactionCurrencyAmount,
MoneyMST _accountingCurrencyAmount,
MoneyMST _reportingCurrencyAmount)
Run On
Called
Parameters
- _defaultLedgerPostingReference
Type: LedgerVoucherObject Class
The ledger posting reference used 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.
- _accountingCurrencyAmount
Type: MoneyMST Extended Data Type
The amount in the accounting currency.
- _reportingCurrencyAmount
Type: MoneyMST Extended Data Type
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.