Package sb_test_percentile_rules Support subprograms for the Test Percentile API (sb_test_percentile). |
Program units |
p_register_entity |
p_validate |
f_parent_exists |
p_register_entity
Procedure p_register_entity( p_operation_type NUMBER, p_pidm sortspc.sortspc_pidm%TYPE, p_tesc_code sortspc.sortspc_tesc_code%TYPE, p_test_date sortspc.sortspc_test_date%TYPE, p_tspt_code sortspc.sortspc_tspt_code%TYPE, p_percentile sortspc.sortspc_percentile%TYPE, p_user_id sortspc.sortspc_user_id%TYPE DEFAULT gb_common.f_sct_user, p_data_origin sortspc.sortspc_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 the all parameters.
Parameters |
p_operation_type |
Type of DML operation: create, update, delete. NUMBER Required | |
p_pidm |
Internal Banner ID for which the percentiles are being reported. NUMBER(8) Required Key | |
p_tesc_code |
Test code for which the percentiles are being reported. VARCHAR2(4) Required Key | |
p_test_date |
Date that the test was taken. DATE Required Key | |
p_tspt_code |
Type of percentile being reported. VARCHAR2(10) Required Key | |
p_percentile |
Percentile associated with the test code and type. VARCHAR2(10) Required | |
p_user_id |
Unique identification of the user. VARCHAR2(30) Required | |
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_pidm sortspc.sortspc_pidm%TYPE, p_tesc_code sortspc.sortspc_tesc_code%TYPE, p_test_date sortspc.sortspc_test_date%TYPE, p_tspt_code sortspc.sortspc_tspt_code%TYPE, p_percentile sortspc.sortspc_percentile%TYPE, p_user_id sortspc.sortspc_user_id%TYPE DEFAULT gb_common.f_sct_user, p_data_origin sortspc.sortspc_data_origin%TYPE DEFAULT NULL)
Validates all the data in the record.
Parameters |
p_pidm |
Internal Banner ID for which the percentiles are being reported. NUMBER(8) Required Key | |
p_tesc_code |
Test code for which the percentiles are being reported. VARCHAR2(4) Required Key | |
p_test_date |
Date that the test was taken. DATE Required Key | |
p_tspt_code |
Type of percentile being reported. VARCHAR2(10) Required Key | |
p_percentile |
Percentile associated with the test code and type. VARCHAR2(10) Required | |
p_user_id |
Unique identification of the user. VARCHAR2(30) Required | |
p_data_origin |
Source system that created or updated the row. VARCHAR2(30) |
f_parent_exists
Function f_parent_exists( p_pidm sortspc.sortspc_pidm%TYPE, p_tesc_code sortspc.sortspc_tesc_code%TYPE, p_test_date sortspc.sortspc_test_date%TYPE) RETURN VARCHAR2
Checks for the existence of the parent course record.
Parameters |
p_pidm |
Student identifier. NUMBER Required | |
p_tesc_code |
Test code. VARCHAR2(5) Required | |
p_test_date |
Test date. DATE Required |