---
title: "SQL-048: 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-048: Read AGENT for `mdlCustomerContact`

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

## Classification

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

## Parameters

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

## Tables

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

## Sample SQL

```sql
select * from agent where agent_num = :AgentID
```

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

## Business rules
- [BR-008: Generated agency, agent, and provider records can be forced inactive](../business-rules.md#br-008-generated-agency-agent-and-provider-records-can-be-forced-inactive)

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

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