Share via


BankPaymCancelLedgerAcctType::findGenJourAcctEntryToCancel Method [AX 2012]

Finds the general journal transaction to offset, based on the voucher, date, posting type, amount, and currency.

Syntax

client server protected static RecId findGenJourAcctEntryToCancel(
    Voucher _voucherToCancel, 
    TransDate _transDateToCancel, 
    DataAreaId _voucherDataAreaId, 
    LedgerPostingType _postingType, 
   [PaymReference _paymReferenceToCancel, 
    AmountCur _amountToCancel, 
    CurrencyCode _currencyCode])

Run On

Called

Parameters

Return Value

Type: RecId Extended Data Type
The record ID of the GeneralJournalAccountEntry record for the bank fee.

See Also

Reference

BankPaymCancelLedgerAcctType Class