index

Package nb_proxy_module_rules

This package provides messaging support and field validations for the Proxy Module API (NB_PROXY_MODULE).


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 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 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_id                 ntrprxm.ntrprxm_id%TYPE,
                            p_ntrprxy_id         ntrprxm.ntrprxm_ntrprxy_id%TYPE,
                            p_prxm_code          ntrprxm.ntrprxm_prxm_code%TYPE,
                            p_user_id            ntrprxm.ntrprxm_user_id%TYPE,
                            p_data_origin        ntrprxm.ntrprxm_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_id   Internally system-generated unique identification number which represents the primary key of the database record. NUMBER(19) Required.
p_ntrprxy_id   Internally system-generated unique identification number which represents the primary key of the parent record. NUMBER(19) Required Key.
p_prxm_code   Code to identify a specific Proxy Module. VARCHAR2(8) Required Key.
p_user_id   The Oracle ID of the user who changed the record. VARCHAR2(30).
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_ntrprxy_id  ntrprxm.ntrprxm_ntrprxy_id%TYPE,
                     p_prxm_code   ntrprxm.ntrprxm_prxm_code%TYPE,
                     p_user_id     ntrprxm.ntrprxm_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_data_origin ntrprxm.ntrprxm_data_origin%TYPE DEFAULT NULL)

Validates all data in the record.

Parameters
p_ntrprxy_id   Internally system-generated unique identification number which represents the primary key of the parent record. NUMBER(19) Required Key.
p_prxm_code   Code to identify a specific Proxy Module. VARCHAR2(8) Required Key.
p_user_id   The Oracle ID of the user who changed the record. VARCHAR2(30).
p_data_origin   Source system that created or updated the row. VARCHAR2(30).