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.
  • _custTrans
    Type: CustTrans Table
    The CustTrans record that is being canceled.

Return Value

Type: BankPaymFeeCancel Class
An instance of the class.

See Also

Reference

BankPaymFeeCancel Class