index

Package gb_sde_discrim_value_rules

Support subprograms for the SDE_DISCRIM_VALUE (gb_sde_discrim_value).


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_sddc_code      gorsddv.gorsddv_sddc_code%TYPE,
                            p_disc           gorsddv.gorsddv_disc%TYPE,
                            p_desc           gorsddv.gorsddv_desc%TYPE,
                            p_user_id        gorsddv.gorsddv_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_data_origin    gorsddv.gorsddv_data_origin%TYPE,
                            /* 80-2 p_create_source             gorsddv.gorsddv_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_sddc_code   Discriminator Code of the Discriminator Value. VARCHAR2(30) Required Key
p_disc   Discriminator value that is allowed. VARCHAR2(192) Required Key
p_desc   Description for the discriminator value. VARCHAR2(192) Required
p_user_id   The unique identification of the user. VARCHAR2(90) Required
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_sddc_code   gorsddv.gorsddv_sddc_code%TYPE,
                     p_disc        gorsddv.gorsddv_disc%TYPE,
                     p_desc        gorsddv.gorsddv_desc%TYPE,
                     p_user_id     gorsddv.gorsddv_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_data_origin gorsddv.gorsddv_data_origin%TYPE DEFAULT NULL)

Validates all data in the record.

Parameters
p_sddc_code   Discriminator Code of the Discriminator Value. VARCHAR2(30) Required Key
p_disc   Discriminator value that is allowed. VARCHAR2(192) Required Key
p_desc   Description for the discriminator value. VARCHAR2(192) Required
p_user_id   The unique identification of the user. VARCHAR2(90) Required
p_data_origin   Source system that created or updated the row. VARCHAR2(90)