index

Package gp_gtvdtyp_rules

Support subprograms for the GTVDTYP (gp_gtvdtyp).


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               gtvdtyp.gtvdtyp_code%TYPE,
                            p_desc               gtvdtyp.gtvdtyp_desc%TYPE,
                            p_process            gtvdtyp.gtvdtyp_process%TYPE,
                            p_process_seq        gtvdtyp.gtvdtyp_process_seq%TYPE,
                            p_system_req_ind     gtvdtyp.gtvdtyp_system_req_ind%TYPE,
                            p_user_id            gtvdtyp.gtvdtyp_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_create_date        gtvdtyp.gtvdtyp_create_date%TYPE,
                            p_create_user        gtvdtyp.gtvdtyp_create_user%TYPE DEFAULT gb_common.f_sct_user,
                            p_data_origin        gtvdtyp.gtvdtyp_data_origin%TYPE,
                            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.
@param p_operation_type Type of DML operation: create,update,delete. NUMBER Required
@param p_code Data type within Banner that can be populated (e.g. Basic Person, Proxy, Advancement, etc). VARCHAR2(30) Required Key
@param p_desc Description of the system. VARCHAR2(60)
@param p_process An optional package.function name that can be used as a user exit to perform specific logic to load data.
The function must be designed to accept the following parameters: GENBPSH_GIDM NUMBER(8), GENBPSH_SYST_CODE VARCHAR2(30), GENBPSH_RETP_CODE VARCHAR2(30), GENBPSH_DTYP_CODE VARCHAR2(30), GENIDEN_PIDM NUMBER(8) and return a VARCHAR2(500) that will be NULL on a successful process or an error message if applicable. VARCHAR2(100)
@param p_process_seq The sequence in which the GTVDTYP_PROCESS will be called. Duplicates are allowed, and if so, the processes will be called in alphabetical order within sequence number. NUMBER(3)
@param p_system_req_ind System required indicator (informational only). VARCHAR2(1)
@param p_user_id The ID for the user that most recently updated the record. VARCHAR2(30)
@param p_create_date This field contains date new record created. DATE
@param p_create_user This field contains Banner User ID which created new record. VARCHAR2(30)
@param p_data_origin Source system that created or updated the data. VARCHAR2(30)
@param p_internal_record_id Database ROWID VARCHAR2(18) required


p_validate

PROCEDURE p_validate(p_code           gtvdtyp.gtvdtyp_code%TYPE,
                     p_desc           gtvdtyp.gtvdtyp_desc%TYPE DEFAULT NULL,
                     p_process        gtvdtyp.gtvdtyp_process%TYPE DEFAULT NULL,
                     p_process_seq    gtvdtyp.gtvdtyp_process_seq%TYPE DEFAULT NULL,
                     p_system_req_ind gtvdtyp.gtvdtyp_system_req_ind%TYPE DEFAULT NULL,
                     p_user_id        gtvdtyp.gtvdtyp_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_create_date    gtvdtyp.gtvdtyp_create_date%TYPE DEFAULT NULL,
                     p_create_user    gtvdtyp.gtvdtyp_create_user%TYPE DEFAULT gb_common.f_sct_user,
                     p_data_origin    gtvdtyp.gtvdtyp_data_origin%TYPE DEFAULT NULL)

Validates all data in the record.
@param p_code Data type within Banner that can be populated (e.g. Basic Person, Proxy, Advancement, etc). VARCHAR2(30) Required Key
@param p_desc Description of the system. VARCHAR2(60)
@param p_process An optional package.function name that can be used as a user exit to perform specific logic to load data.
The function must be designed to accept the following parameters: GENBPSH_GIDM NUMBER(8), GENBPSH_SYST_CODE VARCHAR2(30), GENBPSH_RETP_CODE VARCHAR2(30), GENBPSH_DTYP_CODE VARCHAR2(30), GENIDEN_PIDM NUMBER(8) and return a VARCHAR2(500) that will be NULL on a successful process or an error message if applicable. VARCHAR2(100)
@param p_process_seq The sequence in which the GTVDTYP_PROCESS will be called. Duplicates are allowed, and if so, the processes will be called in alphabetical order within sequence number. NUMBER(3)
@param p_system_req_ind System required indicator (informational only). VARCHAR2(1)
@param p_user_id The ID for the user that most recently updated the record. VARCHAR2(30)
@param p_create_date This field contains date new record created. DATE
@param p_create_user This field contains Banner User ID which created new record. VARCHAR2(30)
@param p_data_origin Source system that created or updated the data. VARCHAR2(30)