---
title: "SQL-014: Insert policy-period group association row"
summary: Insert policy-period group association row
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Group
reference_type: package
---

# SQL-014: Insert policy-period group association row

`SQL-014` insert policy-period group association row in support of `clsPolicyPeriodGroupAssociation`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-014 |
| **Operation type** | Insert |
| **Execution method** | Inline SQL via BOF data portal |
| **Database** | Oracle |
| **Schema** | `[unqualified]**` |
| **Command type** | Text |
| **Business object** | `clsPolicyPeriodGroupAssociation` |
| **Criteria property** | `InsertSQL` |
| **Lifecycle method** | `BeforeInsert` / `AfterInsert` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:PolicyNumber` | In | Decimal | not specified | Policy number — first half of the composite key ([BR-022](../business-rules.md#br-022-policy-period-group-membership-uses-a-composite-key)). |
| `:PolicyPeriodEffectiveDate` | In | Date | not specified | Policy period effective date — second half of the key ([BR-022](../business-rules.md#br-022-policy-period-group-membership-uses-a-composite-key)). |
| `:GroupAssociationCode` | In | String | not specified | Group the policy period is linked to. |
| `:GroupMembershipEffectiveDate` | In | Date | not specified | Membership start date. |
| `:GroupMembershipExpirationDate` | In | Date | not specified | Membership end date; optional. |
| `:GroupTerminationDate` | In | Date | not specified | Date membership was terminated; optional. |
| `:ChapterCode` | In | String | not specified | Chapter within the group; optional. |
| `:CreateDate` | In | Date | not specified | Audit — row creation timestamp. |
| `:CreateUser` | In | String | not specified | Audit — creating user. |
| `:UpdateDate` | In | Date | not specified | Audit — last update timestamp ([BR-021](../business-rules.md#br-021-writes-stamp-update-date-and-user)). |
| `:UpdateUser` | In | String | 30 ([BR-021](../business-rules.md#br-021-writes-stamp-update-date-and-user)) | Audit — last updating user. |
| `:GroupMembershipTypeCode` | In | String | not specified | Membership type; optional. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [POLICY_PERIOD_GROUP_ASSOC](../database-tables.md#policy_period_group_assoc) | INSERT | POLICY_NUM, POLICY_PERIOD_EFF_DATE, GROUP_ASSOCIATION_CODE, GROUP_MBRSHP_EFF_DATE, GROUP_MBRSHP_EXP_DATE, GROUP_TERMINATION_DATE, CHAPTER_CODE, CREATE_DATE, CREATE_USER, UPDATE_DATE, UPDATE_USER, GROUP_MEMBERSHIP_TYPE_CODE |

## Sample SQL

```sql
Insert into POLICY_PERIOD_GROUP_ASSOC
  (
    POLICY_NUM,
    POLICY_PERIOD_EFF_DATE,
    GROUP_ASSOCIATION_CODE,
    GROUP_MBRSHP_EFF_DATE,
    GROUP_MBRSHP_EXP_DATE,
    GROUP_TERMINATION_DATE,
    CHAPTER_CODE,
    CREATE_DATE,
    CREATE_USER,
    UPDATE_DATE,
    UPDATE_USER,
    GROUP_MEMBERSHIP_TYPE_CODE
  )
Values
  (
    :PolicyNumber,
    :PolicyPeriodEffectiveDate,
    :GroupAssociationCode,
    :GroupMembershipEffectiveDate,
    :GroupMembershipExpirationDate,
    :GroupTerminationDate,
    :ChapterCode,
    :CreateDate,
    :CreateUser,
    :UpdateDate,
    :UpdateUser,
    :GroupMembershipTypeCode
  )
```

## Operations and processes
- [Link a policy period to a group](../operations/link-policy-period-to-group.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\clsPolicyPeriodGroupAssociation.vb`
