Skip to content

SQL-031: clsBankAccountCollection retrieve by create user

Retrieves all bank account records for a given create user.

Classification

Field Value
SQL ID SQL-031
Operation type Read
Execution method Inline SQL
Database Oracle*
Schema [unqualified]**
Command type Text
Business object clsBankAccountCollection
Criteria property RetrieveSQL
Lifecycle method BeforeRetrieve / AfterRetrieve

Parameters

Parameter Direction Type Max length Description
:CreateUser\ Input String 30 Binds \MyCriteria.CreateUser*

Tables

Table Access Columns used
BANK_ACCOUNT — —

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 upper(BANK_ACCOUNT.CREATE_USER) = upper(:CreateUser)

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\clsBankAccountCollection.vb