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

# SQL-004: Criteria

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

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:ConflictAdjusterCode` | Input | String | 2 | Source value `conflictAdjusterCode` |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [thrdparty_adjuster_code](../database-tables.md#thrdparty_adjuster_code) | SEQUENCE | See sample SQL. |

## Sample SQL

```sql
select low_claim_num as lowNum, high_claim_num as highNum, code as adjusterCode, user_name as userName from thrdparty_adjuster_code where (low_claim_num >= 0 and low_claim_num < 100) or code = :ConflictAdjusterCode
```

> **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.ThirdParty\clsAdjusterAssignment.vb`
