index

Package nb_redistr_ftyp_rules

This package provides messaging support and field validations for the Labor Redistribution Member Fund Type API (NB_REDISTR_FTYP).


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                 ntrlrft.ntrlrft_id%TYPE,
                            p_ntrlraq_id         ntrlrft.ntrlrft_ntrlraq_id%TYPE,
                            p_ftyp_code          ntrlrft.ntrlrft_ftyp_code%TYPE,
                            p_user_id            ntrlrft.ntrlrft_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_data_origin        ntrlrft.ntrlrft_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_ntrlraq_id   Internally system-generated unique identification number which represents the primary key of the parent record. NUMBER(19) Required Key.
p_ftyp_code   Code to represent the major classifications of funds. It may be defined in a two-level structure to accommodate specific needs of the institution. VARCHAR2(2) 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_ntrlraq_id  ntrlrft.ntrlrft_ntrlraq_id%TYPE,
                     p_ftyp_code   ntrlrft.ntrlrft_ftyp_code%TYPE,
                     p_user_id     ntrlrft.ntrlrft_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_data_origin ntrlrft.ntrlrft_data_origin%TYPE DEFAULT NULL)

Validates all data in the record.

Parameters
p_ntrlraq_id   Internally system-generated unique identification number which represents the primary key of the parent record. NUMBER(19) Required Key.
p_ftyp_code   Code to represent the major classifications of funds. It may be defined in a two-level structure to accommodate specific needs of the institution. VARCHAR2(2) 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).