index

Package gb_stvcitz

Standard functions and procedures for Citizen Type Validation Table


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

Cursors
stvcitz_c  


stvcitz_c

CURSOR stvcitz_c(
    p_code  stvcitz.stvcitz_code%TYPE)
 RETURN stvcitz%ROWTYPE;

f_code_exists

FUNCTION f_code_exists(p_code stvcitz.stvcitz_code%TYPE) RETURN VARCHAR2

Determine if the code exists in the table

Parameters
p_code   Citizen Type Code.

Returns
Y if found, otherwise N


f_get_description

FUNCTION f_get_description(p_code stvcitz.stvcitz_code%TYPE)
  RETURN VARCHAR2

Return description for the code

Parameters
p_code   Citizen Type Code.

Returns
Description