Share via


VendOutPaymPrenote_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, which is either the BankAccountType::CheckingAccount or BankAccountType::SavingsAccount enumeration value.

Return Value

Type: int
If the bank account is neither the BankAccountType::CheckingAccount nor the BankAccountType::SavingsAccount value, 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

VendOutPaymPrenote_NACHA Class