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

# SQL-015: clsNationalDrugPrice

This statement supports `clsNationalDrugPrice` by executing a Update operation through inline.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-015 |
| **Operation type** | Update |
| **Execution method** | Inline SQL |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsNationalDrugPrice` |
| **Criteria property** | `UpdateSQL` |
| **Lifecycle method** | `BeforeUpdate` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:NationalDrugCode` | Input | Unknown | — | Passed from clsNationalDrugPrice via BeforeUpdate. |
| `:EffDate` | Input | Unknown | — | Passed from clsNationalDrugPrice via BeforeUpdate. |
| `:UpdateUser` | Input | Unknown | — | Passed from clsNationalDrugPrice via BeforeUpdate. |
| `:ExpDate` | Input | Unknown | — | Passed from clsNationalDrugPrice via BeforeUpdate. |
| `:AverageWholesaleUnitAmt` | Input | Unknown | — | Passed from clsNationalDrugPrice via BeforeUpdate. |

## Tables

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

## Sample SQL

```sql
Update CBP_NATIONAL_DRUG_PRICE
SET
    EXP_DATE = :ExpDate,
    AVERAGE_WHOLESALE_UNIT_AMT = :AverageWholesaleUnitAmt,
    UPDATE_USER = :UpdateUser,
    UPDATE_NUM = UPDATE_NUM + 1,
    UPDATE_DATE = SYSDATE
WHERE
    CBP_NATIONAL_DRUG_PRICE.NATIONAL_DRUG_CODE = :NationalDrugCode AND
    CBP_NATIONAL_DRUG_PRICE.EFF_DATE = :EffDate
```

## Operations and processes

- [clsNationalDrugPrice BeforeUpdate](../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/clsNationalDrugPrice.vb`
