Skip to content

SQL-011: clsNdcPriceHistory

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

Classification

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

Parameters

Parameter Direction Type Max length Description
:NationalDrugCode Input Unknown — Passed from clsNdcPriceHistory via BeforeRetrieve.
:EffectiveDate Input Unknown — Passed from clsNdcPriceHistory 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 ArchiveDateCBP_NDC_PRICE_HISTORY.ARCHIVE_REASON as ArchiveReason
From CBP_NDC_PRICE_HISTORY
WHERE
    CBP_NDC_PRICE_HISTORY.NATIONAL_DRUG_CODE = :NationalDrugCode AND
    CBP_NDC_PRICE_HISTORY.EFF_DATE = :EffectiveDate

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