﻿---
title: "SQL-031: Insert policyperiodrateadjustment"
summary: Insert policyperiodrateadjustment
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Premium
reference_type: package
---

# SQL-031: Insert policyperiodrateadjustment

Insert policyperiodrateadjustment in the context of `clsPolicyPeriodRateAdjustment`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-031 |
| **Operation type** | Insert |
| **Execution method** | NonQuery |
| **Database** | Oracle |
| **Command type** | Text |
| **Schema** | N/A — accessed via DB link @POLDB (Policy database) |
| **Business object** | `clsPolicyPeriodRateAdjustment` |
| **Criteria property** | `InsertSQL` |
| **Lifecycle method** | BeforeInsert / AfterInsert |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:PolicyNumber` | Input | Numeric* | *inferred/unknown* | Bind variable in clsPolicyPeriodRateAdjustment.InsertSQL. |
| `:PolicyPeriodEffectiveDate` | Input | Date | *inferred/unknown* | Bind variable in clsPolicyPeriodRateAdjustment.InsertSQL. |
| `:PremiumSetID` | Input | Numeric* | *inferred/unknown* | Bind variable in clsPolicyPeriodRateAdjustment.InsertSQL. |
| `:RatingRuleMasterID` | Input | Numeric* | *inferred/unknown* | Bind variable in clsPolicyPeriodRateAdjustment.InsertSQL. |
| `:PremiumAdjustmentTypeCode` | Input | String* | *inferred/unknown* | Bind variable in clsPolicyPeriodRateAdjustment.InsertSQL. |
| `:EffectiveDate` | Input | Date | *inferred/unknown* | Bind variable in clsPolicyPeriodRateAdjustment.InsertSQL. |
| `:NCCIStatCode` | Input | String* | *inferred/unknown* | Bind variable in clsPolicyPeriodRateAdjustment.InsertSQL. |
| `:ExpirationDate` | Input | Date | *inferred/unknown* | Bind variable in clsPolicyPeriodRateAdjustment.InsertSQL. |
| `:AdjustmentValue` | Input | Unknown* | *inferred/unknown* | Bind variable in clsPolicyPeriodRateAdjustment.InsertSQL. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [PREM_HIST_PREM_ADJUSTMENT](../database-tables.md#prem_hist_prem_adjustment) | INSERT | See sample SQL |

## Sample SQL

```sql
Insert into PREM_HIST_PREM_ADJUSTMENT (
  POLICY_NUM,
  POLICY_PERIOD_EFF_DATE,
  PREM_HIST_SET_ID,
  RATING_RULE_MASTER_ID,
  PREM_ADJUSTMENT_TYPE_CODE,
  PREM_ADJUSTMENT_EFF_DATE,
  NCCI_STAT_CODE,
  PREM_ADJUSTMENT_EXP_DATE,
  PREM_ADJUSTMENT)
Values (
  :PolicyNumber,
  :PolicyPeriodEffectiveDate,
  :PremiumSetID,
  :RatingRuleMasterID,
  :PremiumAdjustmentTypeCode,
  :EffectiveDate,
  :NCCIStatCode,
  :ExpirationDate,
  :AdjustmentValue)
```


> **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/clsPolicyPeriodRateAdjustment.vb`
