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

# SQL-137: Update policy team member

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

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-137 |
| **Operation type** | Update |
| **Execution method** | IDataRequest.SQLStatement (CommandType.Text) |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsPolicyTeamMember` |
| **Criteria property** | `UpdateSQL` |
| **Lifecycle method** | `BeforeUpdate / AfterUpdate` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:PolicyNumber` | Input | bound from `PolicyNumber` | - | Bound in `clsPolicyTeamMember.BeforeUpdate` (line 311) |
| `:TeamFunctionCode` | Input | bound from `TeamFunctionCode` | 5 | Bound in `clsPolicyTeamMember.BeforeUpdate` (line 312) |
| `:UserName` | Input | bound from `UserName` | 30 | Bound in `clsPolicyTeamMember.BeforeUpdate` (line 313) |
| `:UpdateDate` | Input | bound from `m_UpdateDate` | - | Bound in `clsPolicyTeamMember.BeforeUpdate` (line 314) |
| `:UpdateUser` | Input | bound from `m_UpdateUser` | 30 | Bound in `clsPolicyTeamMember.BeforeUpdate` (line 315) |

## Tables

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

## Sample SQL

```sql
UPDATE
  POLICY_TEAM_FUNCTION
SET
  POLICY_NUM = :PolicyNumber,
  TEAM_FUNCTION_CODE = :TeamFunctionCode,
  USER_NAME = :UserName,
  UPDATE_DATE = :UpdateDate,
  UPDATE_USER = :UpdateUser
WHERE
  POLICY_NUM = :PolicyNumber
  AND TEAM_FUNCTION_CODE = :TeamFunctionCode
```

## 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`
