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

# SQL-094: Update policyperiodprepay

Update policyperiodprepay in the context of `clsPolicyPeriodPrepay`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-094 |
| **Operation type** | Update |
| **Execution method** | NonQuery |
| **Database** | Oracle |
| **Command type** | Text |
| **Schema** | [unqualified] |
| **Business object** | `clsPolicyPeriodPrepay` |
| **Criteria property** | `UpdateSQL` |
| **Lifecycle method** | BeforeUpdate / AfterUpdate |

## Parameters

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

## Tables

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

## Sample SQL

```sql
Update PREPAY_POLICY_PERIOD
SET
  POLICY_NUM = :PolicyNumber,
  POLICY_PERIOD_EFF_DATE = :PolicyPeriodEffectiveDate,
  PREPAY_FREQUENCY_CODE = :FrequencyCode,
  CANCEL_DATE = :CancelDate,
  DISCOUNT_AMT = :DiscountAmount,
  CREATE_DATE = :CreateDate,
  CREATE_USER = :CreateUser,
  UPDATE_DATE = :UpdateDate,
  UPDATE_USER = :UpdateUser
WHERE
  PREPAY_POLICY_PERIOD.POLICY_NUM = :PolicyNumber
  AND PREPAY_POLICY_PERIOD.POLICY_PERIOD_EFF_DATE = :PolicyPeriodEffectiveDate
```


> **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`
