---
title: Retrieve hazard groups effective on a date
summary: Retrieve hazard groups effective on a date.
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy
reference_type: package
operation_id: OP-009
trigger: A caller requests hazard groups for an effective date.
---

# Retrieve hazard groups effective on a date

Retrieve hazard groups effective on a date.

| Field | Value |
| --- | --- |
| **Operation ID** | OP-009 |
| **Trigger** | A caller requests hazard groups for an effective date. |
| **Inputs** | `IDataPortalInfo`, effective date |
| **Outputs** | `clsHazardGroupCollection` |
| **Primary components** | `clsHazardGroupCollection` |
| **Entry point** | `Business\SAIF.Business.Policy\clsHazardGroupCollection.vb` |

## Steps

1. Construct the collection criteria object and delegate retrieval to the BOF data-access layer.
2. In `BeforeRetrieve`, assign [SQL-002](../sql/SQL-002-saif-business-policy.md) and bind `EffectiveDate` against [HAZARD_GROUP](../database-tables.md#hazard_group).
3. After execution, iterate the returned reader and load one `clsHazardGroup` per row.
4. Return the populated collection with editing disabled so the data remains read-only.
5. > **Origin:** Retrieval orchestration and object lifecycle callbacks are supplied by `SAIF.Framework.Core`.
4. Apply related business rules: [BR-POL-011](../business-rules.md#br-pol-011-hazard-group-data-is-read-only), [BR-POL-012](../business-rules.md#br-pol-012-hazard-groups-are-filtered-by-effective-date-window)

## Process flow

The following diagram visualizes the main control flow for this operation.

```mermaid

flowchart TD

  Start([Trigger]) --> Work[Execute operation steps]

  Work --> Done([Return result])

```

## Failure and edge-case behavior

- Business rules are cross-referenced from the catalog page and the SQL or procedure logic cited in these steps.
- Database and procedure failures surface according to the underlying implementation path.

## Related documentation

- [Operations and processes](../operations-processes.md)
- [Business rules](../business-rules.md)
- [SQL catalog](../sql/index.md)
- [Database tables](../database-tables.md)

## Sources

- `Business\SAIF.Business.Policy\clsHazardGroupCollection.vb`
