---
title: "SQL-033: Insert policy period master"
summary: "Insert policy period master"
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Core
reference_type: package
---

# SQL-033: Insert policy period master

Insert policy period master in the context of `clsPolicyPeriodMaster`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-033 |
| **Operation type** | Insert |
| **Execution method** | IDataRequest.SQLStatement (CommandType.Text) |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsPolicyPeriodMaster` |
| **Criteria property** | `InsertSQL` |
| **Lifecycle method** | `BeforeInsert / AfterInsert` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:PolicyNumber` | Input | bound from `PolicyNumber` | - | Bound in `clsPolicyPeriodMaster.BeforeInsert` (line 197) |
| `:EffectiveDate` | Input | bound from `EffectiveDate` | - | Bound in `clsPolicyPeriodMaster.BeforeInsert` (line 198) |
| `:SourceSystem` | Input | bound from `SourceSystem` | 4 | Bound in `clsPolicyPeriodMaster.BeforeInsert` (line 199) |
| `:PolicySuffix` | Input | bound from `m_PolicySuffix` | 3 | Bound in `clsPolicyPeriodMaster.BeforeInsert` (line 200) |
| `:CancelDate` | Input | bound from `m_CancelDate` | - | Bound in `clsPolicyPeriodMaster.BeforeInsert` (line 201) |
| `:LegacyWriteoffPremiumAmount` | Input | bound from `m_LegacyWriteoffPremiumAmount` | - | Bound in `clsPolicyPeriodMaster.BeforeInsert` (line 202) |
| `:LegacyWriteoffAssessmentAmount` | Input | bound from `m_LegacyWriteoffAssessmentAmount` | - | Bound in `clsPolicyPeriodMaster.BeforeInsert` (line 203) |
| `:LegacyWriteoffCourtAmount` | Input | bound from `m_LegacyWriteoffCourtAmount` | - | Bound in `clsPolicyPeriodMaster.BeforeInsert` (line 204) |

## Tables

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

## Sample SQL

```sql
INSERT INTO
  POLICY_PERIOD_MASTER
  (
    POLICY_NUM,
    POLICY_PERIOD_EFF_DATE,
    SOURCE_SYSTEM,
    POLICY_SFX,
    CANCEL_DATE,
    LEGACY_WRITEOFF_PREMIUM_AMT,
    LEGACY_WRITEOFF_ASSESSMENT_AMT,
    LEGACY_WRITEOFF_COURT_AMT
  )
VALUES
  (
    :PolicyNumber,
    :EffectiveDate,
    :SourceSystem,
    :PolicySuffix,
    :CancelDate,
    :LegacyWriteoffPremiumAmount,
    :LegacyWriteoffAssessmentAmount,
    :LegacyWriteoffCourtAmount
  )
```

## Operations and processes
- [Build a unified policy period timeline](../operations/build-a-unified-policy-period-timeline.md)

## Business rules
- [BR-010: A policy's period history is the union of](../business-rules.md#br-010-a-policys-period-history-is-the-union-of)

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