Skip to content

SQL-032: Find current admin user type for provider EFT

Retrieves the EXT_USER_TYPE_SEQ_NUM of the admin user record for a given CUSTOMER_ID, used as a lookup step before updating the EFT authorization contact email via UpdateAdminUserEmail.

Classification

Field Value
SQL ID SQL-032
Operation type Read
Execution method Inline SQL
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsUserType
Criteria property Local SQL
Lifecycle method UpdateAdminUserEmail

Parameters

Parameter Direction Type Max length Description
:inCustomerID Input Decimal N/A Customer ID to find the admin user type for.

Tables

Table Access Columns used
EXT_USER_TYPE SELECT EXT_USER_TYPE_SEQ_NUM, CUSTOMER_ID, ADMIN_USER_FLAG

Sample SQL

SELECT EXT_USER_TYPE_SEQ_NUM
FROM EXT_USER_TYPE
WHERE CUSTOMER_ID = :inCustomerID
  AND ADMIN_USER_FLAG = 'Y'

Operations and processes

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