Select the applicable rate tier factor¶
RateTierFactorExtensions.AppliesTo(target, inRiskTypeCode, inDate) + clsRateTierFactor.IsApplicableTo (clsRateTierFactorCollection.vb:356-361)
| Field | Value |
|---|---|
| Operation ID | OP-011 |
| Trigger | Base rate computation needs the risk-type factor in force |
| Inputs | A sequence of clsRateTierFactor, a risk type code, a date |
| Outputs | The first matching factor, or Nothing |
| Primary components | `RateTierFactorExtensions.AppliesTo(target, inRiskTypeCode, inDate) + clsRateTierFactor.IsApplicableTo (clsRateTierFactorCollection.vb:356-361)` |
| Entry point | Business\SAIF.Business.Policy.Rating\clsRateTierFactorCollection.vb |
Steps¶
- Return the first element for which
IsApplicableTois true. IsApplicableTorequiresRiskTypeCode.Equals(inRiskTypeCode)and- The caller passes the result to
BaseRate; aNothingresult would fail there, so callers must - Use the related data-access statements and tables for this operation: SQL-037, RISK_TYPE_DESCRIPTION.
Process flow¶
The following diagram visualizes this operation's control flow.
flowchart TD
Start([Trigger: base rate computation needs the risk-type factor in force]) --> D1{IsApplicableTo: RiskTypeCode matches and other applicability criteria met?}
D1 -->|Yes, first match| S1[Return the matching clsRateTierFactor]
D1 -->|No match| S2[Return Nothing]
S1 --> Done([Factor passed to BaseRate - OP-002])
S2 --> Done2([Nothing returned - caller must guard before use in BaseRate])
Failure and edge-case behavior¶
- Review the linked business rules and SQL documents for the validation or data-access conditions that can block this operation.
Related documentation¶
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.Rating\clsRateTierFactorCollection.vb