index

Package gb_cm_disp_hier_rules

Support subprograms for the Common Matching Display Hierarchy API (gb_cm_disp_hier).


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

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, or delete. NUMBER Required
p_internal_record_id   Database ROWID VARCHAR2(18) required


p_register_entity

PROCEDURE p_register_entity(p_operation_type     NUMBER,
                            p_cmsc_code          gorcmdh.gorcmdh_cmsc_code%TYPE,
                            p_hier_type          gorcmdh.gorcmdh_hier_type%TYPE,
                            p_hier_seq_no        gorcmdh.gorcmdh_hier_seq_no%TYPE,
                            p_hier_code          gorcmdh.gorcmdh_hier_code%TYPE,
                            p_user_id            gorcmdh.gorcmdh_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_data_origin        gorcmdh.gorcmdh_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, or delete. NUMBER Required
p_cmsc_code   The Common Matching Source Code. VARCHAR2(20) Required Key
p_hier_type   Contains one of three values: ATYP for Address Type, EMAL for E-mail Type, or TELE for Telephone Type. VARCHAR2(4) Required Key
p_hier_seq_no   Sequence of the Hierarchy code within the Hierarchy type. NUMBER(2) Required
p_hier_code   Hierarchy code for the Hierarchy type. Validated against STVATYP, GTVEMAL, or STVTELE. VARCHAR2(4) Required
p_user_id   User ID of the User who created or last updated the record. 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_cmsc_code   gorcmdh.gorcmdh_cmsc_code%TYPE,
                     p_hier_type   gorcmdh.gorcmdh_hier_type%TYPE,
                     p_hier_seq_no gorcmdh.gorcmdh_hier_seq_no%TYPE,
                     p_hier_code   gorcmdh.gorcmdh_hier_code%TYPE,
                     p_user_id     gorcmdh.gorcmdh_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_data_origin gorcmdh.gorcmdh_data_origin%TYPE DEFAULT NULL)

Validates all the data in the record.

Parameters
p_cmsc_code   The Common Matching Source Code. VARCHAR2(20) Required Key
p_hier_type   Contains one of three values: ATYP for Address Type, EMAL for E-mail Type, or TELE for Telephone Type. VARCHAR2(4) Required Key
p_hier_seq_no   Sequence of the Hierarchy code within the Hierarchy type. NUMBER(2) Required
p_hier_code   Hierarchy code for the Hierarchy type. Validated against STVATYP, GTVEMAL, or STVTELE. VARCHAR2(4) Required
p_user_id   User ID of the User who created or last updated the record. VARCHAR2(30) Required
p_data_origin   Source system that created or updated the row. VARCHAR2(30)