---
title: "SQL-051: clsUserType"
summary: Update statement for clsUserType.
status: draft
owner: <owner>
last_reviewed: 2026-07-24
library: SAIF.Business.External.Users
reference_type: package
---

# SQL-051: clsUserType

Updates the `CUSTOMER_CONTACT_EMAIL_ADDR` column on `PAYMENT_AUTHORIZATION` (accessed via the `payment_owner` schema) for a given provider customer ID. Used by `UpdateEftAuthorizationEmail` in `clsUserType`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-051 |
| **Operation type** | Update |
| **Execution method** | Inline SQL |
| **Database** | Oracle |
| **Schema** | `payment_owner` |
| **Command type** | Text |
| **Business object** | `clsUserType` |
| **Criteria property** | Local SQL |
| **Lifecycle method** | `UpdateEftAuthorizationEmail` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:emailAddress` | Input | String | 60 | New contact email address. |
| `:userID` | Input | String | 30 | Username performing the update. |
| `:providerId` | Input | String | 20 | Provider customer ID identifying the row. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [PAYMENT_AUTHORIZATION](../database-tables.md#payment_authorization) | UPDATE | `CUSTOMER_CONTACT_EMAIL_ADDR`, `UPDATE_DATE`, `UPDATE_USER`, `CUSTOMER_ID` |

## Sample SQL

```sql
UPDATE payment_owner.PAYMENT_AUTHORIZATION
SET CUSTOMER_CONTACT_EMAIL_ADDR = :emailAddress,
    update_date = sysdate,
    update_user = :userID
WHERE customer_id = :providerId
```

## Operations and processes
- [User type management](../operations/user-type-management.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.External.Users\clsUserType.vb`
