---
title: "SQL-010: CollectionsRepository.GetPolicyAddress"
summary: Read operation for CollectionsRepository
status: draft
owner: SAIF.Core documentation team
last_reviewed: 2026-09-24
library: SAIF.Data.NHibernate
reference_type: package
---


# SQL-010: CollectionsRepository.GetPolicyAddress

This statement is a read operation invoked through StoredProc (named query Collections_GetPolicyAddress). Executed by `CollectionsRepository.GetPolicyAddress`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-010 |
| **Operation type** | Read |
| **Execution method** | StoredProc (named query `Collections_GetPolicyAddress`) |
| **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** | `GetPolicyAddress` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:debtor_seq_num_in` | Input | NUMBER (.NET `long`) | N/A | Debtor id |
| `recordset` | Output | REF CURSOR → `DebtorContactInfo` | N/A | Result set |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [LEGAL_COLLECTION_DEBTOR](../database-tables.md#legal_collection_debtor) | Read | See Sample SQL |
| [LEGAL_COLLECTION](../database-tables.md#legal_collection) | Read | See Sample SQL |
| [LOCATION](../database-tables.md#location) | Read | See Sample SQL |

## Sample SQL

Source: `Data/SAIF.Data.NHibernate/Mappings/Collections/Collections.hbm.xml:27`

```sql
{ call PK80010_LEGAL_COLLECTIONS.GET_POLICY_ADDRESS(:debtor_seq_num_in) }
```

## Operations and processes

- [Collections case lookups](../operations/collections-case-lookups.md)

## Business rules

- [PROC-RULE-008](../business-rules.md#proc-rule-008-debtor-location-precedence)

> **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:60`
