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

# SQL-063: Read AGENT for `mdlCustomerContact`

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

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:ID` | Input | Decimal | N/A | Agent lookup identifier |

## Tables

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

## Sample SQL

```sql
select agency_seq_num as AgencyID, agent_num as AgentID from agent where agent_num = :ID
```

## Operations and processes
- [Agency, agent, and provider customer resolution](../operations/agency-agent-provider-resolution.md)

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

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