---
title: "SQL-043: Insert w c i s employee collection"
summary: "Insert w c i s employee collection"
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Core
reference_type: package
---

# SQL-043: Insert w c i s employee collection

Insert w c i s employee collection in the context of `clsWCISEmployeeCollection`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-043 |
| **Operation type** | Insert |
| **Execution method** | IDataRequest.SQLStatement (CommandType.Text) |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsWCISEmployeeCollection` |
| **Criteria property** | `InsertSQL` |
| **Lifecycle method** | `BeforeInsert / AfterInsert` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:UserName` | Input | bound from `UserName` | 30 | Bound in `clsWCISEmployeeCollection.BeforeInsert` (line 251) |
| `: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.BeforeInsert` (line 453) |
| `:EmployeeStatusCode` | Input | bound from `m_EmployeeStatusCode` | 5 | Bound in `clsWCISEmployeeCollection.BeforeInsert` (line 454) |
| `:PhoneExt` | Input | unknown | - | Bind variable present in SQL text; no matching `AddParm` located - unknown** |
| `:EmployeeClassCode` | Input | bound from `m_EmployeeClassCode` | 5 | Bound in `clsWCISEmployeeCollection.BeforeInsert` (line 456) |
| `:DivertBankFlag` | Input | bound from `m_DivertBankFlag` | 1 | Bound in `clsWCISEmployeeCollection.BeforeInsert` (line 457) |
| `:Supervisor` | Input | bound from `m_Supervisor` | 30 | Bound in `clsWCISEmployeeCollection.BeforeInsert` (line 458) |
| `:CreateUser` | Input | bound from `CreateUser` | 30 | Bound in `clsWCISEmployeeCollection.BeforeInsert` (line 189) |
| `:CreateDate` | Input | bound from `CreateDate` | - | Bound in `clsWCISEmployeeCollection.BeforeInsert` (line 190) |
| `:UpdateUser` | Input | bound from `m_UpdateUser` | 30 | Bound in `clsWCISEmployeeCollection.BeforeInsert` (line 579) |
| `:UpdateDate` | Input | bound from `m_UpdateDate` | - | Bound in `clsWCISEmployeeCollection.BeforeInsert` (line 589) |
| `:EmployeeIdentifierCode` | Input | bound from `m_EmployeeIdentifierCode` | 2 | Bound in `clsWCISEmployeeCollection.BeforeInsert` (line 463) |
| `:PhoneNum` | Input | bound from `m_PhoneNum` | 12 | Bound in `clsWCISEmployeeCollection.BeforeInsert` (line 464) |
| `:UWUnitCode` | Input | bound from `m_UWUnitCode` | 5 | Bound in `clsWCISEmployeeCollection.BeforeInsert` (line 465) |
| `:PrinterID` | Input | bound from `m_PrinterID` | 10 | Bound in `clsWCISEmployeeCollection.BeforeInsert` (line 466) |
| `:CopyCount` | Input | bound from `m_CopyCount` | - | Bound in `clsWCISEmployeeCollection.BeforeInsert` (line 467) |
| `:OutputFunction` | Input | bound from `m_OutputFunction` | 10 | Bound in `clsWCISEmployeeCollection.BeforeInsert` (line 468) |
| `:PositionTitle` | Input | bound from `m_PositionTitle` | 65 | Bound in `clsWCISEmployeeCollection.BeforeInsert` (line 469) |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [WCIS_EMPLOYEE](../database-tables.md#wcis_employee) | INSERT | See sample SQL |

## Sample SQL

```sql
INSERT INTO
  WCIS_EMPLOYEE
  (
    USER_NAME,
    EMPLOYEE_LAST_NAME,
    EMPLOYEE_FIRST_NAME,
    EMPLOYEE_INITIAL,
    EMPLOYEE_NUM,
    DEPT_CODE,
    UNIT_CODE,
    EMPLOYEE_STATUS_CODE,
    PHONE_EXT,
    EMPLOYEE_CLASS_CODE,
    DIVERT_BANK_FLAG,
    SUPERVISOR,
    CREATE_USER,
    CREATE_DATE,
    UPDATE_USER,
    UPDATE_DATE,
    EMPLOYEE_IDENTIFIER_CODE,
    PHONE_NUM,
    UW_UNIT_CODE,
    PRINTER_ID,
    COPY_COUNT,
    OUTPUT_FUNCTION,
    POSITION_TITLE
  )
VALUES
  (
    :UserName,
    :EmployeeLastName,
    :EmployeeFirstName,
    :EmployeeInitial,
    :EmployeeNum,
    :DeptCode,
    :UnitCode,
    :EmployeeStatusCode,
    :PhoneExt,
    :EmployeeClassCode,
    :DivertBankFlag,
    :Supervisor,
    :CreateUser,
    :CreateDate,
    :UpdateUser,
    :UpdateDate,
    :EmployeeIdentifierCode,
    :PhoneNum,
    :UWUnitCode,
    :PrinterID,
    :CopyCount,
    :OutputFunction,
    :PositionTitle
  )
```

## Business rules
- [BR-033: New sequence values for writable entities are obtained](../business-rules.md#br-033-new-sequence-values-for-writable-entities-are-obtained)

> **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`
