---
title: "SQL-004: Criteria"
summary: Create statement for Criteria.
status: draft
owner: SAIF
last_reviewed: 2026-07-28
library: SAIF.Business.UnitStat.Claim
reference_type: package
---

# SQL-004: Criteria

This SQL artifact supports ``Criteria`` by executing a create operation through Inline.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-004 |
| **Operation type** | Create |
| **Execution method** | Inline |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | ``Criteria`` |
| **Criteria property** | ``insertsql`` |
| **Lifecycle method** | ``Criteria create`` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:LossCategorySeqNum` | Input | Number | N/A | Source value `LossCategorySeqNum` |
| `:LossSummarySeqNum` | Input | Number | N/A | Source value `LossSummarySeqNum` |
| `:ClaimCostCategoryCode` | Input | String | 5 | Source value `ClaimCostCategoryCode` |
| `:IncurredCostAmount` | Input | Number | N/A | Source value `IncurredCostAmount` |
| `:PaidCostAmount` | Input | Number | N/A | Source value `PaidCostAmount` |
| `:BaseIncurredCostAmount` | Input | Number | N/A | Source value `BaseIncurredCostAmount` |
| `:BasePaidCostAmount` | Input | Number | N/A | Source value `BasePaidCostAmount` |
| `:UpdateUser` | Input | Date | 30 | Source value `UpdateUser` |
| `:UpdateDate` | Input | Date | N/A | Source value `UpdateDate` |
| `:UpdateNumber` | Input | Date | N/A | Source value `UpdateNumber` |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [US_LOSS_CATEGORY](../database-tables.md#us_loss_category) | CREATE | See sample SQL. |

## Sample SQL

```sql
Insert into US_LOSS_CATEGORY ( US_LOSS_CATEGORY_SEQ_NUM, US_LOSS_SUMMARY_SEQ_NUM, CLAIM_COST_CATEGORY_CODE, INCURRED_COST_AMOUNT, PAID_COST_AMOUNT, BASE_INCURRED_COST_AMOUNT, BASE_PAID_COST_AMOUNT, UPDATE_USER, UPDATE_DATE, UPDATE_NUM ) Values ( :LossCategorySeqNum, :LossSummarySeqNum, :ClaimCostCategoryCode, :IncurredCostAmount, :PaidCostAmount, :BaseIncurredCostAmount, :BasePaidCostAmount, :UpdateUser, :UpdateDate, :UpdateNumber)
```

> **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.UnitStat.Claim\Loss Summary\clsLossCategory.vb`
