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

# SQL-031: Criteria

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

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-031 |
| **Operation type** | Read |
| **Execution method** | Stored procedure |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | StoredProcedure |
| **Business object** | `Criteria` |
| **Criteria property** | `RetrieveSQL` |
| **Lifecycle method** | `BeforeRetrieve` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:InClaimFinancialTransSeqNum` | Input | Unknown | — | Passed from Criteria via BeforeRetrieve. |
| `:inFinancialTransTypeCode` | Input | Unknown | — | Passed from Criteria via BeforeRetrieve. |
| `recordset` | Output | REF CURSOR | — | Passed from Criteria via BeforeRetrieve. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [CL_FINANCIAL_TRANS_TYPE_CODE](../database-tables.md#cl_financial_trans_type_code) | Read | Not enumerated directly in the stage findings.** |
| [CL_FINANCIAL_TRANS_DTL](../database-tables.md#cl_financial_trans_dtl) | Read | Not enumerated directly in the stage findings.** |
| [CL_RECOVERY_TYPE_CODE](../database-tables.md#cl_recovery_type_code) | Read | Not enumerated directly in the stage findings.** |
| [CL_FINANCIAL_TRANS](../database-tables.md#cl_financial_trans) | Read | Not enumerated directly in the stage findings.** |

## Sample SQL

```sql
pk82343_financial_trans.SelectFinTranBySeqNum(:InClaimFinancialTransSeqNum, :inFinancialTransTypeCode, recordset)
```

## Operations and processes

- [Criteria BeforeRetrieve](../operations/financial-transaction-and-remark-management.md)

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

## Sources

- `Business/SAIF.Business.Claim.Payment/FinancialTransaction/clsFinancialTrans.vb`
