BankPaymCancelType::construct Method [AX 2012]
Creates a new instance of the BankPaymCancelType subclass, based on the variables.
Syntax
client server public static BankPaymCancelType construct(
CustTrans _custTrans,
BankDeposit _bankDeposit,
CustVendPaymJournalFee _custVendPaymJournalFee,
BankAccountTrans _bankAccountTransToCancel,
ReasonRefRecID _reasonRefID,
LedgerVoucher _ledgerVoucher,
LedgerVoucherObject _ledgerVoucherObject)
Run On
Called
Parameters
- _custTrans
Type: CustTrans Table
The CustTrans record that is being canceled.
- _bankDeposit
Type: BankDeposit Table
The BankDeposit record that is being canceled.
- _custVendPaymJournalFee
Type: CustVendPaymJournalFee Table
The CustVendPaymJournalFee record that is being canceled.
- _bankAccountTransToCancel
Type: BankAccountTrans Table
The BankAccountTrans record that is being canceled.
- _reasonRefID
Type: ReasonRefRecID Extended Data Type
The record ID of the reason code that is specified when cancellation of the payment is initiated.
- _ledgerVoucher
Type: LedgerVoucher Class
The ledger voucher object that is required to create a record for the voucher entry.
- _ledgerVoucherObject
Type: LedgerVoucherObject Class
The voucher object that is required to create a record for the voucher entry.
Return Value
Type: BankPaymCancelType Class
An instance of the class.