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

# SQL-003: clsPersonTaxIDHistory

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

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-003 |
| **Operation type** | Create |
| **Execution method** | Inline |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsPersonTaxIDHistory` |
| **Criteria property** | `InsertSQL` |
| **Lifecycle method** | `BeforeInsert` |

## Parameters

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

## Tables

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

## Sample SQL

```sql
Insert into CL_PERSON_TAX_ID_HISTORY (
  PERSON_ID,
  PRIMARY_FLAG,
  PRIMARY_KEY_SEQ_NUM,
  TAX_ID,
  UPDATE_DATE,
  UPDATE_USER,
  VOID_FLAG)
VALUES (
  :PersonID,
  :PrimaryFlag,
  :PrimaryKeySeqNum,
  :TaxID,
  SYSDATE,
  :UpdateUser,
  :VoidFlag)
```

> **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`
