index

Package sb_athletic_admissions_rules

Support subprograms for the Athletic Admissions API (sb_athletic_admissions).


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               sgratad.sgratad_pidm%TYPE,
                            p_user_id            sgratad.sgratad_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_combined_sat       sgratad.sgratad_combined_sat%TYPE,
                            p_composite_act      sgratad.sgratad_composite_act%TYPE,
                            p_athlete_gpa        sgratad.sgratad_athlete_gpa%TYPE,
                            p_saqs_code          sgratad.sgratad_saqs_code%TYPE,
                            p_hs_core_courses    sgratad.sgratad_hs_core_courses%TYPE,
                            p_data_origin        sgratad.sgratad_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 identification number (PIDM) of the athlete for which the admissions information belongs. NUMBER(8) Required Key
p_user_id   ID of the most recent user to create or update the row in the SGRATAD table. VARCHAR2(30) Required
p_combined_sat   Combined SAT score for the athlete. VARCHAR2(4)
p_composite_act   Composite ACT score for the athlete. VARCHAR2(4)
p_athlete_gpa   GPA for the athlete. NUMBER(23,9)
p_saqs_code   Code for athlete qualifier status. VARCHAR2(2)
p_hs_core_courses   Number of core courses taken in high school by the athlete. NUMBER(3)
p_data_origin   Value of the source system that inserted or updated the row. VARCHAR2(30)
p_internal_record_id   Database ROWID VARCHAR2(18) required


p_validate

PROCEDURE p_validate(p_pidm            sgratad.sgratad_pidm%TYPE,
                     p_user_id         sgratad.sgratad_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_combined_sat    sgratad.sgratad_combined_sat%TYPE DEFAULT NULL,
                     p_composite_act   sgratad.sgratad_composite_act%TYPE DEFAULT NULL,
                     p_athlete_gpa     sgratad.sgratad_athlete_gpa%TYPE DEFAULT NULL,
                     p_saqs_code       sgratad.sgratad_saqs_code%TYPE DEFAULT NULL,
                     p_hs_core_courses sgratad.sgratad_hs_core_courses%TYPE DEFAULT NULL,
                     p_data_origin     sgratad.sgratad_data_origin%TYPE DEFAULT NULL);

Validates all data in the record.

Parameters
p_pidm   Internal identification number (PIDM) of the athlete for which the admissions information belongs. NUMBER(8) Required Key
p_user_id   ID of the most recent user to create or update the row in the SGRATAD table. VARCHAR2(30) Required
p_combined_sat   Combined SAT score for the athlete. VARCHAR2(4)
p_composite_act   Composite ACT score for the athlete. VARCHAR2(4)
p_athlete_gpa   GPA for the athlete. NUMBER(23,9)
p_saqs_code   Code for athlete qualifier status. VARCHAR2(2)
p_hs_core_courses   Number of core courses taken in high school by the athlete. NUMBER(3)
p_data_origin   Value of the source system that inserted or updated the row. VARCHAR2(30)