Package sb_edi_subtest_score_rules This package provides the support subprograms for the EDI Subtest Score API (sb_edi_subtest_score).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 shrstsc.shrstsc_dcmt_seqno%TYPE, p_test_seqno shrstsc.shrstsc_test_seqno%TYPE, p_stst_seqno shrstsc.shrstsc_stst_seqno%TYPE, p_seqno shrstsc.shrstsc_seqno%TYPE, p_score shrstsc.shrstsc_score%TYPE, p_tefr_code shrstsc.shrstsc_tefr_code%TYPE, p_score_revised_ind shrstsc.shrstsc_score_revised_ind%TYPE, p_score_invalidated_ind shrstsc.shrstsc_score_invalidated_ind%TYPE, p_score_selfreported_ind shrstsc.shrstsc_score_selfreported_ind%TYPE, p_message shrstsc.shrstsc_message%TYPE, p_user_id shrstsc.shrstsc_user_id%TYPE DEFAULT gb_common.f_sct_user, p_data_origin shrstsc.shrstsc_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_stst_seqno |
Sequence number for this subtest from the transcript. NUMBER(8) Required Key. | |
p_seqno |
Sequence number for this subtest score from the transcript. NUMBER(8) Required Key. | |
p_score |
Test code for this test. VARCHAR2(80) Required. | |
p_tefr_code |
Test score method from XML transcript. VARCHAR2(2). | |
p_score_revised_ind |
Y if the score reported can differ from a previous score reported for this test and test date. VARCHAR2(1). | |
p_score_invalidated_ind |
Y if the score previously reported for this test and test date is not valid. VARCHAR2(1). | |
p_score_selfreported_ind |
Y if the score has been asserted by the student but has not been confirmed by the testing agency. VARCHAR2(1). | |
p_message |
Message for test from 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 shrstsc.shrstsc_dcmt_seqno%TYPE, p_test_seqno shrstsc.shrstsc_test_seqno%TYPE, p_stst_seqno shrstsc.shrstsc_stst_seqno%TYPE, p_seqno shrstsc.shrstsc_seqno%TYPE, p_score shrstsc.shrstsc_score%TYPE, p_tefr_code shrstsc.shrstsc_tefr_code%TYPE DEFAULT NULL, p_score_revised_ind shrstsc.shrstsc_score_revised_ind%TYPE DEFAULT NULL, p_score_invalidated_ind shrstsc.shrstsc_score_invalidated_ind%TYPE DEFAULT NULL, p_score_selfreported_ind shrstsc.shrstsc_score_selfreported_ind%TYPE DEFAULT NULL, p_message shrstsc.shrstsc_message%TYPE DEFAULT NULL, p_user_id shrstsc.shrstsc_user_id%TYPE DEFAULT gb_common.f_sct_user, p_data_origin shrstsc.shrstsc_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_stst_seqno |
Sequence number for this subtest from the transcript. NUMBER(8) Required Key. | |
p_seqno |
Sequence number for this subtest score from the transcript. NUMBER(8) Required Key. | |
p_score |
Test code for this test. VARCHAR2(80) Required. | |
p_tefr_code |
Test score method from XML transcript. VARCHAR2(2). | |
p_score_revised_ind |
Y if the score reported can differ from a previous score reported for this test and test date. VARCHAR2(1). | |
p_score_invalidated_ind |
Y if the score previously reported for this test and test date is not valid. VARCHAR2(1). | |
p_score_selfreported_ind |
Y if the score has been asserted by the student but has not been confirmed by the testing agency. VARCHAR2(1). | |
p_message |
Message for test from 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. |