index

Package pb_ptvroes

Standard functions and procedures for Canadian ROE Special Payment Validation Table.


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

Cursors
ptvroes_c   Returns the record from the validation table.


ptvroes_c

CURSOR ptvroes_c(
    p_code  ptvroes.ptvroes_code%TYPE)
 RETURN ptvroes%ROWTYPE;

Returns the record from the validation table.


f_code_exists

Function f_code_exists(p_code ptvroes.ptvroes_code%TYPE) RETURN VARCHAR2

Determines if the code exists in the table

Parameters
p_code   Five digit code used to report the type of vacation pay being reported.

Returns
Y if found, otherwise N


f_get_description

Function f_get_description(p_code ptvroes.ptvroes_code%TYPE)
  RETURN VARCHAR2

Returns description for the code

Parameters
p_code   Five digit code used to report the type of vacation pay being reported.

Returns
Description