Share via


VendOutPaym_NACHA.getTransactionCode Method [AX 2012]

Returns the transaction code used in the output file.

Syntax

public int getTransactionCode(VendBankAccount _vendBankAccount)

Run On

Called

Parameters

  • _vendBankAccount
    Type: VendBankAccount Table
    The bank account type: either BankAccountType::CheckingAccount or BankAccountType::SavingsAccount.

Return Value

Type: int
If the bank account is neither BankAccountType::CheckingAccount nor BankAccountType::SavingsAccount, the transaction code uses the code for checking accounts.
The transaction code of Accounts Payable Checking is 22.
The transaction code of Accounts Payable Savings is 32.

See Also

Reference

VendOutPaym_NACHA Class