---
title: "SQL-005: Create operation"
summary: SQL-005 documentation for SAIF.Business.Claim.
status: draft
owner: Technical Writer
last_reviewed: 2026-07-28
library: SAIF.Business.Claim
reference_type: package
---

# SQL-005: Create operation

This document records the SQL used by `Criteria` in `SAIF.Business.Claim`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-005 |
| **Operation type** | Create |
| **Execution method** | Inline |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `Criteria` |
| **Criteria property** | `InsertSQL` |
| **Lifecycle method** | `BeforeInsert` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:AddressLine1` | Input | String | N/A | Binds AddressLine1 from active calling code or Oracle signature. |
| `:AddressLine2` | Input | String | N/A | Binds AddressLine2 from active calling code or Oracle signature. |
| `:AddressLine3` | Input | String | N/A | Binds AddressLine3 from active calling code or Oracle signature. |
| `:AddressLine4` | Input | String | N/A | Binds AddressLine4 from active calling code or Oracle signature. |
| `:CityName` | Input | String | N/A | Binds CityName from active calling code or Oracle signature. |
| `:ClaimID` | Input | Number | N/A | Binds ClaimID from active calling code or Oracle signature. |
| `:CountyCode` | Input | Number | N/A | Binds CountyCode from active calling code or Oracle signature. |
| `:ForeignAddressFlag` | Input | String | N/A | Binds ForeignAddressFlag from active calling code or Oracle signature. |
| `:StateCode` | Input | String | N/A | Binds StateCode from active calling code or Oracle signature. |
| `:UpdateUser` | Input | Date | N/A | Binds UpdateUser from active calling code or Oracle signature. |
| `:ZipCode` | Input | String | N/A | Binds ZipCode from active calling code or Oracle signature. |
| `:ZipCodeExt` | Input | String | N/A | Binds ZipCodeExt from active calling code or Oracle signature. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [CL_CLAIM_EMPLOYEE_WORK_ADDRESS](../database-tables.md#cl_claim_employee_work_address) | CREATE | A, ADDRESS_LINE, C, CITY_NAME, CLAIM_ID, CL_CLAIM_EMPLOYEE_WORK_ADDRESS, COUNTY_CODE, E, F, FOREIGN_ADDRESS_FLAG, I, ID |

## Sample SQL

```sql
Insert into CL_CLAIM_EMPLOYEE_WORK_ADDRESS ( ADDRESS_LINE1, ADDRESS_LINE2, ADDRESS_LINE3, ADDRESS_LINE4, CITY_NAME, CLAIM_ID, COUNTY_CODE, FOREIGN_ADDRESS_FLAG, STATE_CODE, UPDATE_DATE, UPDATE_NUM, UPDATE_USER, ZIP_CODE, ZIP_CODE_EXT ) 
VALUES ( :AddressLine1, :AddressLine2, :AddressLine3, :AddressLine4, :CityName, :ClaimID, :CountyCode, :ForeignAddressFlag, :StateCode, SYSDATE, 0, :UpdateUser, :ZipCode, :ZipCodeExt)
```

> **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.Claim\clsClaimEmployeeWorkAddress.vb`
