index

Package gb_sde_discriminator_rules

Support subprograms for the SDE_DISCRIMINATOR (gb_sde_discriminator).


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_code           gobsddc.gobsddc_code%TYPE,
                            p_desc           gobsddc.gobsddc_desc%TYPE,
                            p_method         gobsddc.gobsddc_method%TYPE,
                            p_user_id        gobsddc.gobsddc_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_validation     gobsddc.gobsddc_validation%TYPE,
                            p_data_origin    gobsddc.gobsddc_data_origin%TYPE,
                            /* 80-2 p_create_source             gobsddc.gobsddc_create_source%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_code   Discriminator Code. VARCHAR2(30) Required Key
p_desc   Description for the discriminator. VARCHAR2(192) Required
p_method   This field indicates how to discriminate.I for Index, S for Select Statement, U for user defined in table GORSDDV. VARCHAR2(3) Required
p_user_id   The unique identification of the user. VARCHAR2(90) Required
p_validation   Select statement to build a list of values or the maximum Index. VARCHAR2(3072)
p_data_origin   Source system that created or updated the row. VARCHAR2(90)
p_internal_record_id   Database ROWID VARCHAR2(18) required


p_validate

PROCEDURE p_validate(p_code        gobsddc.gobsddc_code%TYPE,
                     p_desc        gobsddc.gobsddc_desc%TYPE,
                     p_method      gobsddc.gobsddc_method%TYPE,
                     p_user_id     gobsddc.gobsddc_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_validation  gobsddc.gobsddc_validation%TYPE DEFAULT NULL,
                     p_data_origin gobsddc.gobsddc_data_origin%TYPE DEFAULT NULL)

Validates all data in the record.

Parameters
p_code   Discriminator Code. VARCHAR2(30) Required Key
p_desc   Description for the discriminator. VARCHAR2(192) Required
p_method   This field indicates how to discriminate.I for Index, S for Select Statement, U for user defined in table GORSDDV. VARCHAR2(3) Required
p_user_id   The unique identification of the user. VARCHAR2(90) Required
p_validation   Select statement to build a list of values or the maximum Index. VARCHAR2(3072)
p_data_origin   Source system that created or updated the row. VARCHAR2(90)