BankPaymCancelType.populatePostingTransaction Method [AX 2012]
Populates the class by using values from the journal entry and voucher object that are required to cancel the transaction.
Syntax
private LedgerVoucherTransObject populatePostingTransaction(LedgerVoucherObject _ledgerVoucherObject, GeneralJournalAccountEntry _generalJournalAccountEntry)
Run On
Called
Parameters
- _ledgerVoucherObject
Type: LedgerVoucherObject Class
The voucher object that is initialized for the transaction that is being canceled.
- _generalJournalAccountEntry
Type: GeneralJournalAccountEntry Table
The journal entry that contains values to use when the transaction is canceled.
Return Value
Type: LedgerVoucherTransObject Class
An updated ledger vouched object that has the specified values for canceling the transaction.