index

Package gb_stvpent

Standard functions and procedures for Port of Entry Validation Table


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

Cursors
stvpent_c   Returns the record from the validation table.


stvpent_c

CURSOR stvpent_c(
    p_code  stvpent.stvpent_code%TYPE)
 RETURN stvpent%ROWTYPE;

Returns the record from the validation table.


f_code_exists

FUNCTION f_code_exists(p_code stvpent.stvpent_code%TYPE) RETURN VARCHAR2

Determines if the code exists in the table

Parameters
p_code   Port of entry code referenced on the International Info. Form (GOAINTL).

Returns
Y if found, otherwise N


f_get_description

FUNCTION f_get_description(p_code stvpent.stvpent_code%TYPE)
  RETURN VARCHAR2

Returns description for the code

Parameters
p_code   Port of entry code referenced on the International Info. Form (GOAINTL).

Returns
Description