---
title: Read Pa Result Type Data
summary: SQL-048
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Audit.Premium
reference_type: package
---

# SQL-048: Read Pa Result Type Data

This statement supports the premium-audit library by read Pa Result Type Data.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-048 |
| **Operation type** | Read |
| **Execution method** | IDataRequest.SQLStatement (CommandType.Text) |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsAuditResultTypeCollection` |
| **Criteria property** | `RetrieveSQL` |
| **Lifecycle method** | `BeforeRetrieve / AfterRetrieve` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:AuditTypeCode` | Input | bound from `clsAudit.ConvertAuditType(MyCriteria.AuditType` | — | Bound in `clsAuditResultTypeCollection.BeforeRetrieve` (line 194) |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [`PA_RESULT_TYPE`](../database-tables.md#pa_result_type) | SELECT | See sample SQL. |

## Sample SQL

```sql
SELECT
  PA_RESULT_TYPE.PA_RESULT_CODE as AuditResultCode,
  PA_RESULT_TYPE.PA_TYPE_CODE as AuditTypeCode,
  PA_RESULT_TYPE.SORT_ORDER_NUM as SortOrder
FROM
  PA_RESULT_TYPE
WHERE
  PA_RESULT_TYPE.PA_TYPE_CODE = :AuditTypeCode
```

## Operations and processes
- [Save a premium audit](../operations/save-a-premium-audit.md)

## Business rules
- [BR-069](../business-rules.md#br-069-an-audit-result-requires-an-existing-result-code)



> **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.Policy.Audit.Premium/clsAuditResultTypeCollection.vb:379`
