---
title: "SQL-055: clsPaymentAddenda retrieve by sequence number"
summary: Retrieves a single payment addenda record from PAYMENT_ADDENDA by sequence number.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.Payment.EFT
reference_type: package
---

# SQL-055: clsPaymentAddenda retrieve by sequence number

Retrieves a single payment addenda record from PAYMENT_ADDENDA by sequence number.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-055 |
| **Operation type** | Read |
| **Execution method** | Inline SQL |
| **Database** | Oracle* |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsPaymentAddenda` |
| **Criteria property** | `RetrieveSQL` |
| **Lifecycle method** | `BeforeRetrieve / AfterRetrieve` |


## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| \:PaymentAddendaSeqNum\ | Input | Decimal | — | Binds \MyCriteria.PaymentAddendaSeqNum\* |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [PAYMENT_ADDENDA](../database-tables.md#payment_addenda) | — | — |

## Sample SQL

```sql
Select PAYMENT_ADDENDA.ADDENDA_TEXT as AddendaText,
  PAYMENT_ADDENDA.ADDENDA_TYPE_CODE as AddendaTypeCode,
  PAYMENT_ADDENDA.CREATE_DATE as CreateDate,
  PAYMENT_ADDENDA.CREATE_USER as CreateUser,
  PAYMENT_ADDENDA.PAYMENT_ADDENDA_SEQ_NUM as PaymentAddendaSeqNum,
  PAYMENT_ADDENDA.PAYMENT_DETAIL_SEQ_NUM as PaymentDetailSeqNum
From PAYMENT_ADDENDA
Where PAYMENT_ADDENDA.PAYMENT_ADDENDA_SEQ_NUM = :PaymentAddendaSeqNum
```

## Operations and processes
- [Payment addenda](../operations/payment-addenda.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\clsPaymentAddenda.vb`
