﻿---
title: "SQL-052: Retrieve paymentplandefaultvalues collection"
summary: Retrieve paymentplandefaultvalues collection
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Premium
reference_type: package
---

# SQL-052: Retrieve paymentplandefaultvalues collection

Retrieve paymentplandefaultvalues collection in the context of `clsPaymentPlanDefaultValuesCollection`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-052 |
| **Operation type** | Read |
| **Execution method** | Reader/Scalar |
| **Database** | Oracle |
| **Command type** | Text |
| **Schema** | [unqualified] |
| **Business object** | `clsPaymentPlanDefaultValuesCollection` |
| **Criteria property** | `RetrieveSQL` |
| **Lifecycle method** | BeforeRetrieve / AfterRetrieve |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:PaymentPlanType` | Input | Unknown* | *inferred/unknown* | Bind variable in clsPaymentPlanDefaultValuesCollection.RetrieveSQL. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [BILLING_DEFAULTS](../database-tables.md#billing_defaults) | SELECT | See sample SQL |

## Sample SQL

```sql
SELECT
  BILLING_DEFAULTS.PAYMENT_PLAN_TYPE as PaymentPlanType,
  BILLING_DEFAULTS.BILLING_DEFAULT_CODE as PaymentPlanDefaultCode,
  BILLING_DEFAULTS.PLAN_DESCR as PlanDescription
FROM BILLING_DEFAULTS
WHERE
  BILLING_DEFAULTS.PAYMENT_PLAN_TYPE = :PaymentPlanType
```


> **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.Policy.Premium/Billing/clsPaymentPlanDefaultValuesCollection.vb`
