Share via


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

See Also

Reference

BankPaymCancelType Class