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

# SQL-010: clsPersonTaxIDHistory

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

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-010 |
| **Operation type** | Read |
| **Execution method** | Inline |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsPersonTaxIDHistory` |
| **Criteria property** | `CheckForActiveSSNSQL` |
| **Lifecycle method** | `GetTaxIDInUseAsActive` |

## Parameters

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

## Tables

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

## Sample SQL

```sql
Select
  Count(*)
FROM CL_PERSON_TAX_ID_HISTORY
WHERE
  TAX_ID = :TaxID
  AND CL_PERSON_TAX_ID_HISTORY.PERSON_ID <> :PersonID
  AND CL_PERSON_TAX_ID_HISTORY.PRIMARY_FLAG = :PrimaryFlag
  AND CL_PERSON_TAX_ID_HISTORY.VOID_FLAG = :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`
