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

# SQL-016: Insert billingdetailtypecode

Insert billingdetailtypecode in the context of `clsBillingDetailTypeCode`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-016 |
| **Operation type** | Insert |
| **Execution method** | NonQuery |
| **Database** | Oracle |
| **Command type** | Text |
| **Schema** | [unqualified] |
| **Business object** | `clsBillingDetailTypeCode` |
| **Criteria property** | `InsertSQL` |
| **Lifecycle method** | BeforeInsert / AfterInsert |

## Parameters

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

## Tables

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

## Sample SQL

```sql
Insert into BILLING_DETAIL_TYPE_CODE (
  CODE,
  CODE_DESCR,
  CREATE_DATE,
  CREATE_USER,
  UPDATE_DATE,
  UPDATE_USER,
  BILLING_DETAIL_METHOD_CODE
)
VALUES (
  :Code,
  :CodeDescr,
  :CreateDate,
  :CreateUser,
  :UpdateDate,
  :UpdateUser,
  :BillingDetailMethodCode
)
```


> **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`
