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

# SQL-108: clsSecWageCalculationPeriod

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

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:EarningsPeriodFromDate` | Input | Unknown | — | Passed from clsSecWageCalculationPeriod via BeforeUpdate. |
| `:EarningsPeriodThruDate` | Input | Unknown | — | Passed from clsSecWageCalculationPeriod via BeforeUpdate. |
| `:WagePeriodTypeCode` | Input | Unknown | — | Passed from clsSecWageCalculationPeriod via BeforeUpdate. |
| `:UpdateNum` | Input | Unknown | — | Passed from clsSecWageCalculationPeriod via BeforeUpdate. |
| `:UpdateUser` | Input | Unknown | — | Passed from clsSecWageCalculationPeriod via BeforeUpdate. |
| `:ClaimID` | Input | Unknown | — | Passed from clsSecWageCalculationPeriod via BeforeUpdate. |
| `:TimelossCalculationSubNum` | Input | Unknown | — | Passed from clsSecWageCalculationPeriod via BeforeUpdate. |
| `:WageCalcPeriodSubNum` | Input | Unknown | — | Passed from clsSecWageCalculationPeriod via BeforeUpdate. |

## Tables

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

## Sample SQL

```sql
Update CL_SEC_WAGE_CALCULATION_PERIOD
SET
    EARNINGS_PERIOD_FROM_DATE = :EarningsPeriodFromDate,
    EARNINGS_PERIOD_THRU_DATE = :EarningsPeriodThruDate,
    UPDATE_DATE = SYSDATE,
    UPDATE_NUM = UPDATE_NUM + 1,
    UPDATE_USER = :UpdateUser,
    WAGE_PERIOD_TYPE_CODE = :WagePeriodTypeCode
WHERE
    CL_SEC_WAGE_CALCULATION_PERIOD.CLAIM_ID = :ClaimID AND
    CL_SEC_WAGE_CALCULATION_PERIOD.TIMELOSS_CALCULATION_SUB_NUM = :TimelossCalculationSubNum AND
    CL_SEC_WAGE_CALCULATION_PERIOD.WAGE_CALC_PERIOD_SUB_NUM = :WageCalcPeriodSubNum AND
    CL_SEC_WAGE_CALCULATION_PERIOD.UPDATE_NUM = :UpdateNum
```

## Operations and processes

- [clsSecWageCalculationPeriod BeforeUpdate](../operations/wage-calculation-worksheet-management.md)

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

## Sources

- `Business/SAIF.Business.Claim.Payment/Wage and Job/clsSecWageCalculationPeriod.vb`
