Skip to content

SQL-019: Read operation

This document records the SQL used by Criteria in SAIF.Business.Claim.

Classification

Field Value
SQL ID SQL-019
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_RELEASE_STATUS READ C, CLAIM_ID, CLAIM_WORK_REL_STATUS_SEQ_NUM, CL_CLAIM_WORK_RELEASE_STATUS, D, F, FROM, ID, N, R, S, U

Sample SQL

Select CLAIM_ID as ClaimID, CLAIM_WORK_REL_STATUS_SEQ_NUM as ClaimWorkRelStatusSeqNum, UPDATE_DATE as UpdateDate, UPDATE_NUM as UpdateNum, UPDATE_USER as UpdateUser, WORK_RELEASE_CODE as WorkReleaseCode, WORK_RELEASE_DATE as WorkReleaseDate 
FROM CL_CLAIM_WORK_RELEASE_STATUS 
WHERE CLAIM_ID = :ClaimID 
  AND CLAIM_WORK_REL_STATUS_SEQ_NUM = (Select max(CLAIM_WORK_REL_STATUS_SEQ_NUM)
FROM CL_CLAIM_WORK_RELEASE_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\clsClaimWorkReleaseStatus.vb