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

# SQL-011: Retrieve clsEmployeeRatingType data

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

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-011 |
| **Operation type** | Read |
| **Execution method** | Data portal — criteria SQL |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsEmployeeRatingType` |
| **Criteria property** | `RetrieveSQL` |
| **Lifecycle method** | `BeforeRetrieve / AfterRetrieve` |

## Parameters

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

## Tables

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

## Sample SQL

```sql
Select
  EMPLOYEE_RATING_TYPE_CODE.CODE as Code,
  EMPLOYEE_RATING_TYPE_CODE.OFFICER_FLAG as OfficerFlag,
  EMPLOYEE_RATING_TYPE_CODE.CODE_DESCR as Description,
  EMPLOYEE_RATING_TYPE_CODE.ASSUMED_WAGE_CODE as AssumedWageCode,
  EMPLOYEE_RATING_TYPE_CODE.INC_EXC_ENDORSE_CODE as EndorsementCode,
  EMPLOYEE_RATING_TYPE_CODE.INC_EXC_WAGE_ENDORSE_CODE as WageEndorsementCode
From
  EMPLOYEE_RATING_TYPE_CODE
Where
  EMPLOYEE_RATING_TYPE_CODE.CODE = :Code
```

> **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\clsEmployeeRatingType.vb:612-618`