BankPaymFeeCancel::construct Method [AX 2012]
Creates an instance of BankPaymFeeCancel class to support cancellation of any BankAccountTrans fee records.
Syntax
server public static BankPaymFeeCancel construct(
LedgerVoucher _ledgerVoucher,
LedgerVoucherObject _ledgerVoucherObject,
BankAccountTrans _bankAccountPaymentToCancel,
ReasonRefRecID _reasonRefRecId,
CustTrans _custTrans,
ReasonComment _reasonComment)
Run On
Server
Parameters
- _ledgerVoucher
Type: LedgerVoucher Class
The LedgerVoucher object that journal entries have to be added to.
- _ledgerVoucherObject
Type: LedgerVoucherObject Class
The voucher object the is required to create a record for the voucher entry.
- _bankAccountPaymentToCancel
Type: BankAccountTrans Table
The BankAccountTrans record that is being canceled.
- _reasonRefRecId
Type: ReasonRefRecID Extended Data Type
The record ID of the reason code that is selected for the cancellation.
- _custTrans
Type: CustTrans Table
The CustTrans record that is being canceled.
- _reasonComment
Type: ReasonComment Extended Data Type
The comment for the reason that the payment is being canceled.
Return Value
Type: BankPaymFeeCancel Class
An instance of the class.