Package nb_ea_comments_rules This package provides messaging support and field validations for the Electronic Approvals Comments API. |
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 Electronic Approvals Comments 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_transaction_no norcmnt.norcmnt_transaction_no%TYPE, p_seq_no norcmnt.norcmnt_seq_no%TYPE, p_comments norcmnt.norcmnt_comments%TYPE, p_user_id norcmnt.norcmnt_user_id%TYPE DEFAULT gb_common.f_sct_user, p_data_origin norcmnt.norcmnt_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 the Electronic Approvals Comments parameters.
Parameters |
p_operation_type |
Type of DML operation: create,update,delete. NUMBER Required. | |
p_transaction_no |
A number that is system generated for an approval transaction. NUMBER(15) Required Key. | |
p_seq_no |
Sequence number of the comment. NUMBER(6) Required Key. | |
p_comments |
Comment made by the user id. VARCHAR2(4000) Required. | |
p_user_id |
The Oracle ID of the user who changed 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_transaction_no norcmnt.norcmnt_transaction_no%TYPE, p_seq_no norcmnt.norcmnt_seq_no%TYPE, p_comments norcmnt.norcmnt_comments%TYPE, p_user_id norcmnt.norcmnt_user_id%TYPE DEFAULT gb_common.f_sct_user, p_data_origin norcmnt.norcmnt_data_origin%TYPE DEFAULT NULL)
Validates all data in the Electronic Approvals Comments record.
Parameters |
p_transaction_no |
A number that is system generated for an approval transaction. NUMBER(15) Required Key. | |
p_seq_no |
Sequence number of the comment. NUMBER(6) Required Key. | |
p_comments |
Comment made by the user id. VARCHAR2(4000) Required. | |
p_user_id |
The Oracle ID of the user who changed the record. VARCHAR2(30). | |
p_data_origin |
Source system that created or updated the row. VARCHAR2(30). |