index

Package gp_gtvretp_rules

Support subprograms for the GTVRETP (gp_gtvretp).


Program units
p_register_entity   Register the attribute value pairs to the message cache for delete operations.
p_register_entity   Registers the attribute/value pairs to the message cache for create and update operations.
p_validate   Validates all data in the record.


p_register_entity

PROCEDURE p_register_entity(p_operation_type     NUMBER,
                            p_internal_record_id gb_common.internal_record_id_type)

Register the attribute value pairs to the message cache for delete operations.
This signature uses the ROWID only, for delete operations.

Parameters
p_operation_type   Type of DML operation: create,update,delete. NUMBER Required
p_internal_record_id   Database ROWID VARCHAR2(18) required


p_register_entity

PROCEDURE p_register_entity(p_operation_type     NUMBER,
                            p_code               gtvretp.gtvretp_code%TYPE,
                            p_desc               gtvretp.gtvretp_desc%TYPE,
                            p_system_req_ind     gtvretp.gtvretp_system_req_ind%TYPE,
                            p_user_id            gtvretp.gtvretp_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_create_date        gtvretp.gtvretp_create_date%TYPE,
                            p_create_user        gtvretp.gtvretp_create_user%TYPE DEFAULT gb_common.f_sct_user,
                            p_internal_record_id gb_common.internal_record_id_type)

Registers the attribute/value pairs to the message cache for create and update operations.
 
This signature registers all parameters.

Parameters
p_operation_type   Type of DML operation: create,update,delete. NUMBER Required
p_code   Record type within system (e.g. Parent, Spouse, Employer, etc). VARCHAR2(30) Required Key
p_desc   Description of the system. VARCHAR2(60)
p_system_req_ind   System required indicator (informational only). VARCHAR2(1)
p_user_id   The ID for the user that most recently updated the record. VARCHAR2(30)
p_create_date   This field contains date new record created. DATE
p_create_user   This field contains Banner User ID which created new record. VARCHAR2(30)
p_internal_record_id   Database ROWID VARCHAR2(18) required


p_validate

PROCEDURE p_validate(p_code           gtvretp.gtvretp_code%TYPE,
                     p_desc           gtvretp.gtvretp_desc%TYPE DEFAULT NULL,
                     p_system_req_ind gtvretp.gtvretp_system_req_ind%TYPE DEFAULT NULL,
                     p_user_id        gtvretp.gtvretp_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_create_date    gtvretp.gtvretp_create_date%TYPE DEFAULT NULL,
                     p_create_user    gtvretp.gtvretp_create_user%TYPE DEFAULT gb_common.f_sct_user)

Validates all data in the record.

Parameters
p_code   Record type within system (e.g. Parent, Spouse, Employer, etc). VARCHAR2(30) Required Key
p_desc   Description of the system. VARCHAR2(60)
p_system_req_ind   System required indicator (informational only). VARCHAR2(1)
p_user_id   The ID for the user that most recently updated the record. VARCHAR2(30)
p_create_date   This field contains date new record created. DATE
p_create_user   This field contains Banner User ID which created new record. VARCHAR2(30)