index

Package gb_person_race_rules

Support subprograms for the PERSON_RACE (gb_person_race).


Program units
p_register_entity   Register the attribute value pairs to the message cache for delete operations.
p_register_entity   Register 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)

Register 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_pidm               gorprac.gorprac_pidm%TYPE,
                            p_race_cde           gorprac.gorprac_race_cde%TYPE,
                            p_user_id            gorprac.gorprac_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_data_origin        gorprac.gorprac_data_origin%TYPE,
                            p_internal_record_id gb_common.internal_record_id_type)

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

Parameters
p_operation_type   Type of DML operation: create,update,delete. NUMBER Required
p_pidm   Internal System Identification Number. NUMBER(8) Required Key
p_race_cde   institution defined race code on GORRACE . VARCHAR2(3) Required Key
p_user_id   User who inserted or last updated the data. VARCHAR2(30) Required
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        gorprac.gorprac_pidm%TYPE,
                     p_race_cde    gorprac.gorprac_race_cde%TYPE,
                     p_user_id     gorprac.gorprac_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_data_origin gorprac.gorprac_data_origin%TYPE DEFAULT NULL)

Validates all the data in the record.

Parameters
p_pidm   Internal System Identification Number. NUMBER(8) Required Key
p_race_cde   institution defined race code on GORRACE . VARCHAR2(3) Required Key
p_user_id   User who inserted or last updated the data. VARCHAR2(30) Required
p_data_origin   Source system that created or updated the row. VARCHAR2(30)