SQL-020: Read operation
This document records the SQL used by Criteria in SAIF.Business.Claim.
Classification
Field
Value
SQL ID
SQL-020
Operation type
Read
Execution method
Inline
Database
Oracle
Schema
[unqualified]**
Command type
Text
Business object
Criteria
Criteria property
RetrieveSQL
Lifecycle method
BeforeRetrieve
Parameters
Parameter
Direction
Type
Max length
Description
:ClaimID
Input
Number
N/A
Binds ClaimID from active calling code or Oracle signature.
Tables
Table
Access
Columns used
CL_CLAIM_WORK_STATUS
READ
C, CLAIM_ID, CLAIM_WORK_STATUS_SEQ_NUM, CL_CLAIM_WORK_STATUS, D, F, FROM, ID, N, S, U, UPDATE_DATE
Sample SQL
Select CLAIM_ID as ClaimID , CLAIM_WORK_STATUS_SEQ_NUM as ClaimWorkStatusSeqNum , UPDATE_DATE as UpdateDate , UPDATE_NUM as UpdateNum , UPDATE_USER as UpdateUser , WORK_STATUS_CODE as WorkStatusCode , WORK_STATUS_DATE as WorkStatusDate
FROM CL_CLAIM_WORK_STATUS
WHERE CLAIM_ID = : ClaimID
AND CLAIM_WORK_STATUS_SEQ_NUM = ( Select max ( CLAIM_WORK_STATUS_SEQ_NUM )
FROM CL_CLAIM_WORK_STATUS
WHERE CLAIM_ID = : ClaimID )
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\clsClaimWorkStatus.vb