---
title: "SQL-097: Retrieve policy team function collection"
summary: "Retrieve policy team function collection"
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Core
reference_type: package
---

# SQL-097: Retrieve policy team function collection

Retrieve policy team function collection in the context of `clsPolicyTeamFunctionCollection`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-097 |
| **Operation type** | Read |
| **Execution method** | IDataRequest.SQLStatement (CommandType.Text) |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsPolicyTeamFunctionCollection` |
| **Criteria property** | `RetrieveSQL` |
| **Lifecycle method** | `BeforeRetrieve / AfterRetrieve` |

## Parameters

This statement has no bind parameters.

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [TEAM_FUNCTION_CODE](../database-tables.md#team_function_code) | SELECT | See sample SQL |

## Sample SQL

```sql
SELECT
  TEAM_FUNCTION_CODE.CODE as Code,
  TEAM_FUNCTION_CODE.CODE_DESCR as CodeDescr,
  TEAM_FUNCTION_CODE.SCREEN_ORDER as ScreenOrder,
  TEAM_FUNCTION_CODE.PMS_FUNCTION_CODE as PmsFunctionCode,
  TEAM_FUNCTION_CODE.LOC_SEQ_NUM as LocSeqNum
FROM
  TEAM_FUNCTION_CODE
WHERE
```

## 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\clsPolicyTeamFunctionCollection.vb`
