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

# SQL-023: Insert losscontrolpolicyserviceplan

Insert losscontrolpolicyserviceplan in the context of `clsLossControlPolicyServicePlan`.

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:PolicyNumber` | Input | Numeric* | *inferred/unknown* | Bind variable in clsLossControlPolicyServicePlan.InsertSQL. |
| `:EffectiveDate` | Input | Date | *inferred/unknown* | Bind variable in clsLossControlPolicyServicePlan.InsertSQL. |
| `:ExpirationDate` | Input | Date | *inferred/unknown* | Bind variable in clsLossControlPolicyServicePlan.InsertSQL. |
| `:LossControlServicePlanCode` | Input | String* | *inferred/unknown* | Bind variable in clsLossControlPolicyServicePlan.InsertSQL. |
| `:CreateUser` | Input | String* | *inferred/unknown* | Bind variable in clsLossControlPolicyServicePlan.InsertSQL. |
| `:CreatedDate` | Input | Date | *inferred/unknown* | Bind variable in clsLossControlPolicyServicePlan.InsertSQL. |
| `:UpdateUser` | Input | Date | *inferred/unknown* | Bind variable in clsLossControlPolicyServicePlan.InsertSQL. |
| `:UpdateDate` | Input | Date | *inferred/unknown* | Bind variable in clsLossControlPolicyServicePlan.InsertSQL. |

## Tables

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

## Sample SQL

```sql
Insert into LC_POLICY_SERVICE_PLAN (
  POLICY_NUM,
  EFF_DATE,
  EXP_DATE,
  LC_SERVICE_PLAN_CODE,
  CREATE_USER,
  CREATED_DATE,
  UPDATE_USER,
  UPDATE_DATE
)
VALUES (
  :PolicyNumber,
  :EffectiveDate,
  :ExpirationDate,
  :LossControlServicePlanCode,
  :CreateUser,
  :CreatedDate,
  :UpdateUser,
  :UpdateDate
)
```


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