Select the relevant period from a set¶
Select the relevant period from a set describes the corresponding policy-core workflow and its BOF or Oracle touchpoints.
| Field | Value |
|---|---|
| Operation ID | OP-009 |
| Trigger | consumers needing "the" period for a policy in a given context |
| Inputs | — |
| Outputs | — |
| Primary components | `iPolicyPeriodExtensions (iPolicyPeriodExtensions.vb)` |
| Entry point | Business\SAIF.Business.Policy.Core |
Steps¶
MostRecent→ the period with the maximumEffectiveDate.CurrentPeriod→ the first period whereIsCurrentisTrue; if none, the latest period byEffectiveDate(BR-004).RenewalPeriod→ the first period whereIsRenewalPeriodisTrue.BasePeriods(ard)→ periods whoseBeginDatefalls within[ARD − 57 months, ARD + 3 years)usingIncludeComparisons.FirstOnly- the experience-rating base period window (BR-005).- Consolidate supporting references.
- Related business rules: BR-004, BR-005, BR-010, BR-011, BR-012
- Related SQL statements: SQL-088
- Related tables: POLICY_PERIOD
Process flow¶
The following diagram visualizes this operation's control flow.
flowchart TD
Start([Trigger]) --> S1[Apply policy-core logic]
S1 --> D{Validation or branch?}
D -->|Continue| S2[Execute BOF SQL or Oracle call]
D -->|Stop| EndErr([Return error or empty result])
S2 --> EndOk([Return populated result])
Failure and edge-case behavior¶
- Error, warning, and empty-result behavior follows the rules and SQL cited in the steps above.
- Stored-procedure-backed paths depend on Oracle-side logic outside this repository.**
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.Core\clsPolicy.vbBusiness\SAIF.Business.Policy.Core\clsPolicyPeriodBase.vbBusiness\SAIF.Business.Policy.Core\clsPolicyPeriod.vbBusiness\SAIF.Business.Policy.Core\clsLegacyPolicyPeriod.vbBusiness\SAIF.Business.Policy.Core\clsCancelReasonOverride.vbBusiness\SAIF.Business.Policy.Core\WCISInquiry.vb