---
title: "SQL-096: clsPaymentDetail delete"
summary: Deletes a payment detail record from PAYMENT_DETAIL.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.Payment.EFT
reference_type: package
---

# SQL-096: clsPaymentDetail delete

Deletes a payment detail record from PAYMENT_DETAIL.

## Classification

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


## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| \:PaymentDetailSeqNum\ | Input | Decimal | — | Binds \PaymentDetailSeqNum\ |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [PAYMENT_DETAIL](../database-tables.md#payment_detail) | Write | — |

## Sample SQL

```sql
Delete PAYMENT_DETAIL
Where PAYMENT_DETAIL.PAYMENT_DETAIL_SEQ_NUM = :PaymentDetailSeqNum
```

## Operations and processes
- [Payment detail and allocation](../operations/payment-detail-and-allocation.md)*

> **Note:** Statements marked with `*` were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with `**` could not be confirmed; treat as unknown until verified.

## Sources
- `Business\SAIF.Business.Payment.EFT\clsPaymentDetail.vb`
