Skip to content

SQL-031: clsApplicationCode

Updates an existing application code record in BUSONLINE_APPS_CODE. Note: the SQL text references :ApplicaitonPath (typo — missing 'p') while BeforeUpdate binds the correctly-named ApplicationPath parameter.

Classification

Field Value
SQL ID SQL-031
Operation type Update
Execution method Inline SQL
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsApplicationCode
Criteria property UpdateSQL
Lifecycle method BeforeUpdate / AfterUpdate

Parameters

Parameter Direction Type Max length Description
:Code Input String** 5 WHERE key bound from MyCriteria.Code.
:ApplicationPath Input String** 65 Application path bound from ApplicationPath.
:ActiveFlag Input String** 5 Active status bound from IsActive.ToY_N_String.

Tables

Table Access Columns used
BUSONLINE_APPS_CODE UPDATE CODE_DESCR, ACTIVE_CODE (WHERE CODE)

Sample SQL

Update BUSONLINE_APPS_CODE
Set CODE_DESCR = :ApplicaitonPath,
    ACTIVE_CODE = :ActiveFlag
Where CODE = :Code

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\clsApplicationCode.vb