Package sb_edi_subtest_rules This package provides the support subprograms for the EDI Subtest API (sb_edi_subtest).For use with internal processing to produce the XML transcript. |
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 the 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 the 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_dcmt_seqno shrstst.shrstst_dcmt_seqno%TYPE, p_test_seqno shrstst.shrstst_test_seqno%TYPE, p_seqno shrstst.shrstst_seqno%TYPE, p_tesc_code shrstst.shrstst_tesc_code%TYPE, p_subtestname shrstst.shrstst_subtestname%TYPE, p_message shrstst.shrstst_message%TYPE, p_user_id shrstst.shrstst_user_id%TYPE DEFAULT gb_common.f_sct_user, p_data_origin shrstst.shrstst_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 parameters.
Parameters |
p_operation_type |
Type of DML operation: create, update, delete. NUMBER Required. | |
p_dcmt_seqno |
EDI document sequence number. NUMBER(8) Required Key. | |
p_test_seqno |
Sequence number for the main test from the transcript. NUMBER(8) Required Key. | |
p_seqno |
Sequence number for this subtest from the transcript. NUMBER(8) Required Key. | |
p_tesc_code |
Test code for this test. VARCHAR2(4) Required. | |
p_subtestname |
Subtest name element from the XML transcript. VARCHAR2(60). | |
p_message |
Message for the test from the transcript. VARCHAR2(1000). | |
p_user_id |
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) Required | |
p_internal_record_id |
Database ROWID. VARCHAR2(18) Required. |
p_validate
PROCEDURE p_validate(p_dcmt_seqno shrstst.shrstst_dcmt_seqno%TYPE, p_test_seqno shrstst.shrstst_test_seqno%TYPE, p_seqno shrstst.shrstst_seqno%TYPE, p_tesc_code shrstst.shrstst_tesc_code%TYPE, p_subtestname shrstst.shrstst_subtestname%TYPE DEFAULT NULL, p_message shrstst.shrstst_message%TYPE DEFAULT NULL, p_user_id shrstst.shrstst_user_id%TYPE DEFAULT gb_common.f_sct_user, p_data_origin shrstst.shrstst_data_origin%TYPE);
Validates all the data in the record.
Parameters |
p_dcmt_seqno |
EDI document sequence number. NUMBER(8) Required Key. | |
p_test_seqno |
Sequence number for the main test from the transcript. NUMBER(8) Required Key. | |
p_seqno |
Sequence number for this subtest from the transcript. NUMBER(8) Required Key. | |
p_tesc_code |
Test code for this test. VARCHAR2(4) Required. | |
p_subtestname |
Subtest name element from the XML transcript. VARCHAR2(60). | |
p_message |
Message for the test from the transcript. VARCHAR2(1000). | |
p_user_id |
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) Required. |