Insert a menu item row.
Classification
| Field |
Value |
| SQL ID |
SQL-MENU-014 |
| Operation type |
Create |
| Execution method |
Inline SQL |
| Database |
Oracle |
| Schema |
[unqualified]** |
| Command type |
Text |
| Business object |
clsMenuItem |
| Criteria property |
InsertSQL |
| Lifecycle method |
BeforeInsert |
Parameters
| Parameter |
Direction |
Type |
Max length |
Description |
:MenuItemSeqNum |
Input |
Decimal |
N/A |
Menu item key. |
: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. |
Tables
| Table |
Access |
Columns used |
| MENU_ITEM |
INSERT |
MENU_ITEM_SEQ_NUM, MENU_PAGE_SEQ_NUM, MENU_CATEGORY_CODE, TOOL_TIP_TXT, VISIBLE_FLAG, PAGE_ORDER_NUM, UPDATE_DATE, UPDATE_USER |
Sample SQL
INSERT INTO MENU_ITEM (
MENU_ITEM_SEQ_NUM,
MENU_PAGE_SEQ_NUM,
MENU_CATEGORY_CODE,
TOOL_TIP_TXT,
VISIBLE_FLAG,
PAGE_ORDER_NUM,
UPDATE_DATE,
UPDATE_USER)
VALUES (
:MenuItemSeqNum,
:MenuPageSeqNum,
:MenuCategoryCode,
:ToolTip,
:VisibleFlag,
:PageOrder,
SYSDATE,
:UserId)
Operations and processes
Business rules
Note: Statements marked with ** could not be confirmed; treat
as unknown until verified.
Sources
SAIF.Business.Menu\clsMenuItem.vb