Skip to content

SQL-059: Retrieve policyperiodrateadjustment

Retrieve policyperiodrateadjustment in the context of clsPolicyPeriodRateAdjustment.

Classification

Field Value
SQL ID SQL-059
Operation type Read
Execution method Reader/Scalar
Database Oracle
Command type Text
Schema N/A — accessed via DB link @POLDB (Policy database)
Business object clsPolicyPeriodRateAdjustment
Criteria property RetrieveSQL
Lifecycle method BeforeRetrieve / AfterRetrieve

Parameters

Parameter Direction Type Max length Description
:PremiumSetID Input Numeric* inferred/unknown Bind variable in clsPolicyPeriodRateAdjustment.RetrieveSQL.
:PremiumAdjustmentTypeCode Input String* inferred/unknown Bind variable in clsPolicyPeriodRateAdjustment.RetrieveSQL.
:EffectiveDate Input Date inferred/unknown Bind variable in clsPolicyPeriodRateAdjustment.RetrieveSQL.

Tables

Table Access Columns used
PREM_HIST_PREM_ADJUSTMENT SELECT See sample SQL

Sample SQL

SELECT
  PHPA.POLICY_NUM as PolicyNumber,
  PHPA.POLICY_PERIOD_EFF_DATE as PolicyPeriodEffectiveDate,
  PHPA.PREM_HIST_SET_ID as PremiumSetID,
  PHPA.RATING_RULE_MASTER_ID as RatingRuleMasterID,
  PHPA.PREM_ADJUSTMENT_TYPE_CODE as PremiumAdjustmentTypeCode,
  PHPA.PREM_ADJUSTMENT_EFF_DATE as EffectiveDate,
  PHPA.NCCI_STAT_CODE as NCCIStatCode,
  PHPA.PREM_ADJUSTMENT_EXP_DATE as ExpirationDate,
  PHPA.PREM_ADJUSTMENT as AdjustmentValue
FROM PREM_HIST_PREM_ADJUSTMENT
WHERE
  PHPA.PREM_HIST_SET_ID = :PremiumSetID
  AND PHPA.PREM_ADJUSTMENT_TYPE_CODE = :PremiumAdjustmentTypeCode
  AND PHPA.PREM_ADJUSTMENT_EFF_DATE <= :EffectiveDate
  AND PHPA.PREM_ADJUSTMENT_EXP_DATE > :EffectiveDate

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.Premium/clsPolicyPeriodRateAdjustment.vb