|
Package sb_athletic_compliance_rules Support subprograms for the Athletic Compliance API (sb_athletic_compliance). |
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 sgrsprt.sgrsprt_pidm%TYPE, p_term_code sgrsprt.sgrsprt_term_code%TYPE, p_actc_code sgrsprt.sgrsprt_actc_code%TYPE, p_spst_code sgrsprt.sgrsprt_spst_code%TYPE, p_elig_code sgrsprt.sgrsprt_elig_code%TYPE, p_athl_aid_ind sgrsprt.sgrsprt_athl_aid_ind%TYPE, p_user_id sgrsprt.sgrsprt_user_id%TYPE DEFAULT gb_common.f_sct_user, p_sael_code sgrsprt.sgrsprt_sael_code%TYPE, p_data_origin sgrsprt.sgrsprt_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 compliance information belongs. NUMBER(8) Required Key | |
p_term_code |
Term code for the athletic compliance. VARCHAR2(6) Required Key | |
p_actc_code |
Activity code for the athletic compliance. VARCHAR2(8) Required Key | |
p_spst_code |
Sport status code for the athletic compliance. VARCHAR2(2) | |
p_elig_code |
Eligibility code for the athletic compliance. VARCHAR2(2) | |
p_athl_aid_ind |
Indicator for whether the athlete receives athletic aid. VARCHAR2(1) | |
p_user_id |
ID of the most recent user to create or update the row in the SGRSPRT table. VARCHAR2(30) Required | |
p_sael_code |
Athletic official eligibility code for the athletic compliance. VARCHAR2(2) | |
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 sgrsprt.sgrsprt_pidm%TYPE, p_term_code sgrsprt.sgrsprt_term_code%TYPE, p_actc_code sgrsprt.sgrsprt_actc_code%TYPE, p_spst_code sgrsprt.sgrsprt_spst_code%TYPE DEFAULT NULL, p_elig_code sgrsprt.sgrsprt_elig_code%TYPE DEFAULT NULL, p_athl_aid_ind sgrsprt.sgrsprt_athl_aid_ind%TYPE DEFAULT NULL, p_user_id sgrsprt.sgrsprt_user_id%TYPE DEFAULT gb_common.f_sct_user, p_sael_code sgrsprt.sgrsprt_sael_code%TYPE DEFAULT NULL, p_data_origin sgrsprt.sgrsprt_data_origin%TYPE DEFAULT NULL);
Validates all data in the record.
Parameters |
p_pidm |
Internal identification number (PIDM) of the athlete for which the compliance information belongs. NUMBER(8) Required Key | |
p_term_code |
Term code for the athletic compliance. VARCHAR2(6) Required Key | |
p_actc_code |
Activity code for the athletic compliance. VARCHAR2(8) Required Key | |
p_spst_code |
Sport status code for the athletic compliance. VARCHAR2(2) | |
p_elig_code |
Eligibility code code for the athletic compliance. VARCHAR2(2) | |
p_athl_aid_ind |
Indicator for whether the athlete receives athletic aid. VARCHAR2(1) | |
p_user_id |
ID of the most recent user to create or update the row in the SGRSPRT table. VARCHAR2(30) Required | |
p_sael_code |
Athletic official eligibility code for the athletic compliance. VARCHAR2(2) | |
p_data_origin |
Value of the source system that inserted or updated the row. VARCHAR2(30) |