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

# SQL-099: clsVocationalDetail

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

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:ClaimID` | Input | Unknown | — | Passed from clsVocationalDetail via BeforeUpdate. |
| `:VocationalDetailID` | Input | Unknown | — | Passed from clsVocationalDetail via BeforeUpdate. |
| `:VocationalStatusCode` | Input | Unknown | — | Passed from clsVocationalDetail via BeforeUpdate. |
| `:VocationalStatusDate` | Input | Unknown | — | Passed from clsVocationalDetail via BeforeUpdate. |
| `:ParentProviderLocationID` | Input | Unknown | — | Passed from clsVocationalDetail via BeforeUpdate. |
| `:ProviderLocationID` | Input | Unknown | — | Passed from clsVocationalDetail via BeforeUpdate. |
| `:VocationalRespCode` | Input | Unknown | — | Passed from clsVocationalDetail via BeforeUpdate. |
| `:VocationalStatusDetailCode` | Input | Unknown | — | Passed from clsVocationalDetail via BeforeUpdate. |
| `:LastUpdateNum` | Input | Unknown | — | Passed from clsVocationalDetail via BeforeUpdate. |
| `:UpdateNum` | Input | Unknown | — | Passed from clsVocationalDetail via BeforeUpdate. |
| `:UpdateDate` | Input | Unknown | — | Passed from clsVocationalDetail via BeforeUpdate. |
| `:UpdateUser` | Input | Unknown | — | Passed from clsVocationalDetail via BeforeUpdate. |

## Tables

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

## Sample SQL

```sql
Update VOCATIONAL_DETAIL
SET
    CLAIM_ID = :ClaimID,
    PARENT_PROVIDER_LOC_SEQ_NUM = :ParentProviderLocationID,
    PROVIDER_LOCATION_SEQ_NUM = :ProviderLocationID,
    UPDATE_DATE = :UpdateDate,
    UPDATE_NUM = :UpdateNum,
    UPDATE_USER = :UpdateUser,
    VOCATIONAL_DETAIL_SEQ_NUM = :VocationalDetailID,
    VOCATIONAL_RESP_CODE = :VocationalRespCode,
    VOCATIONAL_STATUS_CODE = :VocationalStatusCode,
    VOCATIONAL_STATUS_DATE = :VocationalStatusDate,
    VOCATIONAL_STATUS_DETAIL_CODE = :VocationalStatusDetailCode
WHERE
    VOCATIONAL_DETAIL.VOCATIONAL_DETAIL_SEQ_NUM = :VocationalDetailID AND
    VOCATIONAL_DETAIL.UPDATE_NUM = :LastUpdateNum
```

## Operations and processes

- [clsVocationalDetail BeforeUpdate](../operations/vocational-data-retrieval.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/clsVocationalDetail.vb`
