---
title: "SQL-014: pk73304_loss_summary.get_thirdparty_prediction"
summary: Read operation used by `clsThirdPartyPrediction`.
status: draft
owner: SAIF
last_reviewed: 2026-07-28
library: SAIF.Business.UnitStat.Claim
reference_type: package
---

# SQL-014: pk73304_loss_summary.get_thirdparty_prediction

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

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-014 |
| **Operation type** | Read |
| **Execution method** | StoredProc |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | StoredProcedure |
| **Business object** | ``clsThirdPartyPrediction`` |
| **Criteria property** | ``GetPrediction`` |
| **Lifecycle method** | ``Cls Third Party Prediction read`` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:in_claim_id` | Input | Number | N/A | Source value `inLossSummary.ClaimID` |
| `:in_eff_date` | Input | Date | N/A | Source value `effDate` |
| `:in_exp_date` | Input | Date | N/A | Source value `expDate` |
| `:recordset` | Output | REF CURSOR | N/A | Source value `cursor` |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [settlement_exists](../database-tables.md#settlement_exists) | READ | See sample SQL. |
| [thrdparty_case](../database-tables.md#thrdparty_case) | READ | See sample SQL. |
| [thrdparty_prediction](../database-tables.md#thrdparty_prediction) | READ | See sample SQL. |
| [us_reported_loss](../database-tables.md#us_reported_loss) | READ | See sample SQL. |
| [us_claim_unit](../database-tables.md#us_claim_unit) | READ | See sample SQL. |
| [us_policy_unit](../database-tables.md#us_policy_unit) | READ | See sample SQL. |
| [us_unit_report](../database-tables.md#us_unit_report) | READ | See sample SQL. |

## Sample SQL

```sql
BEGIN pk73304_loss_summary.get_thirdparty_prediction(:in_claim_id, :in_eff_date, :in_exp_date, :recordset); END;
-- Stored procedure body retrieved from Oracle package WCIS_DBA.pk73304_loss_summary.
```

> **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.UnitStat.Claim\Loss Summary\clsThirdPartyPrediction.vb`
