SQL-009: clsNationalDrugPrice
This statement supports clsNationalDrugPrice by executing a Read operation through inline.
Classification
Field
Value
SQL ID
SQL-009
Operation type
Read
Execution method
Inline SQL
Database
Oracle
Schema
[unqualified]**
Command type
Text
Business object
clsNationalDrugPrice
Criteria property
RetrieveSQL
Lifecycle method
BeforeRetrieve
Parameters
Parameter
Direction
Type
Max length
Description
:NationalDrugCode
Input
Unknown
—
Passed from clsNationalDrugPrice via BeforeRetrieve.
Tables
Sample SQL
Select
CBP_NATIONAL_DRUG_PRICE . NATIONAL_DRUG_CODE as NationalDrugCode ,
CBP_NATIONAL_DRUG_PRICE . EFF_DATE as EffDate ,
CBP_NATIONAL_DRUG_PRICE . EXP_DATE as ExpDate ,
CBP_NATIONAL_DRUG_PRICE . AVERAGE_WHOLESALE_UNIT_AMT as AverageWholesaleUnitAmt ,
CBP_NATIONAL_DRUG_PRICE . UPDATE_USER as UpdateUser ,
CBP_NATIONAL_DRUG_PRICE . UPDATE_NUM as UpdateNum ,
CBP_NATIONAL_DRUG_PRICE . UPDATE_DATE as UpdateDate
From CBP_NATIONAL_DRUG_PRICE
WHERE
CBP_NATIONAL_DRUG_PRICE . NATIONAL_DRUG_CODE = : NationalDrugCode
ORDER BY by eff_date desc
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/clsNationalDrugPrice.vb