﻿---
title: "SQL-117: Retrieve ELCB status code"
summary: Retrieve ELCB status code
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Premium
reference_type: package
---

# SQL-117: Retrieve ELCB status code

Retrieve ELCB status code in the context of `clsPremiumSummaryAdjustment`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-117 |
| **Operation type** | Read |
| **Execution method** | Reader/Scalar |
| **Database** | Oracle |
| **Command type** | Text |
| **Schema** | [unqualified] |
| **Business object** | N/A (Application layer) |
| **Criteria property** | `GetELCBStatusSQL` |
| **Lifecycle method** | Application-layer method: clsPremiumSummaryAdjustment.GetELCBStatusCode() |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:policy_num` | Input | Numeric* | *inferred/unknown* | Bind variable in clsPremiumSummaryAdjustment.GetELCBStatusSQL. |
| `:pp_eff_date` | Input | Date | *inferred/unknown* | Bind variable in clsPremiumSummaryAdjustment.GetELCBStatusSQL. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [POLICY_PERIOD_EMP_LIAB](../database-tables.md#policy_period_emp_liab) | SELECT | See sample SQL |

## Sample SQL

```sql
SELECT
  emp_liab_stat_code
FROM POLICY_PERIOD_EMP_LIAB
WHERE
  policy_num = :policy_num
  AND policy_period_eff_date = :pp_eff_date
  AND prem_adjustment_eff_date <> prem_adjustment_exp_date
```


> **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.Policy.Premium/clsPremiumSummaryAdjustment.vb`
