Skip to content

SQL-004: CollectionsRepository.GetCasesByReferenceNumber

This statement is a read operation invoked through StoredProc (named query Collections_GetCasesByReferenceNumber). Executed by CollectionsRepository.GetCasesByReferenceNumber.

Classification

Field Value
SQL ID SQL-004
Operation type Read
Execution method StoredProc (named query Collections_GetCasesByReferenceNumber)
Database Oracle
Schema WCIS_DBA* (package owner; unqualified inside package); [unqualified]**
Command type StoredProcedure
Business object CollectionsRepository
Criteria property N/A — no IBusinessCriteria
Lifecycle method GetCasesByReferenceNumber

Parameters

Parameter Direction Type Max length Description
:reference_id_in Input VARCHAR2 (.NET string) N/A** Case, policy or claim reference
recordset Output REF CURSOR → CaseHeader N/A Result set

Tables

Table Access Columns used
LEGAL_COLLECTION Read See Sample SQL
LEGAL_COLLECTION_CODE Read See Sample SQL
POLICY Read See Sample SQL

Sample SQL

Source: Data/SAIF.Data.NHibernate/Mappings/Collections/Collections.hbm.xml:7

{ call PK80010_LEGAL_COLLECTIONS.GET_CASES_BY_REFERENCE(:reference_id_in) }

Operations and processes

Business rules

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

  • Data/SAIF.Data.NHibernate/Repositories/CollectionsRepository.cs:16