index

Package sb_athletic_degc_comp_rules

Support subprograms for the Athletic Degree Completion API (sb_athletic_degc_comp).


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               sgbdcpr.sgbdcpr_pidm%TYPE,
                            p_term_code          sgbdcpr.sgbdcpr_term_code%TYPE,
                            p_levl_code          sgbdcpr.sgbdcpr_levl_code%TYPE,
                            p_lcur_seqno         sgbdcpr.sgbdcpr_lcur_seqno%TYPE,
                            p_key_seqno          sgbdcpr.sgbdcpr_key_seqno%TYPE,
                            p_user_id            sgbdcpr.sgbdcpr_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_required_hours     sgbdcpr.sgbdcpr_required_hours%TYPE,
                            p_completed_hours    sgbdcpr.sgbdcpr_completed_hours%TYPE,
                            p_dcpr_code          sgbdcpr.sgbdcpr_dcpr_code%TYPE,
                            p_data_origin        sgbdcpr.sgbdcpr_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 degree completion percentage is being reported. NUMBER(8) Required Key
p_term_code   Term code for which the degree completion percentage is being reported. VARCHAR2(24) Required
p_levl_code   Student level code for which the degree completion percentage is being reported. VARCHAR2(8) Required
p_lcur_seqno   Learner curriculum sequence number which corresponds to the record. NUMBER(4) Required Key
p_key_seqno   Key sequence number for which the record was added. NUMBER(4) Required Key
p_user_id   ID of the user who last updated the record. VARCHAR2(120) Required
p_required_hours   Number of hours required for degree completion. NUMBER(7,3)
p_completed_hours   Number of hours completed toward the degree. NUMBER(7,3)
p_dcpr_code   Reason code for a change in the degree completion percentage. VARCHAR2(20)
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            sgbdcpr.sgbdcpr_pidm%TYPE,
                     p_term_code       sgbdcpr.sgbdcpr_term_code%TYPE,
                     p_levl_code       sgbdcpr.sgbdcpr_levl_code%TYPE,
                     p_lcur_seqno      sgbdcpr.sgbdcpr_lcur_seqno%TYPE,
                     p_key_seqno       sgbdcpr.sgbdcpr_key_seqno%TYPE,
                     p_user_id         sgbdcpr.sgbdcpr_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_required_hours  sgbdcpr.sgbdcpr_required_hours%TYPE DEFAULT NULL,
                     p_completed_hours sgbdcpr.sgbdcpr_completed_hours%TYPE DEFAULT NULL,
                     p_dcpr_code       sgbdcpr.sgbdcpr_dcpr_code%TYPE DEFAULT NULL,
                     p_data_origin     sgbdcpr.sgbdcpr_data_origin%TYPE DEFAULT NULL);

Validates all data in the record.

Parameters
p_pidm   Internal Banner ID for which the degree completion percentage is being reported. NUMBER(8) Required Key
p_term_code   Term code for which the degree completion percentage is being reported. VARCHAR2(24) Required
p_levl_code   Student level code for which the degree completion percentage is being reported. VARCHAR2(8) Required
p_lcur_seqno   Learner curriculum sequence number which corresponds to the record. NUMBER(4) Required Key
p_key_seqno   Key sequence number for which the record was added. NUMBER(4) Required Key
p_user_id   ID of the user who last updated the record. VARCHAR2(120) Required
p_required_hours   Number of hours required for degree completion. NUMBER(7,3)
p_completed_hours   Number of hours completed toward the degree. NUMBER(7,3)
p_dcpr_code   Reason code for a change in degree completion percentage. VARCHAR2(20)
p_data_origin   Source system that created or updated the row. VARCHAR2(120)