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

# SQL-078: clsPaymentTotalManager

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

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `—` | — | — | — | No explicit bind parameters were found in the matched caller. |

## Tables

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

## Sample SQL

```sql
Select
    CL_PAYMENT_TOTAL.CL_PAYMENT_TOTAL_SEQ_NUM as PaymentTotalID,
    CL_PAYMENT_TOTAL.CLAIM_ID as ClaimID,
    CL_PAYMENT_TOTAL.PAYMENT_TOTAL_EFFECTIVE_DATE as EffectiveDate,
    CL_PAYMENT_TOTAL.CLAIM_COST_CATEGORY_CODE as ClaimCostCategoryCode,
    CL_PAYMENT_TOTAL.PAYMENT_TOTAL_SUB_NUMBER as PaymentTotalSubNumber,
    CL_PAYMENT_TOTAL.BASELINE_AMOUNT_FLAG as BaselineAmountFlag,
    CL_PAYMENT_TOTAL.CATEGORY_PAYMENT_AMT as CategoryPaymentAmount,
    CL_PAYMENT_TOTAL.TIMELOSS_DAY_QTY as TimelossDayQuantity,
    CL_PAYMENT_TOTAL.UPDATE_DATE as UpdateDate,
    CL_PAYMENT_TOTAL.UPDATE_USER as UpdateUser,
    CL_PAYMENT_TOTAL.UPDATE_NUM as UpdateNumber
From CL_PAYMENT_TOTAL
WHERE
    CL_PAYMENT_TOTAL.CL_PAYMENT_TOTAL_SEQ_NUM = ( Select Max(CL_PAYMENT_TOTAL_SEQ_NUM) From CL_PAYMENT_TOTAL Where CLAIM_ID = :ClaimID and CLAIM_COST_CATEGORY_CODE = :ClaimCostCategory )
```

## Operations and processes

- [clsPaymentTotalManager BeforeRetrieve](../operations/financial-transaction-and-remark-management.md)

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

## Sources

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