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

# SQL-029: clsWageCalcPeriodEarnings

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

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:EarningsTypeDescr` | Input | Unknown | — | Passed from clsWageCalcPeriodEarnings via BeforeInsert. |
| `:HourlyWageRate` | Input | Unknown | — | Passed from clsWageCalcPeriodEarnings via BeforeInsert. |
| `:HoursWorkedQuantity` | Input | Unknown | — | Passed from clsWageCalcPeriodEarnings via BeforeInsert. |
| `:PeriodEarningsAmount` | Input | Unknown | — | Passed from clsWageCalcPeriodEarnings via BeforeInsert. |
| `:UpdateUser` | Input | Unknown | — | Passed from clsWageCalcPeriodEarnings via BeforeInsert. |
| `:ClaimID` | Input | Unknown | — | Passed from clsWageCalcPeriodEarnings via BeforeInsert. |
| `:EarningsTypeSubNum` | Input | Unknown | — | Passed from clsWageCalcPeriodEarnings via BeforeInsert. |
| `:TimelossCalculationSubNum` | Input | Unknown | — | Passed from clsWageCalcPeriodEarnings via BeforeInsert. |
| `:WageCalcPeriodSubNum` | Input | Unknown | — | Passed from clsWageCalcPeriodEarnings via BeforeInsert. |

## Tables

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

## Sample SQL

```sql
Insert into CL_WAGE_CALC_PERIOD_EARNINGS (
    CLAIM_ID,
    EARNINGS_TYPE_SUB_NUM,
    EARNINGS_TYPE_DESCR,
    HOURLY_WAGE_RATE,
    HOURS_WORKED_QUANTITY,
    PERIOD_EARNINGS_AMOUNT,
    TIMELOSS_CALCULATION_SUB_NUM,
    UPDATE_DATE,
    UPDATE_NUM,
    UPDATE_USER,
    WAGE_CALC_PERIOD_SUB_NUM
) VALUES (
    :ClaimID,
    :EarningsTypeSubNum,
    :EarningsTypeDescr,
    :HourlyWageRate,
    :HoursWorkedQuantity,
    :PeriodEarningsAmount,
    :TimelossCalculationSubNum,
    SYSDATE,
    0,
    :UpdateUser,
    :WageCalcPeriodSubNum
)
```

## Operations and processes

- [clsWageCalcPeriodEarnings BeforeInsert](../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/clsWageCalcPeriodEarnings.vb`
