SQL-037: Criteria
This document records the SQL used by Criteria in SAIF.Business.Claim.Bill.
Classification
Field
Value
SQL ID
SQL-037
Operation type
Update
Execution method
Inline
Database
Oracle
Schema
[unqualified]**
Command type
Text
Business object
Criteria
Criteria property
UpdateSQL
Lifecycle method
BeforeUpdate
Parameters
Parameter
Direction
Type
Max length
Description
:CbpServiceCode
Input
String
N/A
Binds CbpServiceCode from active calling code or Oracle signature.
:BillServiceTypeCode
Input
String
N/A
Binds BillServiceTypeCode from active calling code or Oracle signature.
:PrimaryProcedureCode
Input
String
N/A
Binds PrimaryProcedureCode from active calling code or Oracle signature.
:ProcedureDate
Input
Date
N/A
Binds ProcedureDate from active calling code or Oracle signature.
:UpdateUser
Input
Date
N/A
Binds UpdateUser from active calling code or Oracle signature.
:UpdateDate
Input
Date
N/A
Binds UpdateDate from active calling code or Oracle signature.
:BillID
Input
Number
N/A
Binds BillID from active calling code or Oracle signature.
:BillProcedureID
Input
Number
N/A
Binds BillProcedureID from active calling code or Oracle signature.
:UpdateNumber
Input
Date
N/A
Binds UpdateNumber from active calling code or Oracle signature.
Tables
Table
Access
Columns used
CBP_BILL_PROCEDURE
UPDATE
AND, B, BILL_ID, BILL_PROCEDURE_SEQ_NUM, BILL_SERVICE_TYPE_CODE, C, CBP_BILL_PROCEDURE, CBP_SERVICE_CODE, D, ID, N, P
Sample SQL
Update CBP_BILL_PROCEDURE
SET CBP_SERVICE_CODE = : CbpServiceCode , BILL_SERVICE_TYPE_CODE = : BillServiceTypeCode , PRIMARY_PROCEDURE_CODE = : PrimaryProcedureCode , PROCEDURE_DATE = : ProcedureDate , UPDATE_USER = : UpdateUser , UPDATE_NUM = UPDATE_NUM + 1 , UPDATE_DATE = : UpdateDate
WHERE CBP_BILL_PROCEDURE . BILL_ID = : BillID
AND CBP_BILL_PROCEDURE . BILL_PROCEDURE_SEQ_NUM = : BillProcedureID
AND CBP_BILL_PROCEDURE . UPDATE_NUM = : UpdateNumber
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.Bill\Core\clsBillProcedure.vb