Skip to content

SQL-062: Retrieve policyperiodratingplan collection

Retrieve policyperiodratingplan collection in the context of clsPolicyPeriodRatingPlanCollection.

Classification

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

Parameters

Parameter Direction Type Max length Description
:PolicyNumber Input Numeric* inferred/unknown Bind variable in clsPolicyPeriodRatingPlanCollection.RetrieveSQL.
:PolicyPeriodEffectiveDate Input Date inferred/unknown Bind variable in clsPolicyPeriodRatingPlanCollection.RetrieveSQL.

Tables

Table Access Columns used
POLICY_PERIOD_RATING_PLAN SELECT See sample SQL

Sample SQL

SELECT
  POLICY_NUM as PolicyNumber,
  POLICY_PERIOD_EFF_DATE as PolicyPeriodEffectiveDate,
  RATING_PLAN_EFF_DATE as RatingPlanEffectiveDate,
  RATING_PLAN_EXP_DATE as RatingPlanExpirationDate,
  RATING_PLAN_CODE as RatingPlanCode,
  RATING_PLAN_TYPE_CODE as RatingPlanTypeCode,
  RATING_PLAN_IMP_REASON_CODE as RatingPlanImpReasonCode,
  RATING_PLAN_FACTOR as RatingPlanFactor,
  SARAP_FACTOR as SARAPFactor,
  CREATE_DATE as CreateDate,
  CREATE_USER as CreateUser,
  UPDATE_DATE as UpdateDate,
  UPDATE_USER as UpdateUser
FROM POLICY_PERIOD_RATING_PLAN
WHERE
  POLICY_NUM = :PolicyNumber
  AND POLICY_PERIOD_EFF_DATE = :PolicyPeriodEffectiveDate

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