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

# SQL-105: Delete paymentplan

Delete paymentplan in the context of `clsPaymentPlan`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-105 |
| **Operation type** | Delete |
| **Execution method** | NonQuery |
| **Database** | Oracle |
| **Command type** | Text |
| **Schema** | [unqualified] |
| **Business object** | `clsPaymentPlan` |
| **Criteria property** | `DeleteSQL` |
| **Lifecycle method** | BeforeDelete / AfterDelete |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:PolicyNumber` | Input | Numeric* | *inferred/unknown* | Bind variable in clsPaymentPlan.DeleteSQL. |
| `:PolicyPeriodEffectiveDate` | Input | Date | *inferred/unknown* | Bind variable in clsPaymentPlan.DeleteSQL. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [BILLING_MASTER](../database-tables.md#billing_master) | DELETE | See sample SQL |

## Sample SQL

```sql
Delete BILLING_MASTER
WHERE
  BILLING_MASTER.POLICY_NUM = :PolicyNumber
  AND BILLING_MASTER.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/clsPaymentPlan.vb`
