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

# SQL-029: Insert paymentplantype collection

Insert paymentplantype collection in the context of `clsPaymentPlanTypeCollection`.

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:Code` | Input | String* | *inferred/unknown* | Bind variable in clsPaymentPlanTypeCollection.InsertSQL. |
| `:CodeDescr` | Input | String* | *inferred/unknown* | Bind variable in clsPaymentPlanTypeCollection.InsertSQL. |
| `:MarketTypeCode` | Input | String* | *inferred/unknown* | Bind variable in clsPaymentPlanTypeCollection.InsertSQL. |
| `:PolicyRenewalTrackCode` | Input | String* | *inferred/unknown* | Bind variable in clsPaymentPlanTypeCollection.InsertSQL. |
| `:PayrollReportScheduleFlag` | Input | String (Y/N)* | *inferred/unknown* | Bind variable in clsPaymentPlanTypeCollection.InsertSQL. |
| `:GenerateBillingCode` | Input | Numeric* | *inferred/unknown* | Bind variable in clsPaymentPlanTypeCollection.InsertSQL. |
| `:CreateDate` | Input | Date | *inferred/unknown* | Bind variable in clsPaymentPlanTypeCollection.InsertSQL. |
| `:CreateUser` | Input | String* | *inferred/unknown* | Bind variable in clsPaymentPlanTypeCollection.InsertSQL. |
| `:UpdateDate` | Input | Date | *inferred/unknown* | Bind variable in clsPaymentPlanTypeCollection.InsertSQL. |
| `:UpdateUser` | Input | Date | *inferred/unknown* | Bind variable in clsPaymentPlanTypeCollection.InsertSQL. |
| `:AuditTypeCode` | Input | String* | *inferred/unknown* | Bind variable in clsPaymentPlanTypeCollection.InsertSQL. |
| `:AdjustedRateCalculationFlag` | Input | String (Y/N)* | *inferred/unknown* | Bind variable in clsPaymentPlanTypeCollection.InsertSQL. |
| `:NewPolicyPeriodDefaultFlag` | Input | String (Y/N)* | *inferred/unknown* | Bind variable in clsPaymentPlanTypeCollection.InsertSQL. |
| `:AdjustedRateStyleRecapFlag` | Input | String (Y/N)* | *inferred/unknown* | Bind variable in clsPaymentPlanTypeCollection.InsertSQL. |
| `:DisplayOrderNum` | Input | Numeric* | *inferred/unknown* | Bind variable in clsPaymentPlanTypeCollection.InsertSQL. |
| `:PayrollBYClassFlag` | Input | String (Y/N)* | *inferred/unknown* | Bind variable in clsPaymentPlanTypeCollection.InsertSQL. |
| `:PaymentRequiredFlag` | Input | String (Y/N)* | *inferred/unknown* | Bind variable in clsPaymentPlanTypeCollection.InsertSQL. |
| `:CreatePftCode` | Input | String* | *inferred/unknown* | Bind variable in clsPaymentPlanTypeCollection.InsertSQL. |

## Tables

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

## Sample SQL

```sql
Insert into PAYMENT_PLAN_TYPE_CODE (
  CODE,
  CODE_DESCR,
  MARKET_TYPE_CODE,
  POLICY_RENEWAL_TRACK_CODE,
  PAYROLL_REPORT_SCHEDULE_FLAG,
  GENERATE_BILLING_CODE,
  CREATE_DATE,
  CREATE_USER,
  UPDATE_DATE,
  UPDATE_USER,
  AUDIT_TYPE_CODE,
  ADJUSTED_RATE_CALCULATION_FLAG,
  NEW_POLICY_PERIOD_DEFAULT_FLAG,
  ADJUSTED_RATE_STYLE_RECAP_FLAG,
  DISPLAY_ORDER_NUM,
  PAYROLL_BY_CLASS_FLAG,
  PAYMENT_REQUIRED_FLAG,
  CREATE_PFT_CODE
)
VALUES (
  :Code,
  :CodeDescr,
  :MarketTypeCode,
  :PolicyRenewalTrackCode,
  :PayrollReportScheduleFlag,
  :GenerateBillingCode,
  :CreateDate,
  :CreateUser,
  :UpdateDate,
  :UpdateUser,
  :AuditTypeCode,
  :AdjustedRateCalculationFlag,
  :NewPolicyPeriodDefaultFlag,
  :AdjustedRateStyleRecapFlag,
  :DisplayOrderNum,
  :PayrollBYClassFlag,
  :PaymentRequiredFlag,
  :CreatePftCode
)
```


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