---
title: "SQL-006: Retrieve US Bank nonpay notices by policy"
summary: Retrieve nonpayment notices for a policy-scoped collection.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.EPay.USBank
reference_type: package
---

# SQL-006: Retrieve US Bank nonpay notices by policy

Retrieve nonpayment-notice rows for a policy-scoped collection load.

## Classification

| Field | Value |
| --- | --- |
| SQL ID | SQL-006 |
| Operation type | Read |
| Execution method | Inline SQL (collection `Load`) |
| Database | Oracle |
| Schema | Unqualified in library SQL |
| Command type | Text |
| Business object | `clsUSBankNonpayNoticeCollection` |
| Criteria property | `N/A - local sql variable` |
| Lifecycle method | `GetNotices` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:PolicyNum` | Input | Decimal | N/A | Policy-scoped filter for collection retrieval. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [US_BANK_NONPAY_NOTICE](../database-tables.md#us_bank_nonpay_notice) | SELECT | `US_BANK_NONPAY_NOTICE_SEQ_NUM`, `US_BANK_USER_SEQ_NUM`, `POLICY_NUM`, `ONLINE_PAYMENT_TYPE_CODE`, `BANKING_NETWORK_CODE`, `PAYMENT_AMT`, `NOTICE_DATE`, `EVENT_DESCR` |

## Sample SQL

```sql
SELECT
    US_BANK_NONPAY_NOTICE.US_BANK_NONPAY_NOTICE_SEQ_NUM AS USBankNonpayNoticeSeqNum,
    US_BANK_NONPAY_NOTICE.US_BANK_USER_SEQ_NUM AS USBankUserSeqNum,
    US_BANK_NONPAY_NOTICE.POLICY_NUM AS PolicyNum,
    US_BANK_NONPAY_NOTICE.ONLINE_PAYMENT_TYPE_CODE AS OnlinePaymentTypeCode,
    US_BANK_NONPAY_NOTICE.BANKING_NETWORK_CODE AS BankingNetworkCode,
    US_BANK_NONPAY_NOTICE.PAYMENT_AMT AS PaymentAmt,
    US_BANK_NONPAY_NOTICE.NOTICE_DATE AS NoticeDate,
    US_BANK_NONPAY_NOTICE.EVENT_DESCR AS EventDescr
FROM US_BANK_NONPAY_NOTICE
WHERE US_BANK_NONPAY_NOTICE.POLICY_NUM = :PolicyNum
```

## Operations and processes
- [Persist and retrieve SAIF-side integration records](../operations/saif-side-user-and-notice-persistence.md)

## Sources
- `Business\SAIF.Business.EPay.USBank\clsUSBankNonpayNotice.vb`

