---
title: "SQL-052: clsAuditorZipCode"
summary: Delete statement for clsAuditorZipCode.
status: draft
owner: <owner>
last_reviewed: 2026-07-24
library: SAIF.Business.External.Users
reference_type: package
---

# SQL-052: clsAuditorZipCode

Deletes a single `PA_AUDITOR_ZIP_CODE` row identified by its composite key `(PA_AUDITOR_ID, ZIP_CODE)`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-052 |
| **Operation type** | Delete |
| **Execution method** | Inline SQL |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsAuditorZipCode` |
| **Criteria property** | `DeleteSQL` |
| **Lifecycle method** | `BeforeDelete` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:PAAuditorID` | Input | Decimal | N/A | Auditor ID (composite key part 1). |
| `:ZipCode` | Input | String | 5 | Zip code (composite key part 2). |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [PA_AUDITOR_ZIP_CODE](../database-tables.md#pa_auditor_zip_code) | DELETE | `PA_AUDITOR_ID`, `ZIP_CODE` |

## Sample SQL

```sql
DELETE PA_AUDITOR_ZIP_CODE
WHERE PA_AUDITOR_ZIP_CODE.PA_AUDITOR_ID = :PAAuditorID
  AND PA_AUDITOR_ZIP_CODE.ZIP_CODE = :ZipCode
```

## Operations and processes
- [Auditor assignment / override](../operations/auditor-assignment-override.md)

> **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.External.Users\clsAuditorZipCode.vb`
