Skip to content

SQL-090: Retrieve policy period employer liability limits collection

Retrieve policy period employer liability limits collection in the context of clsPolicyPeriodEmployerLiabilityLimitsCollection.

Classification

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

Parameters

Parameter Direction Type Max length Description
:PolicyNum Input bound from MyCriteria.PolicyNum - Bound in clsPolicyPeriodEmployerLiabilityLimitsCollection.BeforeRetrieve (line 233)
:PolicyPeriodEffDate Input bound from MyCriteria.PolicyPeriodEffectiveDate - Bound in clsPolicyPeriodEmployerLiabilityLimitsCollection.BeforeRetrieve (line 234)

Tables

Table Access Columns used
POLICY_PERIOD_EMP_LIAB SELECT See sample SQL

Sample SQL

SELECT
  POLICY_PERIOD_EMP_LIAB.POLICY_NUM as PolicyNum,
  POLICY_PERIOD_EMP_LIAB.POLICY_PERIOD_EFF_DATE as PolicyPeriodEffDate,
  POLICY_PERIOD_EMP_LIAB.EMP_LIAB_STAT_CODE as EmpLiabStatCode,
  POLICY_PERIOD_EMP_LIAB.PREM_ADJUSTMENT_EFF_DATE as PremAdjustmentEffDate,
  POLICY_PERIOD_EMP_LIAB.PREM_ADJUSTMENT_EXP_DATE as PremAdjustmentExpDate
FROM
  POLICY_PERIOD_EMP_LIAB
WHERE
  POLICY_PERIOD_EMP_LIAB.POLICY_NUM = :PolicyNum
  AND POLICY_PERIOD_EMP_LIAB.POLICY_PERIOD_EFF_DATE = :PolicyPeriodEffDate

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