---
title: "SQL-083: clsPaymentAddenda update"
summary: Updates a payment addenda record in PAYMENT_ADDENDA.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.Payment.EFT
reference_type: package
---

# SQL-083: clsPaymentAddenda update

Updates a payment addenda record in PAYMENT_ADDENDA.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-083 |
| **Operation type** | Update |
| **Execution method** | Inline SQL |
| **Database** | Oracle* |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsPaymentAddenda` |
| **Criteria property** | `UpdateSQL` |
| **Lifecycle method** | `BeforeUpdate / AfterUpdate` |


## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| :AddendaText | Input | String | 255 | Binds `AddendaText`* |
| :AddendaTypeCode | Input | String | 5 | Binds `AddendaTypeCode`* |
| :PaymentDetailSeqNum | Input | Decimal | — | Binds `PaymentDetailSeqNum` |
| :PaymentAddendaSeqNum | Input | Decimal | — | Binds `MyCriteria.PaymentAddendaSeqNum`* |

## Tables

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

## Sample SQL

```sql
Update PAYMENT_ADDENDA
Set ADDENDA_TEXT = :AddendaText,
  ADDENDA_TYPE_CODE = :AddendaTypeCode,
  PAYMENT_DETAIL_SEQ_NUM = :PaymentDetailSeqNum
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.

## Business rules
- [BR-EFT-05: Insert/update must affect exactly 1 row](../business-rules.md#br-eft-05-insertupdate-operations-require-exactly-one-affected-row)

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