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

# SQL-019: Criteria

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

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-019 |
| **Operation type** | Update |
| **Execution method** | Inline |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | ``Criteria`` |
| **Criteria property** | ``updatesql`` |
| **Lifecycle method** | ``Criteria update`` |

## 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) | UPDATE | See sample SQL. |

## Sample SQL

```sql
Update US_LOSS_CATEGORY Set US_LOSS_CATEGORY_SEQ_NUM = :LossCategorySeqNum, US_LOSS_SUMMARY_SEQ_NUM = :LossSummarySeqNum, CLAIM_COST_CATEGORY_CODE = :ClaimCostCategoryCode, INCURRED_COST_AMOUNT = :IncurredCostAmount, PAID_COST_AMOUNT = :PaidCostAmount, BASE_INCURRED_COST_AMOUNT = :BaseIncurredCostAmount, BASE_PAID_COST_AMOUNT = :BasePaidCostAmount, UPDATE_USER = :UpdateUser, UPDATE_DATE = :UpdateDate, UPDATE_NUM = :UpdateNumber Where US_LOSS_CATEGORY.US_LOSS_CATEGORY_SEQ_NUM = :LossCategorySeqNum
```

> **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`
