---
title: "SQL-024: Insert cancellation warning"
summary: "Insert cancellation warning"
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Core
reference_type: package
---

# SQL-024: Insert cancellation warning

Insert cancellation warning in the context of `clsCancellationWarning`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-024 |
| **Operation type** | Insert |
| **Execution method** | IDataRequest.SQLStatement (CommandType.Text) |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsCancellationWarning` |
| **Criteria property** | `InsertSQL` |
| **Lifecycle method** | `BeforeInsert / AfterInsert` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:BatchProcessedFlag` | Input | bound from `BatchProcessedFlag` | 1 | Bound in `clsCancellationWarning.BeforeInsert` (line 563) |
| `:CancellationSeqNum` | Input | bound from `CancellationSeqNum` | - | Bound in `clsCancellationWarning.BeforeInsert` (line 564) |
| `:PolicyNum` | Input | bound from `PolicyNumber` | - | Bound in `clsCancellationWarning.BeforeInsert` (line 278) |
| `:CancelDate` | Input | bound from `m_CancelDate` | - | Bound in `clsCancellationWarning.BeforeInsert` (line 568) |
| `:CancelUser` | Input | bound from `m_CancelUser` | 30 | Bound in `clsCancellationWarning.BeforeInsert` (line 569) |
| `:NoticeOFIntentDate` | Input | bound from `m_NoticeOfIntentDate` | - | Bound in `clsCancellationWarning.BeforeInsert` (line 570) |
| `:NoticeOFIntentUser` | Input | bound from `m_NoticeOfIntentUser` | 30 | Bound in `clsCancellationWarning.BeforeInsert` (line 571) |
| `:ReinstateReasonCode` | Input | bound from `m_ReinstateReasonCode` | 5 | Bound in `clsCancellationWarning.BeforeInsert` (line 572) |
| `:CancelReasonCode` | Input | bound from `m_CancelReasonCode` | 5 | Bound in `clsCancellationWarning.BeforeInsert` (line 573) |
| `:RescindDate` | Input | bound from `m_RescindDate` | - | Bound in `clsCancellationWarning.BeforeInsert` (line 574) |
| `:RescindUser` | Input | bound from `m_RescindUser` | 30 | Bound in `clsCancellationWarning.BeforeInsert` (line 575) |
| `:ReinstateDate` | Input | bound from `m_ReinstateDate` | - | Bound in `clsCancellationWarning.BeforeInsert` (line 576) |
| `:ReinstateUser` | Input | bound from `m_ReinstateUser` | 30 | Bound in `clsCancellationWarning.BeforeInsert` (line 577) |
| `:ReinstatementFeeFlag` | Input | bound from `m_ReinstatementFeeFlag` | 1 | Bound in `clsCancellationWarning.BeforeInsert` (line 578) |
| `:CreateDate` | Input | bound from `CreateDate` | - | Bound in `clsCancellationWarning.BeforeInsert` (line 566) |
| `:CreateUser` | Input | bound from `CreateUser` | 30 | Bound in `clsCancellationWarning.BeforeInsert` (line 567) |
| `:UpdateUser` | Input | bound from `m_UpdateUser` | 30 | Bound in `clsCancellationWarning.BeforeInsert` (line 579) |
| `:RescindUpdateDate` | Input | bound from `m_RescindUpdateDate` | - | Bound in `clsCancellationWarning.BeforeInsert` (line 580) |
| `:CancelUpdateDate` | Input | bound from `m_CancelUpdateDate` | - | Bound in `clsCancellationWarning.BeforeInsert` (line 581) |
| `:ReinstateUpdateDate` | Input | bound from `m_ReinstateUpdateDate` | - | Bound in `clsCancellationWarning.BeforeInsert` (line 582) |
| `:NoticeOFIntentUpdateDate` | Input | bound from `m_NoticeOfIntentUpdateDate` | - | Bound in `clsCancellationWarning.BeforeInsert` (line 583) |
| `:FuturePlpStatusCode` | Input | bound from `m_FuturePLPStatusCode` | 5 | Bound in `clsCancellationWarning.BeforeInsert` (line 584) |
| `:CancelRequestorName` | Input | bound from `m_CancelRequestorName` | 50 | Bound in `clsCancellationWarning.BeforeInsert` (line 585) |
| `:CancelRequestMethodCode` | Input | bound from `m_CancelRequestMethodCode` | 5 | Bound in `clsCancellationWarning.BeforeInsert` (line 586) |
| `:RequestDate` | Input | bound from `m_RequestDate` | - | Bound in `clsCancellationWarning.BeforeInsert` (line 587) |
| `:ShortRateFlag` | Input | bound from `m_ShortRateFlag` | 1 | Bound in `clsCancellationWarning.BeforeInsert` (line 588) |
| `:UpdateDate` | Input | bound from `m_UpdateDate` | - | Bound in `clsCancellationWarning.BeforeInsert` (line 589) |
| `:CarrierCode` | Input | bound from `m_CarrierCode` | 5 | Bound in `clsCancellationWarning.BeforeInsert` (line 590) |
| `:ReinstateRequestDate` | Input | bound from `m_ReinstateRequestDate` | - | Bound in `clsCancellationWarning.BeforeInsert` (line 591) |
| `:PremHistSetID` | Input | unknown | - | Bind variable present in SQL text; no matching `AddParm` located - unknown** |
| `:PolicyMemoSeqNum` | Input | bound from `m_PolicyMemoSeqNum` | - | Bound in `clsCancellationWarning.BeforeInsert` (line 593) |
| `:NoticeOFReminderDate` | Input | bound from `m_NoticeOfReminderDate` | - | Bound in `clsCancellationWarning.BeforeInsert` (line 594) |
| `:CancellationTrackCode` | Input | bound from `m_CancellationTrackCode` | 5 | Bound in `clsCancellationWarning.BeforeInsert` (line 595) |

