---
title: "SQL-019: clsPersonTaxIDHistory"
summary: Update statement for clsPersonTaxIDHistory.
status: draft
owner: SAIF
last_reviewed: 2026-07-28
library: SAIF.Business.Claim.Person
reference_type: package
---

# SQL-019: clsPersonTaxIDHistory

This SQL artifact supports `clsPersonTaxIDHistory` by executing a update operation through Inline.

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:PrimaryFlag` | Input | Unknown | N/A | Passed from clsPersonTaxIDHistory via BeforeUpdate. |
| `:VoidFlag` | Input | Unknown | N/A | Passed from clsPersonTaxIDHistory via BeforeUpdate. |
| `:UpdateUser` | Input | Unknown | N/A | Passed from clsPersonTaxIDHistory via BeforeUpdate. |
| `:PersonID` | Input | Unknown | N/A | Passed from clsPersonTaxIDHistory via BeforeUpdate. |
| `:PrimaryKeySeqNum` | Input | Unknown | N/A | Passed from clsPersonTaxIDHistory via BeforeUpdate. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [CL_PERSON_TAX_ID_HISTORY](../database-tables.md#cl-person-tax-id-history) | UPDATE | See sample SQL. |

## Sample SQL

```sql
Update CL_PERSON_TAX_ID_HISTORY
SET
  PRIMARY_FLAG = :PrimaryFlag,
  UPDATE_DATE = SYSDATE,
  UPDATE_USER = :UpdateUser,
  VOID_FLAG = :VoidFlag
WHERE
  CL_PERSON_TAX_ID_HISTORY.PERSON_ID = :PersonID
  AND CL_PERSON_TAX_ID_HISTORY.PRIMARY_KEY_SEQ_NUM = :PrimaryKeySeqNum
```

> **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.Claim.Person\clsPersonTaxIDHistory.vb`
