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¶
- Include the renewal rating plan only when its
PolicyNumber <> 0(BR-023). - Union the renewal plan with the policy period rating plans.
- Order the merged set by
EffectiveDatedescending. - Return the ordered list; extension helpers
IsExperienceRated,IsClaimRated,IsNonRatedandRatingPlanclassify 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.
Related documentation¶
Sources¶
Business\SAIF.Business.Policy.Premium\iPolicyRatingPlan.vb