|
Package sb_athletic_acad_prog_rules Support subprograms for the Athletic Academic Progress API (sb_athletic_acad_prog). |
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 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_pidm sgbaprg.sgbaprg_pidm%TYPE, p_term_code sgbaprg.sgbaprg_term_code%TYPE, p_seq_no sgbaprg.sgbaprg_seq_no%TYPE, p_active_ind sgbaprg.sgbaprg_active_ind%TYPE, p_user_id sgbaprg.sgbaprg_user_id%TYPE DEFAULT gb_common.f_sct_user, p_single_term_hours sgbaprg.sgbaprg_single_term_hours%TYPE, p_term_1_hours sgbaprg.sgbaprg_term_1_hours%TYPE, p_term_2_hours sgbaprg.sgbaprg_term_2_hours%TYPE, p_term_3_hours sgbaprg.sgbaprg_term_3_hours%TYPE, p_total_year_hours sgbaprg.sgbaprg_total_year_hours%TYPE, p_data_origin sgbaprg.sgbaprg_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 parameters.
Parameters |
p_operation_type |
Type of DML operation: create, update, delete. NUMBER Required | |
p_pidm |
Internal Banner ID for which the athletic credit requirements are being reported. NUMBER(8) Required Key | |
p_term_code |
Term code for which the athletic credit requirements are being reported. VARCHAR2(24) Required Key | |
p_seq_no |
Sequence number for which the record was added. NUMBER(2) Required Key | |
p_active_ind |
Indicator for whether the record is the active record for the term. VARCHAR2(4) Required | |
p_user_id |
ID of the user who entered the record. VARCHAR2(120) Required | |
p_single_term_hours |
Number of hours reported for a single term. NUMBER(7,3) | |
p_term_1_hours |
Number of hours reported for the first term of the academic year. NUMBER(7,3) | |
p_term_2_hours |
Number of hours reported for the second term of the academic year. NUMBER(7,3) | |
p_term_3_hours |
Number of hours reported for the third term of the academic year. NUMBER(7,3) | |
p_total_year_hours |
Total number of hours reported for the academic year. NUMBER(7,3) | |
p_data_origin |
Source system that created or updated the row. VARCHAR2(120) | |
p_internal_record_id |
Database ROWID VARCHAR2(18) required |
p_validate
PROCEDURE p_validate(p_pidm sgbaprg.sgbaprg_pidm%TYPE, p_term_code sgbaprg.sgbaprg_term_code%TYPE, p_seq_no sgbaprg.sgbaprg_seq_no%TYPE, p_active_ind sgbaprg.sgbaprg_active_ind%TYPE, p_user_id sgbaprg.sgbaprg_user_id%TYPE DEFAULT gb_common.f_sct_user, p_single_term_hours sgbaprg.sgbaprg_single_term_hours%TYPE DEFAULT NULL, p_term_1_hours sgbaprg.sgbaprg_term_1_hours%TYPE DEFAULT NULL, p_term_2_hours sgbaprg.sgbaprg_term_2_hours%TYPE DEFAULT NULL, p_term_3_hours sgbaprg.sgbaprg_term_3_hours%TYPE DEFAULT NULL, p_total_year_hours sgbaprg.sgbaprg_total_year_hours%TYPE DEFAULT NULL, p_data_origin sgbaprg.sgbaprg_data_origin%TYPE DEFAULT NULL);
Validates all data in the record.
Parameters |
p_pidm |
Internal Banner ID for which the athletic credit requirements are being reported. NUMBER(8) Required Key | |
p_term_code |
Term code for which the athletic credit requirements are being reported. VARCHAR2(24) Required Key | |
p_seq_no |
Sequence number for which the record was added. NUMBER(2) Required Key | |
p_active_ind |
Indicator for whether the record is the active record for the term. VARCHAR2(4) Required | |
p_user_id |
ID of the user who entered the record. VARCHAR2(120) Required | |
p_single_term_hours |
Number of hours reported for a single term. NUMBER(7,3) | |
p_term_1_hours |
Number of hours reported for the first term of the academic year. NUMBER(7,3) | |
p_term_2_hours |
Number of hours reported for the second term of the academic year. NUMBER(7,3) | |
p_term_3_hours |
Number of hours reported for the third term of the academic year. NUMBER(7,3) | |
p_total_year_hours |
Total number of hours reported for the academic year. NUMBER(7,3) | |
p_data_origin |
Source system that created or updated the row. VARCHAR2(120) |