Skip to content

SQL-006: Insert menu category code

Inserts a new category code and description into the MENU_CATEGORY_CODE table.

Classification

Field Value
SQL ID SQL-006
Operation type Create
Execution method Inline SQL
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsMenuCategoryCode
Criteria property InsertSQL
Lifecycle method BeforeInsert / AfterInsert

Parameters

Parameter Direction Type Max length Description
:Code Input String** 5 Category code key bound from Code.
:CodeDescr Input String** 100 Description bound from Description.

Tables

Table Access Columns used
MENU_CATEGORY_CODE INSERT CODE, CODE_DESCR

Sample SQL

Insert into MENU_CATEGORY_CODE ( CODE, CODE_DESCR  )
Values ( :Code, :CodeDescr )

Operations and processes

Business rules

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.Menu\clsMenuCategoryCode.vb