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

# SQL-092: CriteriaBase

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

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:AwardStatusCode` | Input | Unknown | — | Passed from CriteriaBase via BeforeUpdate. |
| `:TotalAmount` | Input | Unknown | — | Passed from CriteriaBase via BeforeUpdate. |
| `:AutoRecalcFlag` | Input | Unknown | — | Passed from CriteriaBase via BeforeUpdate. |
| `:OrderID` | Input | Unknown | — | Passed from CriteriaBase via BeforeUpdate. |
| `:ClosureID` | Input | Unknown | — | Passed from CriteriaBase via BeforeUpdate. |
| `:EffectiveDate` | Input | Unknown | — | Passed from CriteriaBase via BeforeUpdate. |
| `:NextIssueDate` | Input | Unknown | — | Passed from CriteriaBase via BeforeUpdate. |
| `:UpdateDate` | Input | Unknown | — | Passed from CriteriaBase via BeforeUpdate. |
| `:UpdateUser` | Input | Unknown | — | Passed from CriteriaBase via BeforeUpdate. |
| `:AwardNumber` | Input | Unknown | — | Passed from CriteriaBase via BeforeUpdate. |
| `:ClaimID` | Input | Unknown | — | Passed from CriteriaBase via BeforeUpdate. |
| `:UpdateNumber` | Input | Unknown | — | Passed from CriteriaBase via BeforeUpdate. |

## Tables

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

## Sample SQL

```sql
Update CL_AWARD
SET
    AWARD_STATUS_CODE = :AwardStatusCode,
    ORDER_SEQ_NUM = :OrderID,
    CLOSURE_SEQ_NUM = :ClosureID,
    AWARD_EFF_DATE = :EffectiveDate,
    AWARD_TOTAL_AMOUNT = :TotalAmount,
    NEXT_ISSUE_DATE = :NextIssueDate,
    UPDATE_NUM = UPDATE_NUM + 1,
    UPDATE_DATE = :UpdateDate,
    UPDATE_USER = :UpdateUser,
    AUTO_RECALC_FLAG = :AutoRecalcFlag
WHERE
    CL_AWARD.SAIF_AWARD_NUM = :AwardNumber AND
    UPDATE_NUM = :UpdateNumber AND
    CL_AWARD.CLAIM_ID = :ClaimID
```

## Operations and processes

- [CriteriaBase BeforeUpdate](../operations-processes.md)

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

## Sources

- `Business/SAIF.Business.Claim.Payment/Payments/StateAwardPayments/clsAward.vb`
