---
title: "SQL-018: Retrieve chapters for a group"
summary: Retrieve chapters for a group
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Group
reference_type: package
---

# SQL-018: Retrieve chapters for a group

`SQL-018` retrieve chapters for a group in support of `clsChapterCollection`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-018 |
| **Operation type** | Read |
| **Execution method** | Inline SQL via BOF data portal |
| **Database** | Oracle |
| **Schema** | `[unqualified]**` |
| **Command type** | Text |
| **Business object** | `clsChapterCollection` |
| **Criteria property** | `RetrieveSQL` (+ const `RETRIEVE_CHAPTER`) |
| **Lifecycle method** | `BeforeRetrieve` / `AfterRetrieve` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:GroupAssociationCode` | In | String | not specified | Criteria property — returns all chapters for the group ([BR-005](../business-rules.md#br-005-group-exposes-a-placeholder-chapter-when-none-exist), [BR-023](../business-rules.md#br-023-chapters-and-contacts-load-lazily)). |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [GROUP_CHAPTER](../database-tables.md#group_chapter) | SELECT | GROUP_ASSOCIATION_CODE, CODE, CODE_DESCR, CHAPTER_EFF_DATE, CHAPTER_EXP_DATE, PMS_CHAPTER_CODE, CREATE_DATE, CREATE_USER, UPDATE_DATE, UPDATE_USER, CHAPTER_ENROLL_FORM, PHONE_NUM |

## Sample SQL

```sql
Select
  GROUP_CHAPTER.GROUP_ASSOCIATION_CODE as GroupAssociationCode,
  GROUP_CHAPTER.CODE as Code,
  GROUP_CHAPTER.CODE_DESCR as CodeDescription,
  GROUP_CHAPTER.CHAPTER_EFF_DATE as EffectiveDate,
  GROUP_CHAPTER.CHAPTER_EXP_DATE as ExpirationDate,
  GROUP_CHAPTER.PMS_CHAPTER_CODE as PmsChapterCode,
  GROUP_CHAPTER.CREATE_DATE as CreateDate,
  GROUP_CHAPTER.CREATE_USER as CreateUser,
  GROUP_CHAPTER.UPDATE_DATE as UpdateDate,
  GROUP_CHAPTER.UPDATE_USER as UpdateUser,
  GROUP_CHAPTER.CHAPTER_ENROLL_FORM as EnrollmentForm,
  GROUP_CHAPTER.PHONE_NUM as PhoneNumber
From
  GROUP_CHAPTER
Where
  GROUP_CHAPTER.GROUP_ASSOCIATION_CODE = :GroupAssociationCode
```

## Operations and processes
- [Load a group's chapters](../operations/load-group-chapters.md)

> **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.Group\clsChapterCollection.vb`
