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

# SQL-014: Criteria

This statement supports `Criteria` by executing a Create operation through storedproc.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-014 |
| **Operation type** | Create |
| **Execution method** | Stored procedure |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | StoredProcedure |
| **Business object** | `Criteria` |
| **Criteria property** | `InsertSQL` |
| **Lifecycle method** | `BeforeInsert` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:ReimbursementDetailID` | Input | Number | N/A | Binds ReimbursementDetailID from active calling code or Oracle signature. |
| `:ExpenseTypeCode` | Input | String | N/A | Binds ExpenseTypeCode from active calling code or Oracle signature. |
| `:ReimbursedAmount` | Input | Number | N/A | Binds ReimbursedAmount from active calling code or Oracle signature. |
| `:CreateUser` | Input | String | N/A | Binds CreateUser from active calling code or Oracle signature. |
| `:CreateDate` | Input | Date | N/A | Binds CreateDate from active calling code or Oracle signature. |
| `:UpdateUser` | Input | Date | N/A | Binds UpdateUser from active calling code or Oracle signature. |
| `:UpdateDate` | Input | Date | N/A | Binds UpdateDate from active calling code or Oracle signature. |
| `:UpdateNum` | Input | Date | N/A | Binds UpdateNum from active calling code or Oracle signature. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| `REIMB_DETAIL_AMOUNT*` | Create* | ReimbursementDetailID, ExpenseTypeCode, ReimbursedAmount, CreateUser, CreateDate, UpdateUser, UpdateDate, UpdateNum* |

## Sample SQL

```sql

pk82500_eaip.reimb_detail_amount_insert(:ReimbursementDetailID, :ExpenseTypeCode, :ReimbursedAmount, :CreateUser, :CreateDate, :UpdateUser, :UpdateDate, :UpdateNum)

-- Procedure body resides in Oracle.

```

## Operations and processes

- [Criteria create](../operations/reimbursement-recording.md)

> **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.Claim.EAIP\Reimbursement\clsDetailAmount.vb`