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.
  • _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.

See Also

Reference

BankPaymFeeCancel Class