index

Package nb_redistr_dflt_queue_rules

This package provides messaging support and field validations for the Labor Redistribution Default Queue API (NB_REDISTR_DFLT_QUEUE).


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                 ntrlrdq.ntrlrdq_id%TYPE,
                            p_ntrqprt_id         ntrlrdq.ntrlrdq_ntrqprt_id%TYPE,
                            p_seq_no             ntrlrdq.ntrlrdq_seq_no%TYPE,
                            p_grants_only_ind    ntrlrdq.ntrlrdq_grants_only_ind%TYPE,
                            p_approver_action    ntrlrdq.ntrlrdq_approver_action%TYPE,
                            p_user_id            ntrlrdq.ntrlrdq_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_elapsed_days       ntrlrdq.ntrlrdq_elapsed_days%TYPE,
                            p_data_origin        ntrlrdq.ntrlrdq_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_seq_no   A numeric value to specify an approval level. NUMBER(5,2) Required Key.
p_grants_only_ind   Indicator that determines if a participant is only added to the queue when funding sources are associated with grants. VARCHAR2(1) Required.
Y   Yes
N   No

p_approver_action   The actions available to a participant in the labor redistribution routing queue. Default action is Approve. VARCHAR2(1) Required.
A   Approve
F   FYI

p_user_id   The Oracle ID of the user who changed the record. VARCHAR2(30) Required.
p_elapsed_days   The number of days counted from the original payroll transaction date. This can only be entered for groups. If a transaction is greater than the number of days this group should be added to the queue with the selected action. NUMBER(3).
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      ntrlrdq.ntrlrdq_ntrqprt_id%TYPE,
                     p_seq_no          ntrlrdq.ntrlrdq_seq_no%TYPE,
                     p_grants_only_ind ntrlrdq.ntrlrdq_grants_only_ind%TYPE,
                     p_approver_action ntrlrdq.ntrlrdq_approver_action%TYPE,
                     p_user_id         ntrlrdq.ntrlrdq_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_elapsed_days    ntrlrdq.ntrlrdq_elapsed_days%TYPE DEFAULT NULL,
                     p_data_origin     ntrlrdq.ntrlrdq_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_seq_no   A numeric value to specify an approval level. NUMBER(5,2) Required Key.
p_grants_only_ind   Indicator that determines if a participant is only added to the queue when funding sources are associated with grants. VARCHAR2(1) Required.
Y   Yes
N   No

p_approver_action   The actions available to a participant in the labor redistribution routing queue. Default action is Approve. VARCHAR2(1) Required.
A   Approve
F   FYI

p_user_id   The Oracle ID of the user who changed the record. VARCHAR2(30) Required.
p_elapsed_days   The number of days counted from the original payroll transaction date. This can only be entered for groups. If a transaction is greater than the number of days this group should be added to the queue with the selected action. NUMBER(3).
p_data_origin   Source system that created or updated the row. VARCHAR2(30).