index

Package nb_queue_group_rules

This package provides messaging support and field validations for the Routing Queue Group API (NB_QUEUE_GROUP).


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                 ntrqgrp.ntrqgrp_id%TYPE,
                            p_ntrqprt_id         ntrqgrp.ntrqgrp_ntrqprt_id%TYPE,
                            p_member_user_id     ntrqgrp.ntrqgrp_member_user_id%TYPE,
                            p_user_id            ntrqgrp.ntrqgrp_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_data_origin        ntrqgrp.ntrqgrp_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_ntrqprt_id   Internally system-generated unique identification number which represents the primary key of the parent record. NUMBER(19) Required Key.
p_member_user_id   User ID of a member of the routing queue group. VARCHAR2(30) Required Key.
p_user_id   The Oracle ID of the user who changed 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_ntrqprt_id     ntrqgrp.ntrqgrp_ntrqprt_id%TYPE,
                     p_member_user_id ntrqgrp.ntrqgrp_member_user_id%TYPE,
                     p_user_id        ntrqgrp.ntrqgrp_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_data_origin    ntrqgrp.ntrqgrp_data_origin%TYPE DEFAULT NULL)

Validates all data in the record.

Parameters
p_ntrqprt_id   Internally system-generated unique identification number which represents the primary key of the parent record. NUMBER(19) Required Key.
p_member_user_id   User ID of a member of the routing queue group. VARCHAR2(30) Required Key.
p_user_id   The Oracle ID of the user who changed the record. VARCHAR2(30) Required.
p_data_origin   Source system that created or updated the row. VARCHAR2(30).