Skip to content

SQL-091: Retrieve policy period master

Retrieve policy period master in the context of clsPolicyPeriodMaster.

Classification

Field Value
SQL ID SQL-091
Operation type Read
Execution method IDataRequest.SQLStatement (CommandType.Text)
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsPolicyPeriodMaster
Criteria property RetrieveSQL
Lifecycle method BeforeRetrieve / AfterRetrieve

Parameters

Parameter Direction Type Max length Description
:PolicyNumber Input bound from MyCriteria.PolicyNumber - Bound in clsPolicyPeriodMaster.BeforeRetrieve (line 172)
:EffectiveDate Input bound from MyCriteria.EffectiveDate - Bound in clsPolicyPeriodMaster.BeforeRetrieve (line 173)

Tables

Table Access Columns used
POLICY_PERIOD_MASTER SELECT See sample SQL

Sample SQL

SELECT
  POLICY_PERIOD_MASTER.POLICY_NUM as PolicyNumber,
  POLICY_PERIOD_MASTER.POLICY_PERIOD_EFF_DATE as EffectiveDate,
  POLICY_PERIOD_MASTER.SOURCE_SYSTEM as SourceSystem,
  POLICY_PERIOD_MASTER.POLICY_SFX as PolicySuffix,
  POLICY_PERIOD_MASTER.CANCEL_DATE as CancelDate,
  POLICY_PERIOD_MASTER.LEGACY_WRITEOFF_PREMIUM_AMT as LegacyWriteoffPremiumAmount,
  POLICY_PERIOD_MASTER.LEGACY_WRITEOFF_ASSESSMENT_AMT as LegacyWriteoffAssessmentAmount,
  POLICY_PERIOD_MASTER.LEGACY_WRITEOFF_COURT_AMT as LegacyWriteoffCourtAmount
FROM
  POLICY_PERIOD_MASTER
WHERE
  POLICY_PERIOD_MASTER.POLICY_NUM = :PolicyNumber
  AND POLICY_PERIOD_MASTER.POLICY_PERIOD_EFF_DATE = :EffectiveDate

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