BankPaymFeeCancel.init Method [AX 2012]
Initializes the class variables by using the values that are provided.
Syntax
public void init(
LedgerVoucher _ledgerVoucher,
LedgerVoucherObject _ledgerVoucherObject,
BankAccountTrans _bankAccountPaymentToCancel,
CustTrans _custTrans,
ReasonRefRecID _reasonRefRecId,
ReasonComment _reasonComment)
Run On
Server
Parameters
- _ledgerVoucher
Type: LedgerVoucher Class
The ledger voucher object that contains the journal information for the canceled payment.
- _ledgerVoucherObject
Type: LedgerVoucherObject Class
The ledger voucher object to add the fee adjustments too.
- _bankAccountPaymentToCancel
Type: BankAccountTrans Table
The BankAccountTrans record of the payment that is being canceled.
- _custTrans
Type: CustTrans Table
The customer transaction that is being canceled.
- _reasonRefRecId
Type: ReasonRefRecID Extended Data Type
The reason that the payment is being canceled.
- _reasonComment
Type: ReasonComment Extended Data Type
The comment for the reason that the payment is being canceled.