---
title: "SQL-019: clsWorkStatus"
summary: Create statement for clsWorkStatus.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-07-28
library: SAIF.Business.Claim.Maintenance
reference_type: package
---

# SQL-019: clsWorkStatus

This statement supports `clsWorkStatus` by executing a Create operation through inline.

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:WorkStatusCode` | Input | Unknown | — | Passed from clsWorkStatus via BeforeInsert. |
| `:WorkStatusDate` | Input | Unknown | — | Passed from clsWorkStatus via BeforeInsert. |
| `:ClaimID` | Input | Unknown | — | Passed from clsWorkStatus via BeforeInsert. |
| `:ClaimWorkStatusSeqNum` | Input | Unknown | — | Passed from clsWorkStatus via BeforeInsert. |
| `:UpdateUser` | Input | Unknown | — | Passed from clsWorkStatus via BeforeInsert. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [CL_CLAIM_WORK_STATUS](../database-tables.md#cl_claim_work_status) | Create | Not enumerated directly in the stage findings.** |

## 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,
    :WorkStatusCode,
    TRUNC(:WorkStatusDate)
)
```

## Operations and processes

- [clsWorkStatus BeforeInsert](../operations/work-release-status-management.md)

> **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.Maintenance/clsWorkStatus.vb`
