GetBankAccountInfo

Get Bank Account Info.

Minor Business Rule

Object Name: B4200750

Parent DLL: CDIST

Location: Client/Server

Language: C

This function is passed an Address Book number and a "Bank Type", which are used to read the F0030 
table.  The Bank Transit Number, Customer Bank A/c Number, Bank A/c Description and Check Digit are 

returned.  If the bank account details cannot be found, a '1' is returned in the Error Code parameter.

^

Data Structure

D4200750 - Get Bank Account Info.

Parameter NameData ItemData TypeReq/OptI/O/Both
mnAddressNumberAN8MATH_NUMERICNONENONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

cBankTypeBKTPcharNONENONE

A code that distinguishes external bank accounts from internal bank accounts. Valid values are: B  Valid bank transit numbers C  Customer 
bank accounts D  Default bank account for Accounts Receivable drafts and auto debits G  Internal general ledger bank accounts H Dutch bank 
accounts M  General ledger bank account and business unit that is used to define print information in Accounts Payable payments  P Auto 
reciepts payor V  Supplier bank account for payment via bank tape X Alternate bank account for a supplier Y Multiple bank accounts for a 
supplier Note: When you use bank type B, no other bank types are allowed. When you use bank type V, no other V bank types are allowed. When you 
use bank type D, no other D bank types are allowed.

szBankTransitNumberTNSTcharNONENONE

The number assigned to a particular bank by the Federal Reserve to facilitate the clearing of funds.

szCustBankAcctNumberCBNKcharNONENONE

The number assigned by a bank to identify the account for a company, customer, or supplier. Note for Nordic users: Enter your bank, 
Bankgiro, or Postgiro account number.

szBankAcctDescriptionDL01charNONENONE

A user defined name or remark.

szControlDigitCHKDcharNONENONE

A number that represents a check digit for a bank account number. This number is optional, and is not part of the key to the Bank Transit 
Master table (F0030). Note for Nordic users: This field is not used for Nordic electronic payments.

cSuppressErrorMessageEV01charNONENONE

An option that specifies the type of processing for an event.

cErrorCodeERRCcharNONENONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

szErrorMessageIDDTAIcharNONENONE

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

Related Functions

None

Related Tables

F0030 Bank Transit Master