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

# SQL-101: clsWorkStatus

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

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-101 |
| **Operation type** | Update |
| **Execution method** | Inline SQL |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsWorkStatus` |
| **Criteria property** | `UpdateSQL` |
| **Lifecycle method** | `BeforeUpdate` |

## Parameters

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

## Tables

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

## Sample SQL

```sql
Update CL_CLAIM_WORK_STATUS
SET
    UPDATE_DATE = SYSDATE,
    UPDATE_NUM = :UpdateNum + 1,
    UPDATE_USER = :UpdateUser,
    WORK_STATUS_CODE = :WorkStatusCode,
    WORK_STATUS_DATE = TRUNC(:WorkStatusDate)
WHERE
    CLAIM_ID = :ClaimID and
    CLAIM_WORK_STATUS_SEQ_NUM = :ClaimWorkStatusSeqNum AND
    UPDATE_NUM = :UpdateNum
```

## Operations and processes

- [clsWorkStatus BeforeUpdate](../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`
