Skip to content

SQL-033: Insert policy period master

Insert policy period master in the context of clsPolicyPeriodMaster.

Classification

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

Parameters

Parameter Direction Type Max length Description
:PolicyNumber Input bound from PolicyNumber - Bound in clsPolicyPeriodMaster.BeforeInsert (line 197)
:EffectiveDate Input bound from EffectiveDate - Bound in clsPolicyPeriodMaster.BeforeInsert (line 198)
:SourceSystem Input bound from SourceSystem 4 Bound in clsPolicyPeriodMaster.BeforeInsert (line 199)
:PolicySuffix Input bound from m_PolicySuffix 3 Bound in clsPolicyPeriodMaster.BeforeInsert (line 200)
:CancelDate Input bound from m_CancelDate - Bound in clsPolicyPeriodMaster.BeforeInsert (line 201)
:LegacyWriteoffPremiumAmount Input bound from m_LegacyWriteoffPremiumAmount - Bound in clsPolicyPeriodMaster.BeforeInsert (line 202)
:LegacyWriteoffAssessmentAmount Input bound from m_LegacyWriteoffAssessmentAmount - Bound in clsPolicyPeriodMaster.BeforeInsert (line 203)
:LegacyWriteoffCourtAmount Input bound from m_LegacyWriteoffCourtAmount - Bound in clsPolicyPeriodMaster.BeforeInsert (line 204)

Tables

Table Access Columns used
POLICY_PERIOD_MASTER INSERT See sample SQL

Sample SQL

INSERT INTO
  POLICY_PERIOD_MASTER
  (
    POLICY_NUM,
    POLICY_PERIOD_EFF_DATE,
    SOURCE_SYSTEM,
    POLICY_SFX,
    CANCEL_DATE,
    LEGACY_WRITEOFF_PREMIUM_AMT,
    LEGACY_WRITEOFF_ASSESSMENT_AMT,
    LEGACY_WRITEOFF_COURT_AMT
  )
VALUES
  (
    :PolicyNumber,
    :EffectiveDate,
    :SourceSystem,
    :PolicySuffix,
    :CancelDate,
    :LegacyWriteoffPremiumAmount,
    :LegacyWriteoffAssessmentAmount,
    :LegacyWriteoffCourtAmount
  )

Operations and processes

Business rules

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\clsPolicyPeriodMaster.vb