SQL-144: Update w c i s employee collection
Update w c i s employee collection in the context of clsWCISEmployeeCollection.
Classification
Field
Value
SQL ID
SQL-144
Operation type
Update
Execution method
IDataRequest.SQLStatement (CommandType.Text)
Database
Oracle
Schema
[unqualified]**
Command type
Text
Business object
clsWCISEmployeeCollection
Criteria property
UpdateSQL
Lifecycle method
BeforeUpdate / AfterUpdate
Parameters
Parameter
Direction
Type
Max length
Description
:UserName
Input
bound from UserName
30
Bound in clsWCISEmployeeCollection.BeforeUpdate (line 313)
:EmployeeLastName
Input
unknown
-
Bind variable present in SQL text; no matching AddParm located - unknown**
:EmployeeFirstName
Input
unknown
-
Bind variable present in SQL text; no matching AddParm located - unknown**
:EmployeeInitial
Input
unknown
-
Bind variable present in SQL text; no matching AddParm located - unknown**
:EmployeeNum
Input
unknown
-
Bind variable present in SQL text; no matching AddParm located - unknown**
:DeptCode
Input
unknown
-
Bind variable present in SQL text; no matching AddParm located - unknown**
:UnitCode
Input
bound from m_UnitCode
5
Bound in clsWCISEmployeeCollection.BeforeUpdate (line 533)
:EmployeeStatusCode
Input
bound from m_EmployeeStatusCode
5
Bound in clsWCISEmployeeCollection.BeforeUpdate (line 534)
:PhoneExt
Input
unknown
-
Bind variable present in SQL text; no matching AddParm located - unknown**
:EmployeeClassCode
Input
bound from m_EmployeeClassCode
5
Bound in clsWCISEmployeeCollection.BeforeUpdate (line 536)
:DivertBankFlag
Input
bound from m_DivertBankFlag
1
Bound in clsWCISEmployeeCollection.BeforeUpdate (line 537)
:Supervisor
Input
bound from m_Supervisor
30
Bound in clsWCISEmployeeCollection.BeforeUpdate (line 538)
:CreateUser
Input
bound from CreateUser
30
Bound in clsWCISEmployeeCollection.BeforeUpdate (line 651)
:CreateDate
Input
bound from CreateDate
-
Bound in clsWCISEmployeeCollection.BeforeUpdate (line 650)
:UpdateUser
Input
bound from m_UpdateUser
30
Bound in clsWCISEmployeeCollection.BeforeUpdate (line 663)
:UpdateDate
Input
bound from m_UpdateDate
-
Bound in clsWCISEmployeeCollection.BeforeUpdate (line 673)
:EmployeeIdentifierCode
Input
bound from m_EmployeeIdentifierCode
2
Bound in clsWCISEmployeeCollection.BeforeUpdate (line 543)
:PhoneNum
Input
bound from m_PhoneNum
12
Bound in clsWCISEmployeeCollection.BeforeUpdate (line 544)
:UWUnitCode
Input
bound from m_UWUnitCode
5
Bound in clsWCISEmployeeCollection.BeforeUpdate (line 545)
:PrinterID
Input
bound from m_PrinterID
10
Bound in clsWCISEmployeeCollection.BeforeUpdate (line 546)
:CopyCount
Input
bound from m_CopyCount
-
Bound in clsWCISEmployeeCollection.BeforeUpdate (line 547)
:OutputFunction
Input
bound from m_OutputFunction
10
Bound in clsWCISEmployeeCollection.BeforeUpdate (line 548)
:PositionTitle
Input
bound from m_PositionTitle
65
Bound in clsWCISEmployeeCollection.BeforeUpdate (line 549)
Tables
Sample SQL
UPDATE
WCIS_EMPLOYEE
SET
USER_NAME = : UserName ,
EMPLOYEE_LAST_NAME = : EmployeeLastName ,
EMPLOYEE_FIRST_NAME = : EmployeeFirstName ,
EMPLOYEE_INITIAL = : EmployeeInitial ,
EMPLOYEE_NUM = : EmployeeNum ,
DEPT_CODE = : DeptCode ,
UNIT_CODE = : UnitCode ,
EMPLOYEE_STATUS_CODE = : EmployeeStatusCode ,
PHONE_EXT = : PhoneExt ,
EMPLOYEE_CLASS_CODE = : EmployeeClassCode ,
DIVERT_BANK_FLAG = : DivertBankFlag ,
SUPERVISOR = : Supervisor ,
CREATE_USER = : CreateUser ,
CREATE_DATE = : CreateDate ,
UPDATE_USER = : UpdateUser ,
UPDATE_DATE = : UpdateDate ,
EMPLOYEE_IDENTIFIER_CODE = : EmployeeIdentifierCode ,
PHONE_NUM = : PhoneNum ,
UW_UNIT_CODE = : UWUnitCode ,
PRINTER_ID = : PrinterID ,
COPY_COUNT = : CopyCount ,
OUTPUT_FUNCTION = : OutputFunction ,
POSITION_TITLE = : PositionTitle
WHERE
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\clsWCISEmployeeCollection.vb