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

# SQL-030: Insert policyperiodprepay

Insert policyperiodprepay in the context of `clsPolicyPeriodPrepay`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-030 |
| **Operation type** | Insert |
| **Execution method** | NonQuery |
| **Database** | Oracle |
| **Command type** | Text |
| **Schema** | [unqualified] |
| **Business object** | `clsPolicyPeriodPrepay` |
| **Criteria property** | `InsertSQL` |
| **Lifecycle method** | BeforeInsert / AfterInsert |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:PolicyNumber` | Input | Numeric* | *inferred/unknown* | Bind variable in clsPolicyPeriodPrepay.InsertSQL. |
| `:PolicyPeriodEffectiveDate` | Input | Date | *inferred/unknown* | Bind variable in clsPolicyPeriodPrepay.InsertSQL. |
| `:FrequencyCode` | Input | String* | *inferred/unknown* | Bind variable in clsPolicyPeriodPrepay.InsertSQL. |
| `:CancelDate` | Input | Date | *inferred/unknown* | Bind variable in clsPolicyPeriodPrepay.InsertSQL. |
| `:DiscountAmount` | Input | Numeric* | *inferred/unknown* | Bind variable in clsPolicyPeriodPrepay.InsertSQL. |
| `:CreateDate` | Input | Date | *inferred/unknown* | Bind variable in clsPolicyPeriodPrepay.InsertSQL. |
| `:CreateUser` | Input | String* | *inferred/unknown* | Bind variable in clsPolicyPeriodPrepay.InsertSQL. |
| `:UpdateDate` | Input | Date | *inferred/unknown* | Bind variable in clsPolicyPeriodPrepay.InsertSQL. |
| `:UpdateUser` | Input | Date | *inferred/unknown* | Bind variable in clsPolicyPeriodPrepay.InsertSQL. |

## Tables

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

## Sample SQL

```sql
Insert into PREPAY_POLICY_PERIOD (
  POLICY_NUM,
  POLICY_PERIOD_EFF_DATE,
  PREPAY_FREQUENCY_CODE,
  CANCEL_DATE,
  DISCOUNT_AMT,
  CREATE_DATE,
  CREATE_USER,
  UPDATE_DATE,
  UPDATE_USER
)
VALUES (
  :PolicyNumber,
  :PolicyPeriodEffectiveDate,
  :FrequencyCode,
  :CancelDate,
  :DiscountAmount,
  :CreateDate,
  :CreateUser,
  :UpdateDate,
  :UpdateUser
)
```


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