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

# SQL-027: Read Pa Audit Data

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

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-027 |
| **Operation type** | Read |
| **Execution method** | CommandType.Text / DataRequestType.ResultSet |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsAuditCollection` |
| **Criteria property** | *n/a — application layer* |
| **Lifecycle method** | `clsAuditCollection.GenerateRetrieveSQL (application layer)` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `—` | — | — | — | No bound parameters detected in source. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [`PA_AUDIT`](../database-tables.md#pa_audit) | JOIN | See sample SQL. |
| [`PA_POLICY_PERIOD`](../database-tables.md#pa_policy_period) | JOIN | See sample SQL. |
| [`PA_AUDITOR`](../database-tables.md#pa_auditor) | JOIN | See sample SQL. |
| [`BUSINESS`](../database-tables.md#business) | JOIN | See sample SQL. |
| [`POLICY`](../database-tables.md#policy) | JOIN | See sample SQL. |
| [`OFFICE_CODE`](../database-tables.md#office_code) | JOIN | See sample SQL. |
| [`LOCATION`](../database-tables.md#location) | JOIN | See sample SQL. |
| [`PA_AUDITOR_ZIP_CODE`](../database-tables.md#pa_auditor_zip_code) | JOIN | See sample SQL. |
| [`PA_ZIP_CODE`](../database-tables.md#pa_zip_code) | JOIN | See sample SQL. |
| [`COUNTY`](../database-tables.md#county) | JOIN | See sample SQL. |

## Sample SQL

```sql
-- SQL text unavailable**
```

## Operations and processes
- [Select policies for premium audit (batch/expiring)](../operations/select-policies-for-premium-audit-batch-expiring.md)
- [Select policies for premium audit (off-cycle/daily)](../operations/select-policies-for-premium-audit-off-cycle-daily.md)
- [Assign renewal (batch) audits to auditors](../operations/assign-renewal-batch-audits-to-auditors.md)
- [Assign off-cycle audits to auditors](../operations/assign-off-cycle-audits-to-auditors.md)

## Business rules
- [BR-020](../business-rules.md#br-020-ineligible-policy-types-cannot-be-audited)
- [BR-021](../business-rules.md#br-021-duplicate-audits-are-blocked)



> **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/clsAuditCollection.vb:1447-1648`
