---
title: "SQL-036: Insert policy team member"
summary: "Insert policy team member"
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Core
reference_type: package
---

# SQL-036: Insert policy team member

Insert policy team member in the context of `clsPolicyTeamMember`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-036 |
| **Operation type** | Insert |
| **Execution method** | IDataRequest.SQLStatement (CommandType.Text) |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsPolicyTeamMember` |
| **Criteria property** | `InsertSQL` |
| **Lifecycle method** | `BeforeInsert / AfterInsert` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:PolicyNumber` | Input | bound from `PolicyNumber` | - | Bound in `clsPolicyTeamMember.BeforeInsert` (line 249) |
| `:TeamFunctionCode` | Input | bound from `TeamFunctionCode` | 5 | Bound in `clsPolicyTeamMember.BeforeInsert` (line 250) |
| `:UserName` | Input | bound from `UserName` | 30 | Bound in `clsPolicyTeamMember.BeforeInsert` (line 251) |
| `:UpdateDate` | Input | bound from `m_UpdateDate` | - | Bound in `clsPolicyTeamMember.BeforeInsert` (line 252) |
| `:UpdateUser` | Input | bound from `m_UpdateUser` | 30 | Bound in `clsPolicyTeamMember.BeforeInsert` (line 253) |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [POLICY_TEAM_FUNCTION](../database-tables.md#policy_team_function) | INSERT | See sample SQL |

## Sample SQL

```sql
INSERT INTO
  POLICY_TEAM_FUNCTION
  (
    POLICY_NUM,
    TEAM_FUNCTION_CODE,
    USER_NAME,
    UPDATE_DATE,
    UPDATE_USER
  )
VALUES
  (
    :PolicyNumber,
    :TeamFunctionCode,
    :UserName,
    :UpdateDate,
    :UpdateUser
  )
```

## Business rules
- [BR-033: New sequence values for writable entities are obtained](../business-rules.md#br-033-new-sequence-values-for-writable-entities-are-obtained)

> **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.Core\clsPolicyTeamMember.vb`
