index

Package gb_gtvretp

Standard functions and procedures for Record type within a system that is using the general tables


Program units
f_code_exists   Determines if the code exists in the table
f_get_description   Returns description for the code

Cursors
gtvretp_c   Returns the record from the validation table.


gtvretp_c

CURSOR gtvretp_c(
    p_code  gtvretp.gtvretp_code%TYPE)
 RETURN gtvretp%ROWTYPE;

Returns the record from the validation table.


f_code_exists

FUNCTION f_code_exists(p_code gtvretp.gtvretp_code%TYPE) RETURN VARCHAR2

Determines if the code exists in the table

Parameters
p_code   Record type within system (e.g. Parent, Spouse, Employer, etc).

Returns
Y if found, otherwise N


f_get_description

FUNCTION f_get_description(p_code gtvretp.gtvretp_code%TYPE)
  RETURN VARCHAR2

Returns description for the code

Parameters
p_code   Record type within system (e.g. Parent, Spouse, Employer, etc).

Returns
Description