index

Package gp_gtvotyp_rules

Support subprograms for the GTVOTYP (gp_gtvotyp).


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_syst_code          gtvotyp.gtvotyp_syst_code%TYPE,
                            p_code               gtvotyp.gtvotyp_code%TYPE,
                            p_desc               gtvotyp.gtvotyp_desc%TYPE,
                            p_data_type          gtvotyp.gtvotyp_data_type%TYPE,
                            p_system_level_cde   gtvotyp.gtvotyp_system_level_cde%TYPE,
                            p_option_default     gtvotyp.gtvotyp_option_default%TYPE,
                            p_system_req_ind     gtvotyp.gtvotyp_system_req_ind%TYPE,
                            p_user_id            gtvotyp.gtvotyp_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_create_date        gtvotyp.gtvotyp_create_date%TYPE,
                            p_create_user        gtvotyp.gtvotyp_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_syst_code   Systems that are using the general tables (e.g. "Proxy", "event management"). VARCHAR2(30) Required Key
p_code   Option type within the system. VARCHAR2(30) Required Key
p_desc   Description of the option. VARCHAR2(120)
p_data_type   Date, varchar, number, indicator. VARCHAR2(20) Required
p_system_level_cde   S (system) means this is only valid at the system level; R (record also) means that system/record type combinations may be defined and used. VARCHAR2(1) Required
p_option_default   Default value to be used (suitably edited) if the system need it and canot find it elsewhere. VARCHAR2(60) Required
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_syst_code        gtvotyp.gtvotyp_syst_code%TYPE,
                     p_code             gtvotyp.gtvotyp_code%TYPE,
                     p_desc             gtvotyp.gtvotyp_desc%TYPE DEFAULT NULL,
                     p_data_type        gtvotyp.gtvotyp_data_type%TYPE,
                     p_system_level_cde gtvotyp.gtvotyp_system_level_cde%TYPE,
                     p_option_default   gtvotyp.gtvotyp_option_default%TYPE,
                     p_system_req_ind   gtvotyp.gtvotyp_system_req_ind%TYPE DEFAULT NULL,
                     p_user_id          gtvotyp.gtvotyp_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_create_date      gtvotyp.gtvotyp_create_date%TYPE DEFAULT NULL,
                     p_create_user      gtvotyp.gtvotyp_create_user%TYPE DEFAULT gb_common.f_sct_user)

Validates all data in the record.

Parameters
p_syst_code   Systems that are using the general tables (e.g. "Proxy", "event management"). VARCHAR2(30) Required Key
p_code   Option type within the system. VARCHAR2(30) Required Key
p_desc   Description of the option. VARCHAR2(120)
p_data_type   Date, varchar, number, indicator. VARCHAR2(20) Required
p_system_level_cde   S (system) means this is only valid at the system level; R (record also) means that system/record type combinations may be defined and used. VARCHAR2(1) Required
p_option_default   Default value to be used (suitably edited) if the system need it and canot find it elsewhere. VARCHAR2(60) Required
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)