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

# SQL-010: Create operation

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

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-010 |
| **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 |
| --- | --- | --- | --- | --- |
| `:BillStatusID` | Input | Number | N/A | Binds BillStatusID from active calling code or Oracle signature. |
| `:BillID` | Input | Number | N/A | Binds BillID from active calling code or Oracle signature. |
| `:StatusCode` | Input | String | N/A | Binds StatusCode from active calling code or Oracle signature. |
| `:EffectiveDate` | Input | Date | N/A | Binds EffectiveDate from active calling code or Oracle signature. |
| `:NextReviewDate` | Input | Date | N/A | Binds NextReviewDate from active calling code or Oracle signature. |
| `:ResponsiblePartyID` | Input | Number | N/A | Binds ResponsiblePartyID from active calling code or Oracle signature. |
| `:UpdateUser` | Input | Date | N/A | Binds UpdateUser from active calling code or Oracle signature. |
| `:UpdateDate` | Input | Date | N/A | Binds UpdateDate from active calling code or Oracle signature. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [CBP_BILL_STATUS](../database-tables.md#cbp_bill_status) | CREATE | B, BILL_ID, BILL_STATUS_ID, C, CBP_BILL_STATUS, CBP_BILL_STATUS_CODE, D, E, I, ID, N, NEXT_REVIEW_DATE |

## Sample SQL

```sql
Insert into CBP_BILL_STATUS ( BILL_STATUS_ID, BILL_ID, CBP_BILL_STATUS_CODE, STATUS_EFF_DATE, NEXT_REVIEW_DATE, RESPONSIBLE_PARTY_ID, UPDATE_USER, UPDATE_NUM, UPDATE_DATE ) 
VALUES ( :BillStatusID, :BillID, :StatusCode, :EffectiveDate, :NextReviewDate, :ResponsiblePartyID, :UpdateUser, 0, :UpdateDate)
```

> **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.Bill\Core\clsBillStatus.vb`
