Skip to content

SQL-075: Retrieve premiumsummaryadjustment collection

Retrieve premiumsummaryadjustment collection in the context of clsPremiumSummaryAdjustmentCollection.

Classification

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

Parameters

Parameter Direction Type Max length Description
None — — — No parameters.

Tables

Table Access Columns used
PREM_HIST_PREM_SUMMARY SELECT See sample SQL
PREM_RATING_RULE_PRIORITY SELECT See sample SQL

Sample SQL

SELECT
  PHPS.POLICY_NUM as PolicyNumber,
  PHPS.POLICY_PERIOD_EFF_DATE as PolicyPeriodEffectiveDate,
  PHPS.PREM_HIST_SET_ID as PremiumSetID,
  PHPS.PRIORITY_NUM as PriorityNumber,
  PHPS.PREM_ADJUSTMENT_TYPE_CODE as PremiumAdjustmentTypeCode,
  PHPS.RATING_RULE_MASTER_ID as RatingRuleMasterID,
  PHPS.PREM_SUMMARY_EFF_DATE as EffectiveDate,
  PHPS.PREM_SUMMARY_EXP_DATE as ExpirationDate,
  PHPS.PREM_SUMMARY_ADJUSTMENT as Adjustment,
  round(PHPS.PREM_SUMMARY_BASE_AMOUNT,2) as BaseAmount,
  PHPS.PREM_SUMMARY_DIFF_AMOUNT as DifferenceAmount,
  PHPS.DCBS_DIFF_AMT as DCBSDifferenceAmount
FROM PREM_HIST_PREM_SUMMARY PHPS
JOIN PREM_RATING_RULE_PRIORITY PRRP on PHPS.rating_rule_master_id = PRRP.rating_rule_master_id

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/clsPremiumSummaryAdjustmentCollection.vb