index

Package ab_atvdott

Standard functions and procedures for DOTT Codes Validation Table


Program units
f_code_exists   Determine if the code exists in the table
f_get_description   Return description for the code

Cursors
atvdott_c  


atvdott_c

CURSOR atvdott_c(
    p_code  atvdott.atvdott_code%TYPE)
 RETURN atvdott%ROWTYPE;

f_code_exists

Function f_code_exists(p_code atvdott.atvdott_code%TYPE) RETURN VARCHAR2

Determine if the code exists in the table

Parameters
p_code   Occupation code.

Returns
Y if found, otherwise N


f_get_description

Function f_get_description(p_code atvdott.atvdott_code%TYPE)
  RETURN VARCHAR2

Return description for the code

Parameters
p_code   Occupation code.

Returns
Description