Determine policy-period expiration date¶
Determines the expiration date of a policy period by querying POLICY_PERIOD unioned with POLICY_PERIOD_NON_WCIS, covering policies issued through either system.
| Field | Value |
|---|---|
| Operation ID | OP-POL-003 |
| Trigger | Caller reads PolicyInformation.PolicyPeriodExpirationDate(inDPI, inPolicyNumber, inPolicyPeriodEffectiveDate) |
| Inputs | Data portal info, policy number, policy-period effective date |
| Outputs | Date |
| Primary components | PolicyInformation.PolicyPeriodExpirationDate |
| Entry point | SAIF.Business.Policy\PolicyInformation.vb |
Steps¶
- Caller reads
PolicyInformation.PolicyPeriodExpirationDate(inDPI, inPolicyNumber, inPolicyPeriodEffectiveDate). - A scalar request is built with
SQL.PolicyPeriodExpirationDate(SQL-011, aUNIONacross POLICY_PERIOD and POLICY_PERIOD_NON_WCIS), with parametersin_policy_numandin_policy_period_eff_date. DAL.ProcessPortalRequestexecutes; result is cast toDate.- On failure/no match: no
DBNull/Nothingguard is present — behavior is unconfirmed.**
Process flow¶
flowchart TD
Start([PolicyPeriodExpirationDate read]) --> S1[Build IDataRequest with SQL-011]
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.**
Related documentation¶
Note: Statements marked with ** could not be confirmed; treat as unknown until verified.
Sources¶
SAIF.Business.Policy\PolicyInformation.vb