---
title: "SQL-084: Retrieve policy period base"
summary: "Retrieve policy period base"
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Core
reference_type: package
---

# SQL-084: Retrieve policy period base

Retrieve policy period base in the context of `clsPolicyPeriodBase`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-084 |
| **Operation type** | Read |
| **Execution method** | CommandType.Text / DataRequestType.Scalar |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsPolicyPeriodBase` |
| **Criteria property** | `*n/a - application layer*` |
| **Lifecycle method** | `clsPolicyPeriodBase.GetARStandardPremium (application layer)` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:PolicyNumber` | Input | bound from `PolicyNumber` | - | Bound in `clsPolicyPeriodBase.GetARStandardPremium` (line 648) |
| `:PolicyPeriodEffectiveDate` | Input | bound from `EffectiveDate` | - | Bound in `clsPolicyPeriodBase.GetARStandardPremium` (line 649) |

## Tables

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

## Sample SQL

```sql
SELECT
  sum(nvl(ermod_premium_amt, 0))
FROM
  non_wcis_stat_trans
WHERE
  policy_num = :PolicyNumber
  AND policy_period_eff_date = :PolicyPeriodEffectiveDate
  AND (
    JOB_CLASS_CODE in (
      4,
      32,
      88,
      121,
      122,
      123,
      277,
      278,
      930,
      931,
      991,
      9041,
      9046,
      9803,
      9804,
      9805,
      9806,
      9807,
      9808,
      9809,
      9810,
      9811,
      9812,
      9813,
      9814,
      9815,
      9816,
      9817,
      9818,
      9819,
      9820,
      9821,
      9822,
      9840,
      9848,
      9849,
      9851,
      9885,
      9886,
      9985)
    OR nvl(exposure_count,0) <> 0)
  AND premium_audit_waiver_flag = 'N'
```

## Operations and processes
- [Determine standard premium for a period](../operations/determine-standard-premium-for-a-period.md)

## Business rules
- [BR-013: Standard premium is sourced from WCIS for WCIS](../business-rules.md#br-013-standard-premium-is-sourced-from-wcis-for-wcis)
- [BR-022: A policy period must have a non-zero policy](../business-rules.md#br-022-a-policy-period-must-have-a-non-zero-policy)
- [BR-023: A policy period must have an effective date](../business-rules.md#br-023-a-policy-period-must-have-an-effective-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.Core\clsPolicyPeriodBase.vb`
