---
title: "SQL-032: policy_pkg.get_team_mailid"
summary: Read operation used by `clsPolicyNote`.
status: draft
owner: SAIF
last_reviewed: 2026-07-28
library: SAIF.Business.Claim.ThirdParty
reference_type: package
---

# SQL-032: policy_pkg.get_team_mailid

This SQL artifact supports ``clsPolicyNote`` by executing a read operation through StoredProc.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-032 |
| **Operation type** | Read |
| **Execution method** | StoredProc |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | StoredProcedure |
| **Business object** | ``clsPolicyNote`` |
| **Criteria property** | ``GetTeamMailID`` |
| **Lifecycle method** | ``Cls Policy Note read`` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:PolicyNum` | Input | Number | N/A | Source value `inPolicyNum` |
| `:TeamCode` | Input | String | 5 | Source value `inTeamCode` |
| `:Mailid` | ReturnValue | Return value | 8 | Source value `Mailid` |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| `POLICY_PKG.GET_TEAM_MAILID` | CALL | Procedure contract only; the underlying Oracle object body was not available in collected metadata, so direct table usage is not exposed by the .NET caller. |

## Sample SQL

```sql
BEGIN policy_pkg.get_team_mailid(:PolicyNum, :TeamCode, :Mailid); END;
-- Oracle source not found; calling code is possibly dead code.
```

> **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.Claim.ThirdParty\clsPolicyNote.vb`
