Skip to content

SQL-013: Read operation

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

Classification

Field Value
SQL ID SQL-013
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
:BenefitPaymentSeqNum Input Number N/A Binds BenefitPaymentSeqNum from active calling code or Oracle signature.
:ClaimID Input Number N/A Binds ClaimID from active calling code or Oracle signature.

Tables

Table Access Columns used
CL_BENEFIT_SCHEDULE READ AND, B, BENEFIT_PAYMENT_SEQ_NUM, C, CLAIM_ID, CL_BENEFIT_SCHEDULE, D, F, I, ID, N, NEXT_ISSUE_DATE

Sample SQL

Select CL_BENEFIT_SCHEDULE.BENEFIT_PAYMENT_SEQ_NUM as BenefitPaymentSeqNum, CL_BENEFIT_SCHEDULE.CLAIM_ID as ClaimID, CL_BENEFIT_SCHEDULE.NEXT_ISSUE_DATE as NextIssueDate, CL_BENEFIT_SCHEDULE.RELEASED_PAYMENT_COUNT as ReleasedPaymentCount, CL_BENEFIT_SCHEDULE.REMAINING_PAYMENT_COUNT as RemainingPaymentCount, CL_BENEFIT_SCHEDULE.UPDATE_DATE as UpdateDate, CL_BENEFIT_SCHEDULE.UPDATE_NUM as UpdateNum, CL_BENEFIT_SCHEDULE.UPDATE_USER as UpdateUser 
FROM CL_BENEFIT_SCHEDULE 
WHERE CL_BENEFIT_SCHEDULE.BENEFIT_PAYMENT_SEQ_NUM = :BenefitPaymentSeqNum 
  AND CL_BENEFIT_SCHEDULE.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\clsActiveBenefitSchedule.vb