LedgerVoucherTransObject::newAdjustmentDefault Method [AX 2012]

Initializes a new instance of the LedgerVoucherTransObject class for an accounting currency amount or reporting currency amount adjustment.

Syntax

client server public static LedgerVoucherTransObject newAdjustmentDefault(
    LedgerVoucherObject _defaultLedgerPostingReference, 
    LedgerPostingType _postingType, 
    LedgerDimensionAccount _ledgerDimensionId, 
    CurrencyCode _transactionCurrencyCode, 
    MoneyMST _accountingCurrencyAmount, 
    MoneyMST _reportingCurrencyAmount)

Run On

Called

Parameters

Return Value

Type: LedgerVoucherTransObject Class
A new instance of the LedgerVoucherTransObject class.

Remarks

The transaction currency amount is set to zero.

See Also

Reference

LedgerVoucherTransObject Class