Skip to content

SQL-104: Retrieve w c i s employee

Retrieve w c i s employee in the context of clsWCISEmployee.

Classification

Field Value
SQL ID SQL-104
Operation type Read
Execution method IDataRequest.SQLStatement (CommandType.Text)
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsWCISEmployee
Criteria property RetrieveSQL
Lifecycle method BeforeRetrieve / AfterRetrieve

Parameters

Parameter Direction Type Max length Description
:UserName Input bound from MyCriteria.UserName 30 Bound in clsWCISEmployee.BeforeRetrieve (line 501)

Tables

Table Access Columns used
WCIS_EMPLOYEE SELECT See sample SQL

Sample SQL

SELECT
  WCIS_EMPLOYEE.USER_NAME as UserName,
  WCIS_EMPLOYEE.EMPLOYEE_LAST_NAME as LastName,
  WCIS_EMPLOYEE.EMPLOYEE_FIRST_NAME as FirstName,
  WCIS_EMPLOYEE.EMPLOYEE_INITIAL as MiddleInitial,
  WCIS_EMPLOYEE.EMPLOYEE_NUM as EmployeeNumber,
  WCIS_EMPLOYEE.DEPT_CODE as DepartmentCode,
  WCIS_EMPLOYEE.UNIT_CODE as UnitCode,
  WCIS_EMPLOYEE.EMPLOYEE_STATUS_CODE as EmployeeStatusCode,
  WCIS_EMPLOYEE.PHONE_EXT as PhoneExtension,
  WCIS_EMPLOYEE.EMPLOYEE_CLASS_CODE as EmployeeClassCode,
  WCIS_EMPLOYEE.DIVERT_BANK_FLAG as DivertBankFlag,
  WCIS_EMPLOYEE.SUPERVISOR as Supervisor,
  WCIS_EMPLOYEE.CREATE_USER as CreateUser,
  WCIS_EMPLOYEE.CREATE_DATE as CreateDate,
  WCIS_EMPLOYEE.UPDATE_USER as UpdateUser,
  WCIS_EMPLOYEE.UPDATE_DATE as UpdateDate,
  WCIS_EMPLOYEE.EMPLOYEE_IDENTIFIER_CODE as EmployeeIdentifierCode,
  WCIS_EMPLOYEE.PHONE_NUM as PhoneNum,
  WCIS_EMPLOYEE.UW_UNIT_CODE as UWUnitCode,
  WCIS_EMPLOYEE.PRINTER_ID as PrinterID,
  WCIS_EMPLOYEE.COPY_COUNT as CopyCount,
  WCIS_EMPLOYEE.OUTPUT_FUNCTION as OutputFunction,
  WCIS_EMPLOYEE.POSITION_TITLE as PositionTitle
FROM
  WCIS_EMPLOYEE
WHERE
  WCIS_EMPLOYEE.USER_NAME = :UserName

Business rules

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.Policy.Core\clsWCISEmployee.vb