---
title: Insert Pa Auditor Zip Code Data
summary: SQL-009
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Audit.Premium
reference_type: package
---

# SQL-009: Insert Pa Auditor Zip Code Data

This statement supports the premium-audit library by insert Pa Auditor Zip Code Data.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-009 |
| **Operation type** | Insert |
| **Execution method** | IDataRequest.SQLStatement (CommandType.Text) |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsAuditorZipCode` |
| **Criteria property** | `InsertSQL` |
| **Lifecycle method** | `BeforeInsert / AfterInsert` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:PAAuditorID` | Input | bound from `PAAuditorID` | 10 | Bound in `clsAuditorZipCode.BeforeInsert` (line 198) |
| `:ZipCode` | Input | bound from `ZipCode` | 5 | Bound in `clsAuditorZipCode.BeforeInsert` (line 199) |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [`PA_AUDITOR_ZIP_CODE`](../database-tables.md#pa_auditor_zip_code) | INSERT | See sample SQL. |

## Sample SQL

```sql
INSERT INTO
  PA_AUDITOR_ZIP_CODE
  (
    PA_AUDITOR_ID,
    ZIP_CODE
  )
VALUES
  (
    :PAAuditorID,
    :ZipCode
  )
```

## Operations and processes
- [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-014](../business-rules.md#br-014-assignment-requires-matching-territory)
- [BR-068](../business-rules.md#br-068-an-auditor-zip-row-requires-an-existing-auditor-an-assignable-auditor-and-an-existing-zip-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/clsAuditorZipCode.vb:477`
