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

# SQL-086: Update Pa Policy Data

This statement supports the premium-audit library by update Pa Policy Data.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-086 |
| **Operation type** | Update |
| **Execution method** | IDataRequest.SQLStatement (CommandType.Text) |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsAuditSelectionOverride` |
| **Criteria property** | `UpdateSQL` |
| **Lifecycle method** | `BeforeUpdate / AfterUpdate` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:AuditExcludeDate` | Input | bound from `m_AuditExcludeDate` | — | Bound in `clsAuditSelectionOverride.BeforeUpdate` (line 294) |
| `:AuditInstructionsText` | Input | bound from `m_AuditInstructionsText` | 4000 | Bound in `clsAuditSelectionOverride.BeforeUpdate` (line 296) |
| `:AuditSelectDate` | Input | bound from `m_AuditSelectDate` | — | Bound in `clsAuditSelectionOverride.BeforeUpdate` (line 295) |
| `:AuditReviewerID` | Input | bound from `m_AuditReviewerID` | 30 | Bound in `clsAuditSelectionOverride.BeforeUpdate` (line 297) |
| `:UpdateUser` | Input | bound from `m_UpdateUser` | 30 | Bound in `clsAuditSelectionOverride.BeforeUpdate` (line 298) |
| `:UpdateDate` | Input | bound from `m_UpdateDate` | — | Bound in `clsAuditSelectionOverride.BeforeUpdate` (line 299) |
| `:PolicyNum` | Input | bound from `MyCriteria.PolicyNum` | — | Bound in `clsAuditSelectionOverride.BeforeUpdate` (line 301) |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [`PA_POLICY`](../database-tables.md#pa_policy) | UPDATE | See sample SQL. |

## Sample SQL

```sql
UPDATE
  PA_POLICY
SET
  AUDIT_EXCLUDE_DATE = :AuditExcludeDate,
  AUDIT_INSTRUCTIONS_TEXT = :AuditInstructionsText,
  AUDIT_SELECT_DATE = :AuditSelectDate,
  AUDIT_SELECT_REVIEWER_ID = :AuditReviewerID,
  UPDATE_USER = :UpdateUser,
  UPDATE_DATE = :UpdateDate,
  UPDATE_SEQ_NUM = UPDATE_SEQ_NUM + 1
WHERE
  POLICY_NUM = :PolicyNum
```

## Operations and processes
- [Select policies for premium audit (batch/expiring)](../operations/select-policies-for-premium-audit-batch-expiring.md)

## Business rules
- [BR-030](../business-rules.md#br-030-selection-override-instructions-are-one-time-use)
- [BR-031](../business-rules.md#br-031-selection-override-reviewer-is-one-time-use)
- [BR-071](../business-rules.md#br-071-selection-override-select-date-and-exclude-date-must-each-be-a-valid-policy-period-expiration-date-and-may-not-be-the-same-date)



> **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/clsAuditSelectionOverride.vb:551`
