index

Package nb_ea_group_category_rules

This package provides messaging support and field validations for the Electronic Approvals Group Category API.


Program units
p_register_entity   Register the attribute value pairs to the message cache for delete operations.
p_register_entity   Register the attribute/value pairs to the message cache for create and update operations.
p_validate   Validates all data in the Electronic Approvals Group Category 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     IN NUMBER,
                            p_agrp_code          IN ntragrp.ntragrp_agrp_code%TYPE,
                            p_acat_code          IN ntragrp.ntragrp_acat_code%TYPE,
                            p_user_id            IN ntragrp.ntragrp_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_data_origin        IN ntragrp.ntragrp_data_origin%TYPE,
                            p_internal_record_id IN gb_common.internal_record_id_type)

Register the attribute/value pairs to the message cache for create and update operations.
 
This signature registers the all Electronic Approvals Group Category parameters.

Parameters
p_operation_type   Type of DML operation: create, update, delete. NUMBER Required.
p_agrp_code   A group code that identifies a group of approval categories when originating an Electronic Approval transaction. VARCHAR2(8) Required Key.
p_acat_code   Approval category code to be used by an originator to create an Electronic Approval transaction. VARCHAR2(6) Required Key.
p_user_id   The Oracle ID of the person who entered 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_agrp_code   IN ntragrp.ntragrp_agrp_code%TYPE,
                     p_acat_code   IN ntragrp.ntragrp_acat_code%TYPE,
                     p_user_id     IN ntragrp.ntragrp_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_data_origin IN ntragrp.ntragrp_data_origin%TYPE DEFAULT NULL)

Validates all data in the Electronic Approvals Group Category record.

Parameters
p_agrp_code   A group code that identifies a group of approval categories when originating an Electronic Approval transaction. VARCHAR2(8) Required Key.
p_acat_code   Approval category code to be used by an originator to create an Electronic Approval transaction. VARCHAR2(6) Required Key.
p_user_id   The Oracle ID of the person who entered the record. VARCHAR2(30).
p_data_origin   Source system that created or updated the row. VARCHAR2(30).