﻿---
title: "SQL-082: Update billingdetailtypecode"
summary: Update billingdetailtypecode
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Premium
reference_type: package
---

# SQL-082: Update billingdetailtypecode

Update billingdetailtypecode in the context of `clsBillingDetailTypeCode`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-082 |
| **Operation type** | Update |
| **Execution method** | NonQuery |
| **Database** | Oracle |
| **Command type** | Text |
| **Schema** | [unqualified] |
| **Business object** | `clsBillingDetailTypeCode` |
| **Criteria property** | `UpdateSQL` |
| **Lifecycle method** | BeforeUpdate / AfterUpdate |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:Code` | Input | String* | *inferred/unknown* | Bind variable in clsBillingDetailTypeCode.UpdateSQL. |
| `:CodeDescr` | Input | String* | *inferred/unknown* | Bind variable in clsBillingDetailTypeCode.UpdateSQL. |
| `:CreateDate` | Input | Date | *inferred/unknown* | Bind variable in clsBillingDetailTypeCode.UpdateSQL. |
| `:CreateUser` | Input | String* | *inferred/unknown* | Bind variable in clsBillingDetailTypeCode.UpdateSQL. |
| `:UpdateDate` | Input | Date | *inferred/unknown* | Bind variable in clsBillingDetailTypeCode.UpdateSQL. |
| `:UpdateUser` | Input | Date | *inferred/unknown* | Bind variable in clsBillingDetailTypeCode.UpdateSQL. |
| `:BillingDetailMethodCode` | Input | String* | *inferred/unknown* | Bind variable in clsBillingDetailTypeCode.UpdateSQL. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [BILLING_DETAIL_TYPE_CODE](../database-tables.md#billing_detail_type_code) | UPDATE | See sample SQL |

## Sample SQL

```sql
Update BILLING_DETAIL_TYPE_CODE
SET
  CODE = :Code,
  CODE_DESCR = :CodeDescr,
  CREATE_DATE = :CreateDate,
  CREATE_USER = :CreateUser,
  UPDATE_DATE = :UpdateDate,
  UPDATE_USER = :UpdateUser,
  BILLING_DETAIL_METHOD_CODE = :BillingDetailMethodCode
WHERE
  BILLING_DETAIL_TYPE_CODE.CODE = :Code
```


> **Note:** Statements marked with * were inferred from code structure, naming conventions, or
> contextual evidence where direct confirmation was not available in source artifacts. Statements
> marked with ** could not be confirmed; treat as unknown until verified.

## Sources
- `Business/SAIF.Business.Policy.Premium/Billing/clsBillingDetailTypeCode.vb`
