Skip to content

SQL-082: Update Provider Service Contract

Updates an existing provider service contract record in Oracle.

Classification

Field Value
SQL ID SQL-082
Operation type Update
Execution method Inline
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsProviderServiceContract
Criteria property UpdateSQL
Lifecycle method BeforeUpdate

Parameters

Parameter Direction Type Max length Description
:EffDate Input Date N/A Value from EffDate
:PurchaseCode Input clsSmartString 5 Value from m_PurchaseCode
:DiscountRate Input clsSmartDecimal N/A Value from m_DiscountRate
:AdditionalFeeDiscountRate Input clsSmartDecimal N/A Value from m_AdditionalFeeDiscountRate
:MaxChargeAmt Input clsSmartDecimal N/A Value from m_MaxChargeAmt
:ExpDate Input clsSmartDate N/A Value from m_ExpDate
:CBPServiceCode Input clsSmartString 11 Value from m_CBPServiceCode
:ServiceCode Input clsSmartString 5 Value from m_ServiceCode
:ServiceTypeCode Input clsSmartString 5 Value from m_ServiceTypeCode
:MCOPlanID Input clsSmartString 5 Value from m_MCOPlanID
:ProviderLocationSeqNum Input Decimal N/A Value from ProviderLocationSeqNum
:ContactName Input clsSmartString 60 Value from m_ContactName
:ServiceModifierCode Input clsSmartString 5 Value from m_ServiceModifierCode
:ProvServiceContractSeqNum Input Decimal N/A Value from ProvServiceContractSeqNum
:UpdateUser Input String 30 Value from UpdateUser
:UpdateNum Input Decimal N/A Value from UpdateNum
:UpdateDate Input Date N/A Value from UpdateDate

Tables

Table Access Columns used
PROVIDER_SERVICE_CONTRACT UPDATE See business-object criteria for key columns.

Sample SQL

Update PROVIDER_SERVICE_CONTRACT Set PROV_SERVICE_CONTRACT_SEQ_NUM = :ProvServiceContractSeqNum, PURCHASE_CODE = :PurchaseCode, DISCOUNT_RATE = :DiscountRate, ADDITIONAL_FEE_DISCOUNT_RATE = :AdditionalFeeDiscountRate, MAX_CHARGE_AMT = :MaxChargeAmt, EFF_DATE = :EffDate, EXP_DATE = :ExpDate, CBP_SERVICE_CODE = :CBPServiceCode, SERVICE_CODE = :ServiceCode, SERVICE_TYPE_CODE = :ServiceTypeCode, MCO_PLAN_ID = :MCOPlanID, PROVIDER_LOCATION_SEQ_NUM = :ProviderLocationSeqNum, UPDATE_USER = :UpdateUser, UPDATE_NUM = UPDATE_NUM + 1, UPDATE_DATE = :UpdateDate, CONTACT_NAME = :ContactName, SERVICE_MODIFIER_CODE = :ServiceModifierCode Where PROVIDER_SERVICE_CONTRACT.PROV_SERVICE_CONTRACT_SEQ_NUM = :ProvServiceContractSeqNum AND UPDATE_NUM = :UpdateNum

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

Sources

  • Business\SAIF.Business.Provider\clsProviderServiceContract.vb