---
title: "SQL-082: clsCustomer"
summary: Delete statement for clsCustomer.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.CustomerContact
reference_type: package
---

# SQL-082: clsCustomer

This statement supports `clsCustomer` by executing a delete operation against COMPANY.

## Classification

| Field | Value |
| --- | --- |
| SQL ID | SQL-082 |
| Operation type | Delete |
| Execution method | Inline |
| Database | Oracle |
| Schema | `[unqualified]**` |
| Command type | Text |
| Business object | `clsCustomer` |
| Criteria property | DeleteSQL |
| Lifecycle method | BeforeDelete |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:CustomerID` | Input | Decimal | N/A | Customer primary key |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [COMPANY](../database-tables.md#company) | DELETE | COMPANY_SEQ_NUM |

## Sample SQL

```sql
Delete COMPANY Where COMPANY.COMPANY_SEQ_NUM = :CustomerID
```

## Operations and processes
- [Customer CRUD with child persistence](../operations/customer-crud-with-child-persistence.md)

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

## Sources
- `Business\SAIF.Business.CustomerContact\Customer\clsCustomer.vb`
