Package sb_edi_test_rules This package provides the support subprograms for the EDI Test API (sb_edi_test).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 shrtest.shrtest_dcmt_seqno%TYPE, p_seqno shrtest.shrtest_seqno%TYPE, p_test_code shrtest.shrtest_test_code%TYPE, p_testname shrtest.shrtest_testname%TYPE, p_date_type shrtest.shrtest_date_type%TYPE, p_date_value shrtest.shrtest_date_value%TYPE, p_levl_code shrtest.shrtest_levl_code%TYPE, p_message shrtest.shrtest_message%TYPE, p_user_id shrtest.shrtest_user_id%TYPE DEFAULT gb_common.f_sct_user, p_data_origin shrtest.shrtest_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_seqno |
Sequence number for this test from the transcript. NUMBER(8) Required Key. | |
p_test_code |
Test code for this test. VARCHAR2(84) Required. | |
p_testname |
Test name element from the XML transcript. VARCHAR2(60). | |
p_date_type |
Date when a standardized test was administered to the person. Values are TestDate, TestyearMonth, Testyear. VARCHAR2(20). | |
p_date_value |
Must contain a value if DATE_TYPE contains a value. VARCHAR2(20). | |
p_levl_code |
Level code of the student. VARCHAR2(2). | |
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). | |
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_dcmt_seqno shrtest.shrtest_dcmt_seqno%TYPE, p_seqno shrtest.shrtest_seqno%TYPE, p_test_code shrtest.shrtest_test_code%TYPE, p_testname shrtest.shrtest_testname%TYPE DEFAULT NULL, p_date_type shrtest.shrtest_date_type%TYPE DEFAULT NULL, p_date_value shrtest.shrtest_date_value%TYPE DEFAULT NULL, p_levl_code shrtest.shrtest_levl_code%TYPE DEFAULT NULL, p_message shrtest.shrtest_message%TYPE DEFAULT NULL, p_user_id shrtest.shrtest_user_id%TYPE DEFAULT gb_common.f_sct_user, p_data_origin shrtest.shrtest_data_origin%TYPE);
Validates all the data in the record.
Parameters |
p_dcmt_seqno |
EDI document sequence number. NUMBER(8) Required Key. | |
p_seqno |
Sequence number for this test from the transcript. NUMBER(8) Required Key. | |
p_test_code |
Test code for this test. VARCHAR2(8) Required. | |
p_testname |
Test name element from the XML transcript. VARCHAR2(60). | |
p_date_type |
Date when a standardized test was administered to the person. Values are TestDate, TestyearMonth, Testyear. VARCHAR2(20). | |
p_date_value |
Must contain a value if DATE_TYPE contains a value. VARCHAR2(20). | |
p_levl_code |
Level code of the student. VARCHAR2(2). | |
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). | |
p_data_origin |
Source system that created or updated the row. VARCHAR2(30). |