Skip to content

SQL-036 Retrieve injured body parts for a claim

Retrieves all injured body-part rows for a claim into the injured-body-part collection.

Classification

Field Value
SQL ID SQL-036
Operation type Read
Execution method Inline SQL
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsWorkerInjuredBodyPartCollection
Criteria property RetrieveSQL
Lifecycle method BeforeRetrieve

Parameters

Parameter Direction Type Max length Description
ClaimID Input Decimal — Claim identifier

Tables

Table Access Columns used
CL_WORKER_INJURED_BODY_PART SELECT CLAIM_ID

Sample SQL

-- Retrieve injured body parts for claim
Select CL_WORKER_INJURED_BODY_PART.*
  From CL_WORKER_INJURED_BODY_PART
 Where CLAIM_ID = :ClaimID

Operations and processes

Business rules

Sources

  • SAIF.Business.Claim/clsWorkerInjuredBodyPartCollection.vb