Skip to content

SQL-021: clsAccidentInjury

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

Classification

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

Parameters

Parameter Direction Type Max length Description
:WorkerID Input Unknown — Passed from clsAccidentInjury via CheckForMultipleClaimsForWorker.
:DoiMinus14days Input Unknown — Passed from clsAccidentInjury via CheckForMultipleClaimsForWorker.
:DoiPlus14days Input Unknown — Passed from clsAccidentInjury via CheckForMultipleClaimsForWorker.
:ClaimID Input Unknown — Passed from clsAccidentInjury 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 * 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.Maintenance/clsAccidentInjury.vb