---
title: "SQL-070: clsCustomerNote"
summary: Update statement for clsCustomerNote.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.CustomerContact
reference_type: package
---

# SQL-070: clsCustomerNote

This statement supports `clsCustomerNote` by executing a update operation against COMPANY_NOTE.

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:NoteText` | Input | String | 4000 | Free-form note text |
| `:CustomerID` | Input | Decimal | N/A | Customer primary key |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [COMPANY_NOTE](../database-tables.md#company-note) | UPDATE | COMPANY_SEQ_NUM, NOTE_TEXT |

## Sample SQL

```sql
Update COMPANY_NOTE Set NOTE_TEXT = :NoteText Where COMPANY_NOTE.COMPANY_SEQ_NUM = :CustomerID
```

## Operations and processes
- [Long-note persistence](../operations/long-note-persistence.md)

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

## Sources
- `Business\SAIF.Business.CustomerContact\Customer\clsCustomerNote.vb`
