---
title: "SQL-007: Create operation"
summary: SQL-007 documentation for SAIF.Business.Claim.
status: draft
owner: Technical Writer
last_reviewed: 2026-07-28
library: SAIF.Business.Claim
reference_type: package
---

# SQL-007: Create operation

This document records the SQL used by `Criteria` in `SAIF.Business.Claim`.

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:ClaimID` | Input | Number | N/A | Binds ClaimID from active calling code or Oracle signature. |
| `:ClaimWorkStatusSeqNum` | Input | Number | N/A | Binds ClaimWorkStatusSeqNum from active calling code or Oracle signature. |
| `:UpdateUser` | Input | Date | N/A | Binds UpdateUser from active calling code or Oracle signature. |
| `:WorkStatusDate` | Input | Date | N/A | Binds WorkStatusDate from active calling code or Oracle signature. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [CL_CLAIM_WORK_STATUS](../database-tables.md#cl_claim_work_status) | CREATE | C, CLAIM_ID, CLAIM_WORK_STATUS_SEQ_NUM, CL_CLAIM_WORK_STATUS, D, I, ID, N, S, SYSDATE, U, UPDATE_DATE |

## Sample SQL

```sql
Insert into CL_CLAIM_WORK_STATUS ( CLAIM_ID, CLAIM_WORK_STATUS_SEQ_NUM, UPDATE_DATE, UPDATE_NUM, UPDATE_USER, WORK_STATUS_CODE, WORK_STATUS_DATE ) 
VALUES ( :ClaimID, :ClaimWorkStatusSeqNum, SYSDATE, 0, :UpdateUser, '1', :WorkStatusDate)
```

> **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\clsClaimWorkStatus.vb`
