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

# SQL-042: clsAuditAssignmentOverride

Updates the default auditor, do-not-assign auditor, and update-tracking fields for an existing policy-level audit assignment override in `PA_ASSIGN_OVERRIDE`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-042 |
| **Operation type** | Update |
| **Execution method** | Inline SQL |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsAuditAssignmentOverride` |
| **Criteria property** | `UpdateSQL` |
| **Lifecycle method** | `BeforeUpdate` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:DefaultAuditorID` | Input | Decimal | N/A | Updated default auditor ID. |
| `:DoNotAssignAuditorID` | Input | Decimal | N/A | Updated do-not-assign auditor ID. |
| `:UpdateUser` | Input | String | 30 | Username performing the update. |
| `:UpdateDate` | Input | DateTime | N/A | Update timestamp. |
| `:PolicyNumber` | Input | Decimal | 10 | Policy number identifying the row. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [PA_ASSIGN_OVERRIDE](../database-tables.md#pa_assign_override) | UPDATE | `DEFAULT_PA_AUDITOR_ID`, `DONOT_ASSIGN_PA_AUDITOR_ID`, `UPDATE_USER`, `UPDATE_DATE`, `UPDATE_SEQ_NUM`, `POLICY_NUM` |

## Sample SQL

```sql
UPDATE PA_ASSIGN_OVERRIDE
SET DEFAULT_PA_AUDITOR_ID = :DefaultAuditorID,
    DONOT_ASSIGN_PA_AUDITOR_ID = :DoNotAssignAuditorID,
    UPDATE_USER = :UpdateUser,
    UPDATE_DATE = :UpdateDate,
    UPDATE_SEQ_NUM = UPDATE_SEQ_NUM + 1
WHERE POLICY_NUM = :PolicyNumber
```

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

## Business rules
- [BR-EU-03: Audit-assignment auditor distinctness](../business-rules.md#br-eu-03-audit-assignment-auditor-distinctness)

> **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\clsAuditAssignmentOverride.vb`
