---
title: "SQL-076: clsPaymentPostingCollection"
summary: Read statement for clsPaymentPostingCollection.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-07-28
library: SAIF.Business.Claim.Payment
reference_type: package
---

# SQL-076: clsPaymentPostingCollection

This statement supports `clsPaymentPostingCollection` by executing a Read operation through inline.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-076 |
| **Operation type** | Read |
| **Execution method** | Inline SQL |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsPaymentPostingCollection` |
| **Criteria property** | `Retrieve2SQL` |
| **Lifecycle method** | `BeforeRetrieve` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:inPaymentTranType` | Input | Unknown | — | Passed from clsPaymentPostingCollection via BeforeRetrieve. |
| `:inFinTranStatusCode` | Input | Unknown | — | Passed from clsPaymentPostingCollection via BeforeRetrieve. |
| `recordset` | Output | REF CURSOR | — | Passed from clsPaymentPostingCollection via BeforeRetrieve. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [CL_PAYMENT_POSTING](../database-tables.md#cl_payment_posting) | Read | Not enumerated directly in the stage findings.** |

## Sample SQL

```sql
SELECT
    PP.CLAIM_FINANCIAL_TRANS_SEQ_NUM AS ClaimFinancialTransSeqNum,
    PP.CLAIM_ID AS ClaimID,
    PP.FINANCIAL_TRANS_TYPE_CODE AS FinancialTransTypeCode,
    PP.PAYMENT_ID AS PaymentID,
    PP.PAYMENT_TRANS_NUM_TYPE_CODE AS PaymentTransNumTypeCode,
    PP.PAYMENT_TRANS_STAT_SEQ_NUM AS PaymentTransStatSeqNum,
    PP.TRANSACTION_AMOUNT AS TransactionAmount,
    FT.SAIF_AWARD_NUM AS SAIFAwardNum,
    FT.BENEFIT_PAYMENT_SUB_NUM AS BenefitPaymentSeqNum,
    IC.SAIF_CLAIM_NUM AS saifClaimNum,
    FT.CLAIM_PAYEE_TYPE_CODE AS PayeeTypeCode,
    FT.PAYEE_TIN AS PayeeTin,
    nvl(FT.FEDERAL_BENEFIT_FLAG,'N') as FederalBenefitFlag
FROM CL_PAYMENT_POSTING PP , CL_FINANCIAL_TRANS FT , CL_INJURY_CLAIM IC
WHERE
    FT.CLAIM_FINANCIAL_TRANS_SEQ_NUM = PP.CLAIM_FINANCIAL_TRANS_SEQ_NUM AND
    FT.FINANCIAL_TRANS_TYPE_CODE = PP.FINANCIAL_TRANS_TYPE_CODE AND
    FT.CLAIM_ID = IC.CLAIM_ID
```

## Operations and processes

- [clsPaymentPostingCollection BeforeRetrieve](../operations/payment-posting-and-totals-management.md)

> **Note:** Statements marked with `**` could not be confirmed; treat them as unknown until verified.

## Sources

- `Business/SAIF.Business.Claim.Payment/FinancialTransaction/clsPaymentPostingCollection.vb`
