---
title: "SQL-057: Read CUSTOMER_POLICY for `mdlCustomerContact`"
summary: Read statement for `mdlCustomerContact` against CUSTOMER_POLICY.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.CustomerContact
reference_type: package
---

# SQL-057: Read CUSTOMER_POLICY for `mdlCustomerContact`

This statement supports `mdlCustomerContact` by executing a read operation against CUSTOMER_POLICY.

## Classification

| Field | Value |
| --- | --- |
| SQL ID | SQL-057 |
| Operation type | Read |
| Execution method | Inline via SqlHelper.ScalarQuery |
| Database | Oracle |
| Schema | `[unqualified]**` |
| Command type | Text |
| Business object | `mdlCustomerContact` |
| Criteria property | GetCustomerIDForPolicy |
| Lifecycle method | GetCustomerIDForPolicy |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:Policy` | Input | Decimal | N/A | Policy number |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [CUSTOMER_POLICY](../database-tables.md#customer-policy) | SELECT | See sample SQL** |

## Sample SQL

```sql
Select company_seq_num from customer_policy where policy_num = :Policy
```

## Operations and processes
- [External identifier resolution](../operations/external-identifier-resolution.md)

> **Note:** Statements marked with `**` could not be confirmed; treat as unknown until verified.

## Sources
- `Business\SAIF.Business.CustomerContact\mdlCustomerContact.vb`
