SQL-016: US_CLAIM_UNIT collection by policy unit
This SQL statement implements the US_CLAIM_UNIT collection by policy unit data-access path for clsClaimUnitCollection in SAIF.Business.UnitStat. It participates in the read lifecycle handled by BeforeRetrieve.
Classification
Field
Value
SQL ID
SQL-016
Operation type
Read
Execution method
Inline
Database
Oracle
Schema
[unqualified]**
Command type
Text
Business object
clsClaimUnitCollection
Criteria property
RetrieveSQL
Lifecycle method
BeforeRetrieve
Parameters
Parameter
Direction
Type
Max length
Description
:PolicyUnitSeqNum
Input
Decimal/SmartDecimal
N/A
Policy unit primary key / parent foreign key.
Tables
Sample SQL
Select US_CLAIM_UNIT . US_POLICY_UNIT_SEQ_NUM as PolicyUnitSeqNum ,
US_CLAIM_UNIT . CLAIM_ID as ClaimID ,
US_CLAIM_UNIT . ACTIVE_UNIT_FLAG as ActiveUnitFlag ,
US_CLAIM_UNIT . VALUE_CODE as ValueCode ,
US_CLAIM_UNIT . UPDATE_USER as UpdateUser ,
US_CLAIM_UNIT . UPDATE_DATE as UpdateDate ,
US_CLAIM_UNIT . UPDATE_NUM as UpdateNumber ,
US_CLAIM_UNIT . REPORTED_FATAL_FLAG as ReportedFatalFlag ,
US_CLAIM_UNIT . REPORTED_CLOSED_FLAG as ReportedClosedFlag ,
US_CLAIM_UNIT . FINAL_DENIAL_DATE as FinalDenialDate ,
US_CLAIM_UNIT . PREFERRED_WORKER_FLAG as PreferredWorkerFlag
From US_CLAIM_UNIT
Where US_CLAIM_UNIT . US_POLICY_UNIT_SEQ_NUM = : PolicyUnitSeqNum
Operations and processes
Note: Statements marked with ** could not be confirmed; treat as unknown until verified.
Sources
Business\SAIF.Business.UnitStat\clsClaimUnitCollection.vb