index

Package gb_race_ethnicity_rules

Support subprograms for the RACE_ETHNICITY (gb_race_ethnicity).


Program units
p_register_entity   Registers 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 the 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)

Registers the attribute/value pairs to the message cache for delete operations.
This signature uses the ROWID only, for the 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_race_cde           gorrace.gorrace_race_cde%TYPE,
                            p_desc               gorrace.gorrace_desc%TYPE,
                            p_user_id            gorrace.gorrace_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_rrac_code          gorrace.gorrace_rrac_code%TYPE,
                            p_edi_equiv          gorrace.gorrace_edi_equiv%TYPE,
                            p_lms_equiv          gorrace.gorrace_lms_equiv%TYPE,
                            p_data_origin        gorrace.gorrace_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_race_cde   Race code referenced on the Person Identification Forms. The codes are institution defined. VARCHAR2(3) Required Key
p_desc   Race description associated with the race code. VARCHAR2(60) Required
p_user_id   Oracle User ID of the person who last inserted or last updated the data. VARCHAR2(30) Required
p_rrac_code   Regulatory race code. VARCHAR2(1)
p_edi_equiv   EDI/SPEEDE race code that equates to the race code. VARCHAR2(1)
p_lms_equiv   LMS (IA Plus) race code that equates to this Banner race code. Translation to this LMS code occurs during the LMS transaction feed from Banner FA. VARCHAR2(1)
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_race_cde    gorrace.gorrace_race_cde%TYPE,
                     p_desc        gorrace.gorrace_desc%TYPE,
                     p_user_id     gorrace.gorrace_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_rrac_code   gorrace.gorrace_rrac_code%TYPE DEFAULT NULL,
                     p_edi_equiv   gorrace.gorrace_edi_equiv%TYPE DEFAULT NULL,
                     p_lms_equiv   gorrace.gorrace_lms_equiv%TYPE DEFAULT NULL,
                     p_data_origin gorrace.gorrace_data_origin%TYPE DEFAULT NULL)

Validates all the data in the record.

Parameters
p_race_cde   race code referenced on the Person Identification Forms. The codes are institution defined. VARCHAR2(3) Required Key
p_desc   race description associated with the race code. VARCHAR2(60) Required
p_user_id   Oracle User ID of the person who last inserted or last updated the data. VARCHAR2(30) Required
p_rrac_code   Regulatory race code. VARCHAR2(1)
p_edi_equiv   EDI/SPEEDE race code that equates to the race code. VARCHAR2(1)
p_lms_equiv   LMS (IA Plus) race code that equates to this Banner race code. Translation to this LMS code occurs during the LMS transaction feed from Banner FA. VARCHAR2(1)
p_data_origin   Source system that created or updated the row. VARCHAR2(30)