SQL-030: clsBankAccount retrieve by ID
Retrieves a single bank account record from BANK_ACCOUNT by sequence number.
Classification
Field
Value
SQL ID
SQL-030
Operation type
Read
Execution method
Inline SQL
Database
Oracle*
Schema
[unqualified]**
Command type
Text
Business object
clsBankAccount
Criteria property
RetrieveSQL
Lifecycle method
BeforeRetrieve / AfterRetrieve
Parameters
Parameter
Direction
Type
Max length
Description
:BankAccountID\
Input
Decimal
—
Binds \MyCriteria.BankAccountID*
Tables
Sample SQL
Select BANK_ACCOUNT . BANK_ACCOUNT_DATA_SOURCE_CODE as BankAccountDataSourceCode ,
BANK_ACCOUNT . BANK_ACCOUNT_HOLDER_NAME as BankAccountHolderName ,
BANK_ACCOUNT . BANK_ACCOUNT_NICK_NAME as BankAccountNickName ,
BANK_ACCOUNT . BANK_ACCOUNT_NUM as BankAccountNum ,
BANK_ACCOUNT . BANK_ACCOUNT_OWNER_NAME as BankAccountOwnerName ,
BANK_ACCOUNT . BANK_ACCOUNT_SEQ_NUM as BankAccountID ,
BANK_ACCOUNT . BANK_ACCOUNT_STATUS_CODE as BankAccountStatusCode ,
BANK_ACCOUNT . BANK_ACCOUNT_TYPE_CODE as BankAccountTypeCode ,
BANK_ACCOUNT . BANK_NAME as BankName , BANK_ACCOUNT . BANK_ROUTING_NUM as BankRoutingNum ,
BANK_ACCOUNT . BUSINESS_CONSUMER_CODE as BusinessConsumerCode ,
BANK_ACCOUNT . CREATE_DATE as CreateDate , BANK_ACCOUNT . CREATE_IP_ADDR as CreateIPAddr ,
BANK_ACCOUNT . CREATE_USER as CreateUser ,
BANK_ACCOUNT . HISTORICAL_AUTHORIZATION_FLAG as HistoricalAuthorizationFlag ,
BANK_ACCOUNT . PAYMENT_RETURN_REASON_CODE as PaymentReturnReasonCode ,
BANK_ACCOUNT . UPDATE_DATE as UpdateDate , BANK_ACCOUNT . UPDATE_IP_ADDR as UpdateIPAddr ,
BANK_ACCOUNT . UPDATE_USER as UpdateUser
From BANK_ACCOUNT
Where BANK_ACCOUNT . BANK_ACCOUNT_SEQ_NUM = : BankAccountID
Operations and processes
Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.
Sources
Business\SAIF.Business.Payment.EFT\clsBankAccount.vb