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

# SQL-087: Update losscontrolpolicyserviceplan

Update losscontrolpolicyserviceplan in the context of `clsLossControlPolicyServicePlan`.

## Classification

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

## Parameters

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

## Tables

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

## Sample SQL

```sql
Update LC_POLICY_SERVICE_PLAN
SET
  POLICY_NUM = :PolicyNumber,
  EFF_DATE = :EffectiveDate,
  EXP_DATE = :ExpirationDate,
  LC_SERVICE_PLAN_CODE = :LossControlServicePlanCode,
  CREATE_USER = :CreateUser,
  CREATED_DATE = :CreatedDate,
  UPDATE_USER = :UpdateUser,
  UPDATE_DATE = :UpdateDate
WHERE
  LC_POLICY_SERVICE_PLAN.POLICY_NUM = :PolicyNumber
  AND LC_POLICY_SERVICE_PLAN.EFF_DATE = :EffectiveDate
```


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