index

Package sb_registration_msg_rules

Support subprograms for the Registration Error Messages API (sb_registration_msg).


Program units
p_register_entity  
p_register_entity  
p_validate  


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_cde                sfrrmsg.sfrrmsg_cde%TYPE,
                            p_seqno              sfrrmsg.sfrrmsg_seqno%TYPE,
                            p_sys_req_ind        sfrrmsg.sfrrmsg_sys_req_ind%TYPE,
                            p_data_origin        sfrrmsg.sfrrmsg_data_origin%TYPE,
                            p_user_id            sfrrmsg.sfrrmsg_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_message            sfrrmsg.sfrrmsg_message%TYPE,
                            p_local_message      sfrrmsg.sfrrmsg_local_message%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_cde   Type of error message. VARCHAR2(4) Required Key
p_seqno   Sequence number of the error message. NUMBER(4) Required Key
p_sys_req_ind   Indicates that the row is not to be removed. VARCHAR2(1) Required
p_data_origin   Source system that created or updated the row. VARCHAR2(30) Required
p_user_id   User ID of the user who created or last updated the record. VARCHAR2(30) Required
p_message   Message text as delivered. VARCHAR2(200)
p_local_message   Client-defined message text, which overrides the delivered text. VARCHAR2(200)
p_internal_record_id   Database ROWID. VARCHAR2(18)


p_validate

Procedure p_validate(p_cde           sfrrmsg.sfrrmsg_cde%TYPE,
                     p_seqno         sfrrmsg.sfrrmsg_seqno%TYPE,
                     p_sys_req_ind   sfrrmsg.sfrrmsg_sys_req_ind%TYPE,
                     p_data_origin   sfrrmsg.sfrrmsg_data_origin%TYPE,
                     p_user_id       sfrrmsg.sfrrmsg_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_message       sfrrmsg.sfrrmsg_message%TYPE DEFAULT NULL,
                     p_local_message sfrrmsg.sfrrmsg_local_message%TYPE DEFAULT NULL)

Validates all data in the record.

Parameters
p_cde   Type of error message. VARCHAR2(4) Required Key
p_seqno   Sequence number of the error message. NUMBER(4) Required Key
p_sys_req_ind   Indicates that the row is not to be removed. VARCHAR2(1) Required
p_data_origin   Source system that created or updated the row. VARCHAR2(30) Required
p_user_id   User ID of the user who created or last updated the record. VARCHAR2(30) Required
p_message   Message text as delivered. VARCHAR2(200)
p_local_message   Client-defined message text, which overrides the delivered text. VARCHAR2(200)