BankPaymCancelLedgerAcctType::construct Method [AX 2012]
Creates a new instance of the BankPaymCancelLedgerAccountType subclass, based on the common table type.
Syntax
client server public static BankPaymCancelLedgerAcctType construct(Common _common, BankAccountTrans _bankAccountTransToCancel)
Run On
Called
Parameters
- _common
Type: Common Table
The table that drives the behavior of the class.
- _bankAccountTransToCancel
Type: BankAccountTrans Table
The bank account transaction that is being canceled.
Return Value
Type: BankPaymCancelLedgerAcctType Class
An instance of the appropriate BankPaymCancelLedgerAccountType subclass.
Exceptions
Exception | Condition |
---|---|
Error | The table buffer that was passed into the method is not valid. |