SQL-034: Insert Provider Service Contract
Inserts a new provider service contract record into Oracle.
Classification
| Field |
Value |
| SQL ID |
SQL-034 |
| Operation type |
Create |
| Execution method |
Inline |
| Database |
Oracle |
| Schema |
[unqualified]** |
| Command type |
Text |
| Business object |
clsProviderServiceContract |
| Criteria property |
InsertSQL |
| Lifecycle method |
BeforeInsert |
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
Sample SQL
Insert into PROVIDER_SERVICE_CONTRACT ( PROV_SERVICE_CONTRACT_SEQ_NUM, PURCHASE_CODE, DISCOUNT_RATE, ADDITIONAL_FEE_DISCOUNT_RATE, MAX_CHARGE_AMT, EFF_DATE, EXP_DATE, CBP_SERVICE_CODE, SERVICE_CODE, SERVICE_TYPE_CODE, MCO_PLAN_ID, PROVIDER_LOCATION_SEQ_NUM, UPDATE_USER, UPDATE_NUM, UPDATE_DATE, CONTACT_NAME, SERVICE_MODIFIER_CODE ) Values ( :ProvServiceContractSeqNum, :PurchaseCode, :DiscountRate, :AdditionalFeeDiscountRate, :MaxChargeAmt, :EffDate, :ExpDate, :CBPServiceCode, :ServiceCode, :ServiceTypeCode, :MCOPlanID, :ProviderLocationSeqNum, :UpdateUser, :UpdateNum, :UpdateDate, :ContactName, :ServiceModifierCode)
Note: Statements marked with ** could not be confirmed; treat as unknown until verified.
Sources
Business\SAIF.Business.Provider\clsProviderServiceContract.vb