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

# SQL-050: Read CUSTOMER_AUDITOR for `mdlCustomerContact`

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

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:AuditorID` | Input | String | 10 | Auditor identifier |

## Tables

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

## Sample SQL

```sql
Select company_seq_num from CUSTOMER_AUDITOR where upper(auditor_id) = :AuditorID
```

## 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`
