Skip to content

Merge renewal and period rating plans

Rating needs the effective plan list for a policy

Field Value
Operation ID OP-012
Trigger Rating needs the effective plan list for a policy
Inputs Renewal rating plan and policy period rating plans
Outputs Ordered sequence of iPolicyPeriodRatingPlan
Primary components PolicyPeriodRatingPlans.GetPlans (iPolicyRatingPlan.vb)
Entry point Business\SAIF.Business.Policy.Premium\iPolicyRatingPlan.vb

Steps

  1. Include the renewal rating plan only when its PolicyNumber <> 0 (BR-023).
  2. Union the renewal plan with the policy period rating plans.
  3. Order the merged set by EffectiveDate descending.
  4. Return the ordered list; extension helpers IsExperienceRated, IsClaimRated, IsNonRated and RatingPlan classify each entry.

Process flow

The following diagram visualizes this operation's control flow.

flowchart TD
    Start([Trigger]) --> S1[Step 1]
    S1 --> S2[Step 2]
    S2 --> EndOk([Outputs returned])

Failure and edge-case behavior

  • See the linked rules and SQL references above for validation failures, null-handling, and persistence contention behavior.

Sources

  • Business\SAIF.Business.Policy.Premium\iPolicyRatingPlan.vb