SQL-061: Retrieve policyperiodratingplan
Retrieve policyperiodratingplan in the context of clsPolicyPeriodRatingPlan.
Classification
Field
Value
SQL ID
SQL-061
Operation type
Read
Execution method
Reader/Scalar
Database
Oracle
Command type
Text
Schema
N/A — accessed via DB link @POLDB (Policy database)
Business object
clsPolicyPeriodRatingPlan
Criteria property
RetrieveSQL
Lifecycle method
BeforeRetrieve / AfterRetrieve
Parameters
Parameter
Direction
Type
Max length
Description
:PolicyNumber
Input
Numeric*
inferred/unknown
Bind variable in clsPolicyPeriodRatingPlan.RetrieveSQL.
:PolicyPeriodEffectiveDate
Input
Date
inferred/unknown
Bind variable in clsPolicyPeriodRatingPlan.RetrieveSQL.
:RatingPlanEffectiveDate
Input
Date
inferred/unknown
Bind variable in clsPolicyPeriodRatingPlan.RetrieveSQL.
Tables
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
AND rating_plan_eff_date = : RatingPlanEffectiveDate
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/clsPolicyPeriodRatingPlan.vb