---
title: SQL-013: US_CLAIM_UNIT row by claim and policy unit
summary: US_CLAIM_UNIT row by claim and policy unit used by clsClaimUnit.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.UnitStat
reference_type: package
---

# SQL-013: US_CLAIM_UNIT row by claim and policy unit

This SQL statement implements the `US_CLAIM_UNIT row by claim and policy unit` data-access path for `clsClaimUnit` in `SAIF.Business.UnitStat`. It participates in the `read` lifecycle handled by `BeforeRetrieve / RetrieveType.ClaimUnit`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-013 |
| **Operation type** | Read |
| **Execution method** | Inline |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsClaimUnit` |
| **Criteria property** | `RetrieveSQL` |
| **Lifecycle method** | `BeforeRetrieve / RetrieveType.ClaimUnit` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:ClaimID` | Input | Decimal/SmartDecimal | N/A | Claim identifier bound from the business object or criteria. |
| `:PolicyUnitSeqNum` | Input | Decimal/SmartDecimal | N/A | Policy unit primary key / parent foreign key. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [US_CLAIM_UNIT](../database-tables.md#us-claim-unit) | SELECT | See sample SQL |

## Sample SQL

```sql

Select US_CLAIM_UNIT.US_POLICY_UNIT_SEQ_NUM as PolicyUnitSeqNum,

       US_CLAIM_UNIT.CLAIM_ID as ClaimID,

       US_CLAIM_UNIT.ACTIVE_UNIT_FLAG as ActiveUnitFlag,

       US_CLAIM_UNIT.VALUE_CODE as ValueCode,

       US_CLAIM_UNIT.UPDATE_USER as UpdateUser,

       US_CLAIM_UNIT.UPDATE_DATE as UpdateDate,

       US_CLAIM_UNIT.UPDATE_NUM as UpdateNumber,

       US_CLAIM_UNIT.REPORTED_FATAL_FLAG as ReportedFatalFlag,

       US_CLAIM_UNIT.REPORTED_CLOSED_FLAG as ReportedClosedFlag,

       US_CLAIM_UNIT.FINAL_DENIAL_DATE as FinalDenialDate,

       US_CLAIM_UNIT.PREFERRED_WORKER_FLAG as PreferredWorkerFlag

From US_CLAIM_UNIT

Where US_CLAIM_UNIT.US_POLICY_UNIT_SEQ_NUM = :PolicyUnitSeqNum

  and US_CLAIM_UNIT.CLAIM_ID = :ClaimID

```

## Operations and processes

- [Claim unit maintenance](../operations/claim-unit-maintenance.md)

> **Note:** Statements marked with `**` could not be confirmed; treat as unknown until verified.

## Sources

- `Business\SAIF.Business.UnitStat\clsClaimUnit.vb`
