---
title: "SQL-058: Pk82033_Thirdparty.thrdparty_lien_select_by_Seq"
summary: Read operation used by `Criteria`.
status: draft
owner: SAIF
last_reviewed: 2026-07-28
library: SAIF.Business.Claim.ThirdParty
reference_type: package
---

# SQL-058: Pk82033_Thirdparty.thrdparty_lien_select_by_Seq

This SQL artifact supports ``Criteria`` by executing a read operation through StoredProc.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-058 |
| **Operation type** | Read |
| **Execution method** | StoredProc |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | StoredProcedure |
| **Business object** | ``Criteria`` |
| **Criteria property** | ``retrievesql`` |
| **Lifecycle method** | ``Criteria read`` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| None | — | — | — | This statement does not declare runtime parameters. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [thrdparty_lien](../database-tables.md#thrdparty_lien) | READ | See sample SQL. |
| [TP_CLAIM_COST_CATEGORY_CODE](../database-tables.md#tp_claim_cost_category_code) | READ | See sample SQL. |
| [thrdparty_claim_cost](../database-tables.md#thrdparty_claim_cost) | READ | See sample SQL. |
| [THRDPARTY_LIEN_CATEGORY](../database-tables.md#thrdparty_lien_category) | READ | See sample SQL. |

## Sample SQL

```sql
BEGIN Pk82033_Thirdparty.thrdparty_lien_select_by_Seq(/* see source for parameters */); END;
-- Stored procedure body retrieved from Oracle package WCIS_DBA.Pk82033_ThirdParty.
```

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