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

# SQL-008: Create operation

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

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-008 |
| **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 |
| --- | --- | --- | --- | --- |
| `:BodyPartCode` | Input | String | N/A | Binds BodyPartCode from active calling code or Oracle signature. |
| `:BodySideCode` | Input | Number | N/A | Binds BodySideCode from active calling code or Oracle signature. |
| `:ClaimID` | Input | Number | N/A | Binds ClaimID from active calling code or Oracle signature. |
| `:InjuryNatureCode` | Input | String | N/A | Binds InjuryNatureCode from active calling code or Oracle signature. |
| `:PrimaryFlag` | Input | String | N/A | Binds PrimaryFlag from active calling code or Oracle signature. |
| `:PrimaryKeySubNum` | Input | Number | N/A | Binds PrimaryKeySubNum from active calling code or Oracle signature. |
| `:UpdateUser` | Input | Date | N/A | Binds UpdateUser from active calling code or Oracle signature. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [CL_WORKER_INJURED_BODY_PART](../database-tables.md#cl_worker_injured_body_part) | CREATE | B, BODY_PART_CODE, BODY_SIDE_CODE, C, CLAIM_ID, CL_WORKER_INJURED_BODY_PART, F, I, ID, INJURY_NATURE_CODE, K, N |

## Sample SQL

```sql
Insert into CL_WORKER_INJURED_BODY_PART ( BODY_PART_CODE, BODY_SIDE_CODE, CLAIM_ID, INJURY_NATURE_CODE, PRIMARY_FLAG, PRIMARY_KEY_SUB_NUM, UPDATE_DATE, UPDATE_NUM, UPDATE_USER ) 
VALUES ( :BodyPartCode, :BodySideCode, :ClaimID, :InjuryNatureCode, :PrimaryFlag, :PrimaryKeySubNum, SYSDATE, 0, :UpdateUser)
```

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