---
title: "SQL-026: clsPharmacyEligibilityReport"
summary: Update statement for clsPharmacyEligibilityReport.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-07-28
library: SAIF.Business.Claim.Entry
reference_type: package
---

# SQL-026: clsPharmacyEligibilityReport

This statement supports `clsPharmacyEligibilityReport` by executing a Update operation through inline.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-026 |
| **Operation type** | Update |
| **Execution method** | Inline SQL |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsPharmacyEligibilityReport` |
| **Criteria property** | `UpdateSQL` |
| **Lifecycle method** | `BeforeUpdate` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:LastUpdateNum` | Input | Unknown | — | Passed from clsPharmacyEligibilityReport via BeforeUpdate. |
| `:UpdateNum` | Input | Unknown | — | Passed from clsPharmacyEligibilityReport via BeforeUpdate. |
| `:UpdateUser` | Input | Unknown | — | Passed from clsPharmacyEligibilityReport via BeforeUpdate. |
| `:UpdateDate` | Input | Unknown | — | Passed from clsPharmacyEligibilityReport via BeforeUpdate. |

## Tables

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

## Sample SQL

```sql
Update CL_PHARMACY_ELIGIBILITY_REPORT
SET
    ELIGIBILITY_STATUS_CODE = :EligibilityStatusCode,
    ELIGIBILITY_EFF_DATE = :EligibilityEffDate,
    PREV_ELIGIBILITY_STATUS_CODE = :PrevEligibilityStatusCode,
    PREV_ELIGIBILITY_EFF_DATE = :PrevEligibilityEffDate,
    TRANSMIT_DATE = :TransmitDate,
    MEDIMPACT_TRANSMIT_DATE = :MedImpactTransmitDate,
    UPDATE_NUM = :UpdateNum + 1,
    UPDATE_USER = :UpdateUser,
    UPDATE_DATE = :UpdateDate
WHERE
    claim_id = :ClaimID and
    UPDATE_NUM = :LastUpdateNum
```

## Operations and processes

- [clsPharmacyEligibilityReport BeforeUpdate](../operations/pharmacy-eligibility-crud.md)

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

## Sources

- `Business/SAIF.Business.Claim.Entry/clsPharmacyEligibility.vb`
