SQL-063: Retrieve policyrenewalratingplan
Retrieve policyrenewalratingplan in the context of clsPolicyRenewalRatingPlan.
Classification
Field
Value
SQL ID
SQL-063
Operation type
Read
Execution method
Reader/Scalar
Database
Oracle
Command type
Text
Schema
[unqualified]
Business object
clsPolicyRenewalRatingPlan
Criteria property
RetrieveSQL
Lifecycle method
BeforeRetrieve / AfterRetrieve
Parameters
Parameter
Direction
Type
Max length
Description
:PolicyNumber
Input
Numeric*
inferred/unknown
Bind variable in clsPolicyRenewalRatingPlan.RetrieveSQL.
:EffectiveDate
Input
Date
inferred/unknown
Bind variable in clsPolicyRenewalRatingPlan.RetrieveSQL.
Tables
Sample SQL
SELECT
POLICY_RENEWAL_RATING_PLAN . POLICY_NUM as PolicyNumber ,
POLICY_RENEWAL_RATING_PLAN . RATING_PLAN_EFF_DATE as EffectiveDate ,
POLICY_RENEWAL_RATING_PLAN . RATING_PLAN_EXP_DATE as ExpirationDate ,
POLICY_RENEWAL_RATING_PLAN . RATING_PLAN_CODE as Code ,
POLICY_RENEWAL_RATING_PLAN . RATING_PLAN_TYPE_CODE as TypeCode ,
POLICY_RENEWAL_RATING_PLAN . RATING_PLAN_IMP_REASON_CODE as ImpReasonCode ,
POLICY_RENEWAL_RATING_PLAN . RATING_PLAN_FACTOR as RatingPlanFactor ,
POLICY_RENEWAL_RATING_PLAN . SARAP_FACTOR as SARAPFactor ,
POLICY_RENEWAL_RATING_PLAN . CREATE_DATE as CreateDate ,
POLICY_RENEWAL_RATING_PLAN . CREATE_USER as CreateUser ,
POLICY_RENEWAL_RATING_PLAN . UPDATE_DATE as UpdateDate ,
POLICY_RENEWAL_RATING_PLAN . UPDATE_USER as UpdateUser
FROM POLICY_RENEWAL_RATING_PLAN
WHERE
POLICY_RENEWAL_RATING_PLAN . POLICY_NUM = : PolicyNumber
AND rating_plan_eff_date <= : EffectiveDate
AND rating_plan_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/clsPolicyRenewalRatingPlan.vb