Skip to content

SQL-016: CriteriaBase

This statement supports CriteriaBase by executing a Read operation through inline.

Classification

Field Value
SQL ID SQL-016
Operation type Read
Execution method Inline SQL
Database Oracle
Schema [unqualified]**
Command type Text
Business object CriteriaBase
Criteria property CheckForMultipleClaimsForWorkerSQL
Lifecycle method CheckForMultipleClaimsForWorker

Parameters

Parameter Direction Type Max length Description
:WorkerID Input Unknown — Passed from CriteriaBase via CheckForMultipleClaimsForWorker.
:DoiMinus14days Input Unknown — Passed from CriteriaBase via CheckForMultipleClaimsForWorker.
:DoiPlus14days Input Unknown — Passed from CriteriaBase via CheckForMultipleClaimsForWorker.
:ClaimID Input Unknown — Passed from CriteriaBase via CheckForMultipleClaimsForWorker.

Tables

Table Access Columns used
CL_INJURY_CLAIM Read Not enumerated directly in the stage findings.**

Sample SQL

SELECT SAIF_CLAIM_NUM
FROM CL_INJURY_CLAIM clm
WHERE
    clm.WORKER_ID = :WorkerID AND
    clm.CLAIM_ID <> :ClaimID AND
    (clm.INJURY_DATE between :DOIMinus14Days and :DOIPlus14Days) AND
    clm.update_date = (SELECT MAX(clm2.update_date) FROM CL_INJURY_CLAIM clm2 WHERE clm2.WORKER_ID = :WorkerID AND clm2.CLAIM_ID <> :ClaimID AND (clm2.INJURY_DATE between :DOIMinus14Days and :DOIPlus14Days))

Operations and processes

Note: Statements marked with ** could not be confirmed; treat them as unknown until verified.

Sources

  • Business/SAIF.Business.Claim.Entry/clsClaimEntry.vb