Skip to content

Hints on Constants

Missing module_ declaration in package specification

Editor provides a warning if the 'module_' declaration is missing in the package specification.

Actions Available:

  • Insert module_ declaration.
  • Add an IgnoreMissingModuleDec.

module_ is not correct

Editor provides a warning if the 'module_' declared in package specification is not same as the parent folder name.

Actions Available:

  • Correct the module_.
  • Add an IgnoreWrongModule.

Missing lu_name_ declaration in package specification

Editor provides a warning if the 'lu_name_' declaration is missing in the package specification.

Actions Available:

  • Insert lu_name_ declaration.
  • Add an IgnoreMissingLuDec.

lu_name_ should be the same as the file name

Editor provides a warning if the 'lu_name_' declared in package specification is not same as the file name.

Actions Available:

  • Correct the lu_name_.
  • Add an IgnoreWrongLuName.

Global variables are not allowed, only constants with static values

Editor provides warnings on global variables that are not constants. Global variables that are values returned by Language_SYS, are excepted here.

Example of Incorrect Code:

lu_name_ CONSTANT VARCHAR2(25) := '&LU'; ���  
lu_type_ VARCHAR2(6) := 'Entity';  

Example of Correct Code:

lu_name_ CONSTANT VARCHAR2(25) := '&LU'; ���  
lu_type_ CONSTANT VARCHAR2(6) := 'Entity';  

Actions Available:

  • Add an IgnoreGlobalVariable.