Skip to content

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 Create Not enumerated directly in the stage findings.**

Sample 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

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