index

Package gb_gtvuoms

Standard functions and procedures for Unit of Measure Validation Table


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

Cursors
gtvuoms_c  


gtvuoms_c

CURSOR gtvuoms_c(
    p_code  gtvuoms.gtvuoms_code%TYPE)
 RETURN gtvuoms%ROWTYPE;

f_code_exists

FUNCTION f_code_exists(p_code gtvuoms.gtvuoms_code%TYPE) RETURN VARCHAR2

Determine if the code exists in the table

Parameters
p_code   A code representing the unit of measure used in height and weight.

Returns
Y if found, otherwise N


f_get_description

FUNCTION f_get_description(p_code gtvuoms.gtvuoms_code%TYPE)
  RETURN VARCHAR2

Return description for the code

Parameters
p_code   A code representing the unit of measure used in height and weight.

Returns
Description