---
title: "SQL-061: Read RTW_LOAD_CODE for `mdlCustomerContact`"
summary: Read statement for `mdlCustomerContact` against RTW_LOAD_CODE.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.CustomerContact
reference_type: package
---

# SQL-061: Read RTW_LOAD_CODE for `mdlCustomerContact`

This statement supports `mdlCustomerContact` by executing a read operation against RTW_LOAD_CODE.

## Classification

| Field | Value |
| --- | --- |
| SQL ID | SQL-061 |
| Operation type | Read |
| Execution method | Inline via SqlHelper.ResultSetQuery |
| Database | Oracle |
| Schema | `[unqualified]**` |
| Command type | Text |
| Business object | `mdlCustomerContact` |
| Criteria property | GetCustomerIDForRTW |
| Lifecycle method | GetCustomerIDForRTW |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:RTWLoadCode` | Input | String | 5 | RTW load code |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [RTW_LOAD_CODE](../database-tables.md#rtw-load-code) | SELECT | See sample SQL** |

## Sample SQL

```sql
select code, code_descr from RTW_LOAD_CODE where upper(code) = :RTWLoadCode
```

## Operations and processes
- [External identifier resolution](../operations/external-identifier-resolution.md)

> **Note:** Statements marked with `**` could not be confirmed; treat as unknown until verified.

## Sources
- `Business\SAIF.Business.CustomerContact\mdlCustomerContact.vb`
