index

Package gb_institution_role_rules

Support subprograms for the INSTITUTION_ROLE (gb_institution_role).


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_validate_maintain_request   Validates input parameters for maintain roles procedure.


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_pidm               gorirol.gorirol_pidm%TYPE,
                            p_role_group         gorirol.gorirol_role_group%TYPE,
                            p_role               gorirol.gorirol_role%TYPE,
                            p_user_id            gorirol.gorirol_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_vpdi_code          gorirol.gorirol_vpdi_code%TYPE,
                            p_data_origin        gorirol.gorirol_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.

Parameters
p_operation_type   Type of DML operation: create,update,delete. NUMBER Required
p_pidm   NUMBER(8) Required Key
p_role_group   VARCHAR2(30) Required Key
p_role   Institution Role name. VARCHAR2(30) Required Key
p_user_id   The unique identification of the user. VARCHAR2(30) Required
p_vpdi_code   Institution Codes for the Banner System. VARCHAR2(6)
p_data_origin   Source system that created or updated the row. VARCHAR2(30)
p_internal_record_id   Database ROWID VARCHAR2(18) required


p_validate

PROCEDURE p_validate(p_pidm        gorirol.gorirol_pidm%TYPE,
                     p_role_group  gorirol.gorirol_role_group%TYPE,
                     p_role        gorirol.gorirol_role%TYPE,
                     p_user_id     gorirol.gorirol_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_vpdi_code   gorirol.gorirol_vpdi_code%TYPE DEFAULT NULL,
                     p_data_origin gorirol.gorirol_data_origin%TYPE DEFAULT NULL)

Validates all data in the record.

Parameters
p_pidm   NUMBER(8) Required Key
p_role_group   VARCHAR2(30) Required Key
p_role   Institution Role name. VARCHAR2(30) Required Key
p_user_id   The unique identification of the user. VARCHAR2(30) Required
p_vpdi_code   Institution Codes for the Banner System. VARCHAR2(6)
p_data_origin   Source system that created or updated the row. VARCHAR2(30)


p_validate_maintain_request

PROCEDURE p_validate_maintain_request(p_pidm       gorirol.gorirol_pidm%TYPE,
                                      p_role_group gorirol.gorirol_role_group%TYPE,
                                      p_role       gorirol.gorirol_role%TYPE := NULL)

Validates input parameters for maintain roles procedure.

Parameters
p_pidm   NUMBER(8) Required Key
p_role_group   VARCHAR2(30) Required Key
p_role   Institution Role name. VARCHAR2(30) Required Key