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 |
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
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
Business rules
Note: Statements marked with ** could not be confirmed; treat
as unknown until verified.
Sources
SAIF.Business.Menu\clsMenuItem.vb