Determine anniversary rate date¶
Determines the anniversary rate date (ARD) for a policy period by querying POLICY_PERIOD unioned with POLICY_PERIOD_NON_WCIS.
| Field | Value |
|---|---|
| Operation ID | OP-POL-004 |
| Trigger | Caller reads PolicyInformation.AnniversaryRateDate(inDPI, inPolicyNumber, inPolicyPeriodEffectiveDate) |
| Inputs | Data portal info, policy number, policy-period effective date |
| Outputs | Date |
| Primary components | PolicyInformation.AnniversaryRateDate |
| Entry point | SAIF.Business.Policy\PolicyInformation.vb |
Steps¶
- Caller reads
PolicyInformation.AnniversaryRateDate(inDPI, inPolicyNumber, inPolicyPeriodEffectiveDate). - A scalar request is built with
SQL.PolicyPeriodARD(SQL-004,UNIONacross POLICY_PERIOD / POLICY_PERIOD_NON_WCIS), with the same two parameters. - Executed via
DAL.ProcessPortalRequestand cast toDate.
Process flow¶
flowchart TD
Start([AnniversaryRateDate read]) --> S1[Build IDataRequest with SQL-004]
S1 --> S2[Bind policy_num and period_eff_date]
S2 --> S3[DAL.ProcessPortalRequest executes UNION query]
S3 --> EndOk([Cast result to Date])
Failure and edge-case behavior¶
- No null/
DBNullguard on the cast result was observed in the reviewed source; behavior when no matching row exists is unconfirmed.**
Related documentation¶
Note: Statements marked with ** could not be confirmed; treat as unknown until verified.
Sources¶
SAIF.Business.Policy\PolicyInformation.vb