---
title: "SQL-006: Read operation"
summary: SQL-006 documentation for SAIF.Business.Claim.Authority.
status: draft
owner: Technical Writer
last_reviewed: 2026-07-28
library: SAIF.Business.Claim.Authority
reference_type: package
---

# SQL-006: Read operation

This document records the SQL used by `Criteria` in `SAIF.Business.Claim.Authority`.

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:inCode` | Input | String | N/A | Binds inCode from active calling code or Oracle signature. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [CL_CLAIM_AUTH_PURPOSE_CODE](../database-tables.md#cl_claim_auth_purpose_code) | READ | B, C, CLAIM_BUS_PROCESS_CODE, CL_CLAIM_AUTH_PURPOSE_CODE, CODE, CODE_DESCR, D, F, N, P, S, U |

## Sample SQL

```sql
Select CL_CLAIM_AUTH_PURPOSE_CODE.CODE as Code, CL_CLAIM_AUTH_PURPOSE_CODE.CODE_DESCR as Description, CL_CLAIM_AUTH_PURPOSE_CODE.UPDATE_DATE as UpdateDate, CL_CLAIM_AUTH_PURPOSE_CODE.UPDATE_NUM as UpdateNum, CL_CLAIM_AUTH_PURPOSE_CODE.UPDATE_USER as UpdateUser, CL_CLAIM_AUTH_PURPOSE_CODE.CLAIM_BUS_PROCESS_CODE as BusinessProcessCode 
FROM CL_CLAIM_AUTH_PURPOSE_CODE 
WHERE CODE = :inCode
```

> **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.Claim.Authority\clsClaimAuthPurposeCode.vb`
