LedgerVoucherTransObject::newBasicSecondary_RU Method [AX 2012]
Initializes a new instance of the LedgerVoucherTransObject class using a ledger posting reference for an accounting currency amount
Syntax
client server public static LedgerVoucherTransObject newBasicSecondary_RU(
LedgerVoucherObject _ledgerVoucherObject,
LedgerPostingType _posting,
LedgerDimensionAccount _ledgerDimensionId,
CurrencyCode _currencyCode,
[AmountMSTSecondary _amountMSTSecondary,
boolean _correct])
Run On
Called
Parameters
- _ledgerVoucherObject
Type: LedgerVoucherObject Class
The ledger posting reference used for defaulting.
- _posting
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.
- _currencyCode
Type: CurrencyCode Extended Data Type
The currency code of the general journal entry.
- _amountMSTSecondary
Type: AmountMSTSecondary Extended Data Type
The amount in the reporting currency.
- _correct
Type: boolean
A boolean parameter that determines if the general journal entry have to be correction.
Return Value
Type: LedgerVoucherTransObject Class
A new instance of the LedgerVoucherTransObject class.