Skip to content

SQL-012: clsNdcPriceHistoryCollection

This statement supports clsNdcPriceHistoryCollection by executing a Read operation through inline.

Classification

Field Value
SQL ID SQL-012
Operation type Read
Execution method Inline SQL
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsNdcPriceHistoryCollection
Criteria property RetrieveSQL
Lifecycle method BeforeRetrieve

Parameters

Parameter Direction Type Max length Description
:NationalDrugCode Input Unknown — Passed from clsNdcPriceHistoryCollection via BeforeRetrieve.

Tables

Table Access Columns used
CBP_NDC_PRICE_HISTORY Read Not enumerated directly in the stage findings.**

Sample SQL

Select
    CBP_NDC_PRICE_HISTORY.NATIONAL_DRUG_CODE as NationalDrugCode,
    CBP_NDC_PRICE_HISTORY.EFF_DATE as EffDate,
    CBP_NDC_PRICE_HISTORY.EXP_DATE as ExpDate,
    CBP_NDC_PRICE_HISTORY.AVERAGE_WHOLESALE_UNIT_AMT as AverageWholesaleUnitAmt,
    CBP_NDC_PRICE_HISTORY.UPDATE_USER as UpdateUser,
    CBP_NDC_PRICE_HISTORY.UPDATE_NUM as UpdateNum,
    CBP_NDC_PRICE_HISTORY.UPDATE_DATE as UpdateDate,
    CBP_NDC_PRICE_HISTORY.ARCHIVE_DATE as ArchiveDate,
    CBP_NDC_PRICE_HISTORY.ARCHIVE_REASON as ArchiveReason
From CBP_NDC_PRICE_HISTORY
WHERE
    CBP_NDC_PRICE_HISTORY.NATIONAL_DRUG_CODE = :NationalDrugCode

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/clsNdcPriceHistoryCollection.vb