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

# SQL-015: Retrieve clsManualClassAssociation data

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

## Classification

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

## Parameters

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

## Tables

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

## Sample SQL

```sql
Select
  MANUAL_CLASS_ASSOCIATION.MANUAL_CLS_ASSOCIATION_SEQ_NUM as ManualClsAssociationSeqNum,
  MANUAL_CLASS_ASSOCIATION.MANUAL_CLASS_NUM as ManualClassNum,
  MANUAL_CLASS_ASSOCIATION.ASSOCIATED_CLASS_NUM as AssociatedClassNum,
  MANUAL_CLASS_ASSOCIATION.MANUAL_CLASS_ASSOC_CODE as ManualClassAssocCode,
  MANUAL_CLASS_ASSOCIATION.CREATE_DATE as CreateDate,
  MANUAL_CLASS_ASSOCIATION.CREATE_USER as CreateUser,
  MANUAL_CLASS_ASSOCIATION.UPDATE_DATE as UpdateDate,
  MANUAL_CLASS_ASSOCIATION.UPDATE_USER as UpdateUser
From
  MANUAL_CLASS_ASSOCIATION
Where
  MANUAL_CLASS_ASSOCIATION.MANUAL_CLASS_NUM = :ManualClassNum
  AND MANUAL_CLASS_ASSOCIATION.ASSOCIATED_CLASS_NUM = :AssociatedJobClassNum
  AND MANUAL_CLASS_ASSOCIATION.MANUAL_CLASS_ASSOC_CODE = :ManualAssociationTypeCode
```

> **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\clsManualClassAssociation.vb:492-507`