---
title: "SQL-032: clsBankAccountDataSourceCode retrieve by code"
summary: Retrieves a bank account data source code record.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.Payment.EFT
reference_type: package
---

# SQL-032: clsBankAccountDataSourceCode retrieve by code

Retrieves a bank account data source code record.

## Classification

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


## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| \:CODE\ | Input | String | 5 | Binds \MyCriteria.Code\* |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [BANK_ACCOUNT_DATA_SOURCE_CODE](../database-tables.md#bank_account_data_source_code) | — | — |

## Sample SQL

```sql
Select BANK_ACCOUNT_DATA_SOURCE_CODE.CODE as Code, BANK_ACCOUNT_DATA_SOURCE_CODE.CODE_DESCR as Description
From BANK_ACCOUNT_DATA_SOURCE_CODE
Where BANK_ACCOUNT_DATA_SOURCE_CODE.CODE = :Code
```

## Operations and processes
- [Bank account management](../operations/bank-account-management.md)*

> **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\clsBankAccountDataSourceCode.vb`
