Skip to content

SQL-095: Update policyperiodratingplan

Update policyperiodratingplan in the context of clsPolicyPeriodRatingPlan.

Classification

Field Value
SQL ID SQL-095
Operation type Update
Execution method NonQuery
Database Oracle
Command type Text
Schema N/A — accessed via DB link @POLDB (Policy database)
Business object clsPolicyPeriodRatingPlan
Criteria property UpdateSQL
Lifecycle method BeforeUpdate / AfterUpdate

Parameters

Parameter Direction Type Max length Description
:PolicyNumber Input Numeric* inferred/unknown Bind variable in clsPolicyPeriodRatingPlan.UpdateSQL.
:PolicyPeriodEffectiveDate Input Date inferred/unknown Bind variable in clsPolicyPeriodRatingPlan.UpdateSQL.
:RatingPlanEffectiveDate Input Date inferred/unknown Bind variable in clsPolicyPeriodRatingPlan.UpdateSQL.
:RatingPlanExpirationDate Input Date inferred/unknown Bind variable in clsPolicyPeriodRatingPlan.UpdateSQL.
:RatingPlanCode Input String* inferred/unknown Bind variable in clsPolicyPeriodRatingPlan.UpdateSQL.
:RatingPlanTypeCode Input String* inferred/unknown Bind variable in clsPolicyPeriodRatingPlan.UpdateSQL.
:RatingPlanImpReasonCode Input String* inferred/unknown Bind variable in clsPolicyPeriodRatingPlan.UpdateSQL.
:RatingPlanFactor Input Numeric* inferred/unknown Bind variable in clsPolicyPeriodRatingPlan.UpdateSQL.
:SARAPFactor Input Numeric* inferred/unknown Bind variable in clsPolicyPeriodRatingPlan.UpdateSQL.
:CreateDate Input Date inferred/unknown Bind variable in clsPolicyPeriodRatingPlan.UpdateSQL.
:CreateUser Input String* inferred/unknown Bind variable in clsPolicyPeriodRatingPlan.UpdateSQL.
:UpdateDate Input Date inferred/unknown Bind variable in clsPolicyPeriodRatingPlan.UpdateSQL.
:UpdateUser Input Date inferred/unknown Bind variable in clsPolicyPeriodRatingPlan.UpdateSQL.

Tables

Table Access Columns used
POLICY_PERIOD_RATING_PLAN UPDATE See sample SQL

Sample SQL

Update POLICY_PERIOD_RATING_PLAN
SET
  POLICY_NUM = :PolicyNumber,
  POLICY_PERIOD_EFF_DATE = :PolicyPeriodEffectiveDate,
  RATING_PLAN_EFF_DATE = :RatingPlanEffectiveDate,
  RATING_PLAN_EXP_DATE = :RatingPlanExpirationDate,
  RATING_PLAN_CODE = :RatingPlanCode,
  RATING_PLAN_TYPE_CODE = :RatingPlanTypeCode,
  RATING_PLAN_IMP_REASON_CODE = :RatingPlanImpReasonCode,
  RATING_PLAN_FACTOR = :RatingPlanFactor,
  SARAP_FACTOR = :SARAPFactor,
  CREATE_DATE = :CreateDate,
  CREATE_USER = :CreateUser,
  UPDATE_DATE = :UpdateDate,
  UPDATE_USER = :UpdateUser
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