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

# SQL-020: Insert CUSTOMER_AUDITOR for `mdlCustomerContact`

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

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:CustomerID` | Input | Decimal | N/A | Customer primary key |
| `:AuditorID` | Input | String | 10 | Auditor identifier |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [CUSTOMER_AUDITOR](../database-tables.md#customer-auditor) | INSERT | AUDITOR_ID, COMPANY_SEQ_NUM |

## Sample SQL

```sql
INSERT INTO CUSTOMER_AUDITOR (COMPANY_SEQ_NUM, AUDITOR_ID) VALUES (:CustomerID, :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`
