﻿---
title: mdlCodeTables
summary: API reference for mdlCodeTables.
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Premium
reference_type: package
---

# mdlCodeTables

Module providing static code-table lookup functions for the premium domain, including `GetRatingPlanTypeCodes` and similar methods; retrieves reference data from Oracle for use in premium set creation, rating plan selection, and reporting.*

## Purpose
- Provides static factory and lookup methods for loading premium domain code-table reference data (rating plan types, etc.) from Oracle.*
- Consumed by premium set factory methods and rating plan workflows that need to resolve code-table entries at runtime.*

## Context
- Namespace: `SAIF.Business.Policy.Premium.CodeTables`
- Assembly/package: `SAIF.Business.Policy.Premium`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| GetPlanCode | `Public Function GetPlanCode(ByVal inDPI As IDataPortalInfo, Optional ByVal inRefresh As Boolean = False) As clsPlanCodes` | Loads a mdl code tables for the supplied lookup criteria. |
## Behavioral notes
- Source file: `Business\SAIF.Business.Policy.Premium\mdlCodeTables.vb`.

## Constraints and usage notes
- All lookup methods require a valid `IDataPortalInfo` instance; they delegate to Oracle via the BOF data portal.*


> **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\mdlCodeTables.vb`