---
title: "SQL-014: clsProviderEFT"
summary: Update statement for clsProviderEFT.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.Provider.PaymentPreference
reference_type: package
---

# SQL-014: clsProviderEFT

UPDATE PROVIDER_EFT_INTERFACE.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-014 |
| **Operation type** | Update |
| **Execution method** | Inline SQL |
| **Database** | Oracle |
| **Schema** | Unqualified in SQL text |
| **Command type** | Text |
| **Business object** | `clsProviderEFT` |
| **Criteria property** | `UpdateSQL` |
| **Lifecycle method** | `BeforeUpdate` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:ExtUserTypeSeqNum` | Input | clsSmartDecimal | N/A | External user type after SetExtUserTypeSeqNum. |
| `:UpdateDate` | Input | Date | N/A | Audit timestamp. |
| `:UpdateUser` | Input | String | 30 | Audit user. |
| `:EffDate` | Input | clsSmartDate | N/A | EFT effective date; defaults to Today.Date when Date.MinValue. |
| `:ExpDate` | Input | clsSmartDate | N/A | EFT expiration date. |
| `:DefaultToPrimaryFlag` | Input | String | 1 | Default-to-primary indicator. |
| `:ProviderSeqNum` | Input | Decimal | N/A | Provider key in WHERE. |
| `:ProviderLocationSeqNum` | Input | Decimal | N/A | Provider-location key in WHERE. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [PROVIDER_EFT_INTERFACE](../database-tables.md#provider_eft_interface) | UPDATE | See sample SQL. |

## Sample SQL

```sql
UPDATE PROVIDER_EFT_INTERFACE
SET EXT_USER_TYPE_SEQ_NUM = :ExtUserTypeSeqNum,
    EFF_DATE = :EffDate,
    EXP_DATE = :ExpDate,
    DEFAULT_TO_PRIMARY_FLAG = :DefaultToPrimaryFlag,
    UPDATE_DATE = :UpdateDate,
    UPDATE_NUM = UPDATE_NUM + 1,
    UPDATE_USER = :UpdateUser
WHERE PROVIDER_EFT_INTERFACE.PROVIDER_SEQ_NUM = :ProviderSeqNum
  AND PROVIDER_EFT_INTERFACE.PROVIDER_LOCATION_SEQ_NUM = :ProviderLocationSeqNum
```

## Operations and processes
- [EFT record management](../operations/eft-record-management.md)
- [EFT payment location assignment](../operations/eft-payment-location-assignment.md)

## Business rules
- [BR-10: Unassigning EFT expires the record and revokes authorization.](../business-rules.md#br-10-on-unassignpaymentlocation-expdate-is-set-to-today-and-the-active-authorization-is-revoked-for-saif-employees-isusersaifemployee-true-authorization-is-revoked-with-false-internal-path-for-non-employees-with-true-external-path)
- [BR-13: EFT update increments update number only on success.](../business-rules.md#br-13-eft-update-contention-rowsaffected-1-triggers-dbcontentionerror-updatenum-is-incremented-and-child-preferences-saved-only-on-success)
- [BR-16: EFT updates default missing effective dates to today.](../business-rules.md#br-16-if-effdate-is-dateminvalue-at-update-time-it-is-defaulted-to-todaydate-before-persisting)

## Sources
- `Business\SAIF.Business.Provider.PaymentPreference\clsProviderEFT.vb`


