---
title: SQL-071: Update Provider Dcbs Cost Charge
summary: Updates an existing provider dcbs cost charge record in Oracle.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.Provider
reference_type: package
---

# SQL-071: Update Provider Dcbs Cost Charge

Updates an existing provider dcbs cost charge record in Oracle.

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| :CostChargeFactor | Input | Decimal | N/A | Value from `CostChargeFactor` |
| :ExpDate | Input | clsSmartDate | N/A | Value from `m_ExpDate` |
| :UpdateUser | Input | String | 30 | Value from `UpdateUser` |
| :UpdateNum | Input | Decimal | N/A | Value from `UpdateNum` |
| :UpdateDate | Input | Date | N/A | Value from `UpdateDate` |
| :ProviderLocationSeqNum | Input | Decimal | N/A | Value from `ProviderLocationSeqNum` |
| :EffDate | Input | Date | N/A | Value from `EffDate` |
| :OriginalEffDate | Input | Date | N/A | Value from `m_OriginalEffDate` |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [PROVIDER_DCBS_COST_CHARGE](../database-tables.md#provider_dcbs_cost_charge) | UPDATE | See business-object criteria for key columns. |

## Sample SQL

```sql
Update PROVIDER_DCBS_COST_CHARGE Set PROVIDER_LOCATION_SEQ_NUM = :ProviderLocationSeqNum, EFF_DATE = :EffDate, COST_CHARGE_FACTOR = :CostChargeFactor, EXP_DATE = :ExpDate, UPDATE_USER = :UpdateUser, UPDATE_NUM = UPDATE_NUM + 1, UPDATE_DATE = :UpdateDate Where PROVIDER_DCBS_COST_CHARGE.PROVIDER_LOCATION_SEQ_NUM = :ProviderLocationSeqNum AND PROVIDER_DCBS_COST_CHARGE.EFF_DATE = :OriginalEffDate and UPDATE_NUM = :UpdateNum
```

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

## Sources
- `Business\SAIF.Business.Provider\clsProviderDcbsCostCharge.vb`
