---
title: "SQL-074: clsRevokeReasonCode retrieve"
summary: Retrieves a single revoke reason code record from PAYMENT_OWNER.REVOKE_REASON_CODE.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.Payment.EFT
reference_type: package
---

# SQL-074: clsRevokeReasonCode retrieve

Retrieves a single revoke reason code record from PAYMENT_OWNER.REVOKE_REASON_CODE.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-074 |
| **Operation type** | Read |
| **Execution method** | Inline SQL |
| **Database** | Oracle* |
| **Schema** | `PAYMENT_OWNER` |
| **Command type** | Text |
| **Business object** | `clsRevokeReasonCode` |
| **Criteria property** | `RetrieveSQL` |
| **Lifecycle method** | `BeforeRetrieve / AfterRetrieve` |


## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| \:CODE\ | Input | String | 5 | Binds \MyCriteria.Code\* |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [PAYMENT_OWNER.REVOKE_REASON_CODE](../database-tables.md#payment_ownerrevoke_reason_code) | Read | CODE, CODE_DESCR, INTERNAL_FLAG |

## Sample SQL

```sql
Select REVOKE_REASON_CODE.CODE as Code,
  REVOKE_REASON_CODE.CODE_DESCR as CodeDescr,
  REVOKE_REASON_CODE.INTERNAL_FLAG as InternalFlag
From PAYMENT_OWNER.REVOKE_REASON_CODE
Where REVOKE_REASON_CODE.CODE = :Code
```

## Operations and processes
- [EFT authorization / consent](../operations/eft-authorization-consent.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\clsRevokeReasonCode.vb`
