Skip to content

SQL-133: Update policy period employer liability limits collection

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

Classification

Field Value
SQL ID SQL-133
Operation type Update
Execution method IDataRequest.SQLStatement (CommandType.Text)
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsPolicyPeriodEmployerLiabilityLimitsCollection
Criteria property UpdateSQL
Lifecycle method BeforeUpdate / AfterUpdate

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)
:EmpLiabStatCode Input bound from StatCode 6 Bound in clsPolicyPeriodEmployerLiabilityLimitsCollection.BeforeUpdate (line 342)
:PremAdjustmentEffDate Input bound from EffectiveDate - Bound in clsPolicyPeriodEmployerLiabilityLimitsCollection.BeforeUpdate (line 343)
:PremAdjustmentExpDate Input bound from m_PremAdjustmentExpDate - Bound in clsPolicyPeriodEmployerLiabilityLimitsCollection.BeforeUpdate (line 344)

Tables

Table Access Columns used
POLICY_PERIOD_EMP_LIAB UPDATE See sample SQL

Sample SQL

UPDATE
  POLICY_PERIOD_EMP_LIAB
SET
  POLICY_NUM = :PolicyNum,
  POLICY_PERIOD_EFF_DATE = :PolicyPeriodEffDate,
  EMP_LIAB_STAT_CODE = :EmpLiabStatCode,
  PREM_ADJUSTMENT_EFF_DATE = :PremAdjustmentEffDate,
  PREM_ADJUSTMENT_EXP_DATE = :PremAdjustmentExpDate
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