RetrieveHomeGLBankAccount

Retrieve Home G/L Bank Account

Minor Business Rule

Object Name: B03B0037

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

The purpose of the Retrieve Home GL Bank Account business function is to retrieve the Account ID 

field from the Bank Transit Number Master file (F0030).  The function accepts Bank Transit Record Type, 

Customer Bank Account Number and Bank Transit Number as input and returns the Account ID.


Setup Notes and Prerequisites

None

Special Logic

None


Technical Specifications




Parameters

Item DescriptionI/O  Req? Notes

bktp    cBankTransitRecordType  I   Y     A code that                                            

   distinguishes external bank accounts from internal bank accounts. 'G' means Internal G/L Bank 

Accounts.    


cbnk    szCustBankAcctNumber    I   Y     The customer's bank account number, usually found on 

the bottom of the customer's check.


tnstszBankTransitNumberI  Y       The routing and transit number for a particular bank 
account.

AID    szAccountId          O   N/R

AN8    mnAddressNumber    O    N        The address number associated with the G/L account. 



Related Tables 

F0030Bank Transit Number Master File


Related Functions


Processing


Read Bank Transit Number Master file (F0030)
Input Fields:

cBankTransitRecordType
szCustBankAcctNumber

szBankTransitNumber


Return Fields:

szAccountId

^

Data Structure

D03B0037 - Retrieve Home G/L Bank Account

Purpose
This function data structure is used by Retrieve Home G/L Bank Account function.

Parameters


ItemDescription             I/O  Req?   Notes
bktp      cBankTransitRecordType  I  Y      A code that                                             
  distinguishes external bank accounts from internal bank accounts.'G' means Internal G/L Bank 

Accounts.    

cbnk    szCustBankAcctNumber    I   Y    The customer's bank account number, usually found on 

the bottom of the customer's check.

tnstszBankTransitNumberI  Y      The routing and transit number for a particular bank 
account.

AID    szAccountId          O   N/R

AN8    mnAddressNumber    O    N      The address number associated with the G/L account. 


^

Parameter NameData ItemData TypeReq/OptI/O/Both
cBankTransitRecordTypeBKTPcharNONENONE

Item  ab  Descriptionab  I/Oab   Req?   Notes
bktp      cBankTransitRecordType   Iab   Y      A code that                                            
   distinguishes external bank accounts from internal bank accounts.'G' means Internal G/L Bank 

Accounts.

^

szCustBankAcctNumberCBNKcharNONENONE

Item  ab  Descriptionab  I/Oab   Req?   Notes
cbnkab     szCustBankAcctNumber     Iab     Yab     The customer's bank account number, usually found 

on the bottom of the customer's  check.ab 


^

szBankTransitNumberTNSTcharNONENONE

Item  ab  Descriptionab  I/Oab   Req?   Notes
tnstab  szBankTransitNumberab  Iab   Y      The routing and transit number for a particular bank 
account.ab 


^

szAccountIdAIDcharNONENONE

Item  ab  Descriptionab  I/Oab   Req?      ab Notes
aidab  szAccountIdab  Oab   N/R


^

mnAddressNumberAN8MATH_NUMERICNONENONE

Item  ab  Descriptionab  I/Oab   Req?   Notes
AN8ab      mnAddressNumberab     O    N      The address number associated with the G/L account. 



^

Related Functions

None

Related Tables

F0030 Bank Transit Master