Skip to content

SQL-040: Retrieve M C O Plan

Retrieves m c o plan data from Oracle.

Classification

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

Parameters

Parameter Direction Type Max length Description
:MCOPlanID Input String 2 Value from MyCriteria.MCOPlanID

Tables

Table Access Columns used
MCO_PLAN SELECT See business-object criteria for key columns.

Sample SQL

Select MCO_PLAN.MCO_PLAN_ID as MCOPlanID, MCO_PLAN.MCO_CERT_NUM as McoCertNum, MCO_PLAN.EFF_DATE as EffDate, MCO_PLAN.EXP_DATE as ExpDate, MCO_PLAN.APPLY_DISCOUNT_CODE as ApplyDiscountCode, MCO_PLAN.APPLY_ADMIN_FEE_CODE as ApplyAdminFeeCode, MCO_PLAN.CASE_MANAGEMENT_FEE_AMT as CaseManagementFeeAmt, MCO_PLAN.PROVIDER_LOCATION_SEQ_NUM as ProviderLocationSeqNum, MCO_PLAN.UPDATE_USER as UpdateUser, MCO_PLAN.UPDATE_NUM as UpdateNum, MCO_PLAN.UPDATE_DATE as UpdateDate, MCO_PLAN.CASE_MANAGEMENT_LATE_FEE_AMT as CaseManagementLateFeeAmt, MCO_PLAN.MCO_SHORT_DESCR as McoShortDescr From MCO_PLAN Where MCO_PLAN.MCO_PLAN_ID = :MCOPlanID

Note: Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • Business\SAIF.Business.Provider\clsMCOPlan.vb