SQL-006: Check whether the information page was printed¶
Find a printed P401 endorsement for the policy period.
Classification¶
| Field | Value |
|---|---|
| SQL ID | SQL-006 |
| Operation type | Read |
| Execution method | Inline SQL |
| Database | Oracle |
| Schema | [unqualified]** |
| Command type | Text |
| Business object | N/A (Application layer) |
| Criteria property | N/A |
| Lifecycle method | IsInformationPagePrinted |
Parameters¶
| Parameter | Direction | Type | Max length | Description |
| :PolicyNumber | Input | NUMBER | N/A | Policy number. |
| :PolicyPeriodEffectiveDate | Input | DATE | N/A | Policy period effective date. |
Tables¶
| Table | Access | Columns used |
|---|---|---|
| ENDORSEMENT | SELECT | POLICY_NUM, POLICY_PERIOD_EFF_DATE, ENDORSE_CODE, PRINTED_DATE |
Sample SQL¶
Select
policy_num
FROM endorsement
WHERE policy_num = :PolicyNumber
AND policy_period_eff_date = :PolicyPeriodEffectiveDate
AND endorse_code = 'P401'
AND printed_date IS NOT NULL
Operations and processes¶
Business rules¶
- See Business rules.
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\PolicyInformation.vb