---
title: "SQL-MENU-016: Update menu item"
summary: "Update a menu item row."
status: draft
owner: SAIF documentation team
last_reviewed: 2026-08-17
library: SAIF.Business.Menu
reference_type: package
---

# SQL-MENU-016: Update menu item

Update a menu item row.

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:MenuPageSeqNum` | Input | Decimal | N/A | Menu page key. |
| `:MenuCategoryCode` | Input | String | 5 | Menu category code. |
| `:ToolTip` | Input | String | 1000 | Item tooltip text. |
| `:VisibleFlag` | Input | String | 1 | Y/N visible flag. |
| `:PageOrder` | Input | Decimal | N/A | Display order. |
| `:UserId` | Input | String | 30 | Audit user. |
| `:MenuItemSeqNum` | Input | Decimal | N/A | Menu item key. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [MENU_ITEM](../database-tables.md#menuitem) | UPDATE | `MENU_PAGE_SEQ_NUM`, `MENU_CATEGORY_CODE`, `TOOL_TIP_TXT`, `VISIBLE_FLAG`, `PAGE_ORDER_NUM`, `UPDATE_DATE`, `UPDATE_USER`, `MENU_ITEM_SEQ_NUM` |

## Sample SQL

```sql
UPDATE MENU_ITEM
SET
  MENU_PAGE_SEQ_NUM = :MenuPageSeqNum,
  MENU_CATEGORY_CODE = :MenuCategoryCode,
  TOOL_TIP_TXT = :ToolTip,
  VISIBLE_FLAG = :VisibleFlag,
  PAGE_ORDER_NUM = :PageOrder,
  UPDATE_DATE = SYSDATE,
  UPDATE_USER = :UserId
WHERE MENU_ITEM.MENU_ITEM_SEQ_NUM = :MenuItemSeqNum
```

## Operations and processes
- [Maintain a menu item together with its security-group assignments](../operations/maintain-menu-item-security.md)

## Business rules
- [BR-MENU-001: Optimistic contention on write](../business-rules.md#br-menu-001-optimistic-contention-on-write)

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

## Sources
- `SAIF.Business.Menu\clsMenuItem.vb`
