---
title: "SQL-040: Retrieve clsRatingPlanFactorCollection data"
summary: Retrieve clsRatingPlanFactorCollection data
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Rating
reference_type: package
---

# SQL-040: Retrieve clsRatingPlanFactorCollection data

This document records the SQL used by `clsRatingPlanFactorCollection` in `SAIF.Business.Policy.Rating`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-040 |
| **Operation type** | Read |
| **Execution method** | Data portal — criteria SQL (dynamic predicate builder) |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsRatingPlanFactorCollection` |
| **Criteria property** | `RetrieveSQL` |
| **Lifecycle method** | `BeforeRetrieve / AfterRetrieve` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `—` | Input | Not specified | not specified | Bound parameter. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [RATING_PLAN_FACTOR](../database-tables.md#rating_plan_factor) | SELECT | See sample SQL and source for column usage. |

## Sample SQL

```sql
Select
  RATING_PLAN_FACTOR.RATING_PLAN_CODE as Code,
  RATING_PLAN_FACTOR.RATING_PLAN_FACTOR_EFF_DATE as EffectiveDate,
  RATING_PLAN_FACTOR.RATING_PLAN_LOW_FACTOR as LowerLimit,
  RATING_PLAN_FACTOR.RATING_PLAN_HIGH_FACTOR as UpperLimit,
  RATING_PLAN_FACTOR.RATING_PLAN_FACTOR_EXP_DATE as ExpirationDate,
  RATING_PLAN_FACTOR.NCCI_STAT_CODE as NCCIStatCode,
  RATING_PLAN_FACTOR.MAXIMUM_ADJUSTMENT_AMOUNT as MaximumAdjustmentAmount
From
  RATING_PLAN_FACTOR
```

## Operations and processes
- [Select rating plan factors in force](../operations/select-rating-plan-factors-in-force.md)

## Business rules
- [BR-019](../business-rules.md#br-019-a-rating-plan-factor-is-in-force-on-a-date-when-its-effective-date-is-on-or-before-the-date-and-its-expiration-date-is-either-null-or-after-the-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.Rating\clsRatingPlanFactorCollection.vb:356-366`