---
title: "SQL-003: clsNdcPriceHistory"
summary: Create statement for clsNdcPriceHistory.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-07-28
library: SAIF.Business.Claim.MedicalBill
reference_type: package
---

# SQL-003: clsNdcPriceHistory

This statement supports `clsNdcPriceHistory` by executing a Create operation through inline.

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:NationalDrugCode` | Input | Unknown | — | Passed from clsNdcPriceHistory via BeforeInsert. |
| `:EffDate` | Input | Unknown | — | Passed from clsNdcPriceHistory via BeforeInsert. |
| `:ExpDate` | Input | Unknown | — | Passed from clsNdcPriceHistory via BeforeInsert. |
| `:AverageWholesaleUnitAmt` | Input | Unknown | — | Passed from clsNdcPriceHistory via BeforeInsert. |
| `:ArchiveDate` | Input | Unknown | — | Passed from clsNdcPriceHistory via BeforeInsert. |
| `:ArchiveReason` | Input | Unknown | — | Passed from clsNdcPriceHistory via BeforeInsert. |
| `:UpdateUser` | Input | Unknown | — | Passed from clsNdcPriceHistory via BeforeInsert. |
| `:UpdateNum` | Input | Unknown | — | Passed from clsNdcPriceHistory via BeforeInsert. |
| `:UpdateDate` | Input | Unknown | — | Passed from clsNdcPriceHistory via BeforeInsert. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [CBP_NDC_PRICE_HISTORY](../database-tables.md#cbp_ndc_price_history) | Create | Not enumerated directly in the stage findings.** |

## Sample SQL

```sql
Insert into CBP_NDC_PRICE_HISTORY (
    NATIONAL_DRUG_CODE,
    EFF_DATE,
    EXP_DATE,
    AVERAGE_WHOLESALE_UNIT_AMT,
    UPDATE_USER,
    UPDATE_NUM,
    UPDATE_DATE,
    ARCHIVE_DATE,
    ARCHIVE_REASON
) VALUES (
    :NationalDrugCode,
    :EffDate,
    :ExpDate,
    :AverageWholesaleUnitAmt,
    :UpdateUser,
    :UpdateNum,
    :UpdateDate,
    :ArchiveDate,
    :ArchiveReason
)
```

## Operations and processes

- [clsNdcPriceHistory BeforeInsert](../operations/drug-pricing-data-management.md)

> **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.MedicalBill/clsNdcPriceHistory.vb`