## Tables

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

## Sample SQL

```sql
INSERT INTO
  CANCELLATION
  (
    BATCH_PROCESSED_FLAG,
    CANCELLATION_SEQ_NUM,
    POLICY_NUM,
    CANCEL_DATE,
    CANCEL_USER,
    NOTICE_OF_INTENT_DATE,
    NOTICE_OF_INTENT_USER,
    REINSTATE_REASON_CODE,
    CANCEL_REASON_CODE,
    RESCIND_DATE,
    RESCIND_USER,
    REINSTATE_DATE,
    REINSTATE_USER,
    REINSTATEMENT_FEE_FLAG,
    CREATE_DATE,
    CREATE_USER,
    UPDATE_USER,
    RESCIND_UPDATE_DATE,
    CANCEL_UPDATE_DATE,
    REINSTATE_UPDATE_DATE,
    NOTICE_OF_INTENT_UPDATE_DATE,
    FUTURE_PLP_STATUS_CODE,
    CANCEL_REQUESTOR_NAME,
    CANCEL_REQUEST_METHOD_CODE,
    REQUEST_DATE,
    SHORT_RATE_FLAG,
    UPDATE_DATE,
    CARRIER_CODE,
    REINSTATE_REQUEST_DATE,
    PREM_HIST_SET_ID,
    POLICY_MEMO_SEQ_NUM,
    NOTICE_OF_REMINDER_DATE,
    CANCELLATION_TRACK_CODE
  )
VALUES
  (
    :BatchProcessedFlag,
    :CancellationSeqNum,
    :PolicyNum,
    :CancelDate,
    :CancelUser,
    :NoticeOFIntentDate,
    :NoticeOFIntentUser,
    :ReinstateReasonCode,
    :CancelReasonCode,
    :RescindDate,
    :RescindUser,
    :ReinstateDate,
    :ReinstateUser,
    :ReinstatementFeeFlag,
    :CreateDate,
    :CreateUser,
    :UpdateUser,
    :RescindUpdateDate,
    :CancelUpdateDate,
    :ReinstateUpdateDate,
    :NoticeOFIntentUpdateDate,
    :FuturePlpStatusCode,
    :CancelRequestorName,
    :CancelRequestMethodCode,
    :RequestDate,
    :ShortRateFlag,
    :UpdateDate,
    :CarrierCode,
    :ReinstateRequestDate,
    :PremHistSetID,
    :PolicyMemoSeqNum,
    :NoticeOFReminderDate,
    :CancellationTrackCode
  )
```

## Operations and processes
- [Record a cancellation reason override](../operations/record-a-cancellation-reason-override.md)

## Business rules
- [BR-033: New sequence values for writable entities are obtained](../business-rules.md#br-033-new-sequence-values-for-writable-entities-are-obtained)

> **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.Core\clsCancellationWarning.vb`
