BANINST1@S10B80

index

Package sb_wl_term_control_rules

This package provides messaging support and field validations for the the Waitlist Term Control API (sb_wl_term_control).


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_term_code            sobwltc.sobwltc_term_code%TYPE,
                            p_auto_notify_ind      sobwltc.sobwltc_auto_notify_ind%TYPE,
                            p_online_notify_ind    sobwltc.sobwltc_online_notify_ind%TYPE,
                            p_wl_pos_webc_disp_ind sobwltc.sobwltc_wl_pos_webc_disp_ind%TYPE,
                            p_stu_notify_ind       sobwltc.sobwltc_stu_notify_ind%TYPE,
                            p_fac_notify_ind       sobwltc.sobwltc_fac_notify_ind%TYPE,
                            p_adv_notify_ind       sobwltc.sobwltc_adv_notify_ind%TYPE,
                            p_reg_notify_ind       sobwltc.sobwltc_reg_notify_ind%TYPE,
                            p_camp_severity        sobwltc.sobwltc_camp_severity%TYPE,
                            p_degree_severity      sobwltc.sobwltc_degree_severity%TYPE,
                            p_program_severity     sobwltc.sobwltc_program_severity%TYPE,
                            p_department_severity  sobwltc.sobwltc_department_severity%TYPE,
                            p_atts_severity        sobwltc.sobwltc_atts_severity%TYPE,
                            p_chrt_severity        sobwltc.sobwltc_chrt_severity%TYPE,
                            p_dupl_include_ind     sobwltc.sobwltc_dupl_include_ind%TYPE,
                            p_link_include_ind     sobwltc.sobwltc_link_include_ind%TYPE,
                            p_preq_include_ind     sobwltc.sobwltc_preq_include_ind%TYPE,
                            p_corq_include_ind     sobwltc.sobwltc_corq_include_ind%TYPE,
                            p_time_include_ind     sobwltc.sobwltc_time_include_ind%TYPE,
                            p_capc_severity        sobwltc.sobwltc_capc_severity%TYPE,
                            p_levl_severity        sobwltc.sobwltc_levl_severity%TYPE,
                            p_coll_severity        sobwltc.sobwltc_coll_severity%TYPE,
                            p_majr_severity        sobwltc.sobwltc_majr_severity%TYPE,
                            p_clas_severity        sobwltc.sobwltc_clas_severity%TYPE,
                            p_appr_severity        sobwltc.sobwltc_appr_severity%TYPE,
                            p_user_id              sobwltc.sobwltc_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_deadline_notify      sobwltc.sobwltc_deadline_notify%TYPE,
                            p_letr_code_stu_notify sobwltc.sobwltc_letr_code_stu_notify%TYPE,
                            p_letr_code_fac_notify sobwltc.sobwltc_letr_code_fac_notify%TYPE,
                            p_letr_code_adv_notify sobwltc.sobwltc_letr_code_adv_notify%TYPE,
                            p_letr_code_reg_notify sobwltc.sobwltc_letr_code_reg_notify%TYPE,
                            p_pidm                 sobwltc.sobwltc_pidm%TYPE,
                            p_data_origin          sobwltc.sobwltc_data_origin%TYPE,
                            p_host_name            sobwltc.sobwltc_host_name%TYPE,
                            p_max_resend_hrs       sobwltc.sobwltc_max_resend_hrs%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_term_code   Term code associated with the entries on the Automated Waitlist Term Control Form (SOAWLTC). VARCHAR2(6) Required Key
p_auto_notify_ind   Indicator for whether the automatic waitlist notification functionality is active for the term. Valid values are Y or N. VARCHAR2(1) Required
p_online_notify_ind   Indicator for whether the waitlist notification will be active during registration or if notification will be only performed by a batch process. Valid values are Y or N. VARCHAR2(1) Required
p_wl_pos_webc_disp_ind   Indicator for whether the student's position in the waitlist will be displayed on self-service. Valid values are Y or N. VARCHAR2(1) Required
p_stu_notify_ind   Indicator for whether the student will be notified when a seat becomes available. Valid values are Y or N. VARCHAR2(1) Required
p_fac_notify_ind   Indicator for whether the primary instructor will be notified when a seat becomes available. Valid values are Y or N. VARCHAR2(1) Required
p_adv_notify_ind   Indicator for whether the primary advisor will be notified when a seat becomes available. Valid values are Y or N. VARCHAR2(1) Required
p_reg_notify_ind   Indicator for whether the registrar will be notified when a seat becomes available. Valid values are Y or N. VARCHAR2(1) Required
p_camp_severity   Indicator for campus restriction checking at registration time for the term. Values are "F"-fatal error, "N"-no check. VARCHAR2(1) Required
p_degree_severity   Indicator for degree restriction checking at registration time for the term. Values are "F"-fatal error, "N"-no check. VARCHAR2(1) Required
p_program_severity   Indicator for program restriction checking at registration time for the term. Values are "F"-fatal error, "N"-no check. VARCHAR2(1) Required
p_department_severity   Indicator for department restriction checking at registration time for the term. Values are "F"-fatal error, "N"-no check. VARCHAR2(1) Required
p_atts_severity   Indicator for attribute restriction checking at registration time for the term. Values are "F"-fatal error, "N"-no check. VARCHAR2(1) Required
p_chrt_severity   Indicator for cohort restriction checking at registration time for the term. Values are "F"-fatal error, "N"-no check. VARCHAR2(1) Required
p_dupl_include_ind   Indicator for whether waitlisted courses are included in duplicate course error checking at registration time for the term. Valid Values are Y or N. VARCHAR2(1) Required
p_link_include_ind   Indicator for how for whether waitlisted courses are included in linked course error checking at registration time for the term. Valid Values are Y or N. VARCHAR2(1) Required
p_preq_include_ind   Indicator for whether waitlisted courses are included in prerequisite error checking at registration time for the term. Valid Values are Y or N. VARCHAR2(1) Required
p_corq_include_ind   Indicator for whether waitlisted courses are included in course and section co-requisites error checking at registration time for the term. Valid Values are Y or N. VARCHAR2(1) Required
p_time_include_ind   Indicator for whether course section time conflicts are checked at registration time for the term. Valid Values are Y or N. VARCHAR2(1) Required
p_capc_severity   Indicator for whether course section capacity is checked at registration time for the term. Values are "F"-fatal error, "W"-warning, "N"-no check. VARCHAR2(1) Required
p_levl_severity   Indicator for whether course-level restrictions are checked at registration time for the term. Values are "F"-fatal error, "W"-warning, "N"-no check. VARCHAR2(1) Required
p_coll_severity   Indicator for whether course or section college restrictions are checked at registration time for the term. Values are "F"-fatal error, "N"-no check. VARCHAR2(1) Required
p_majr_severity   Indicator for whether course or section student field of study restrictions are checked at registration time for the term. Values are "F"-fatal error, "N"-no check. VARCHAR2(1) Required
p_clas_severity   Indicator for whether course or section class restrictions are checked at registration time for the term. Values are "F"-fatal error, "N"-no check. VARCHAR2(1) Required
p_appr_severity   Indicator for whether course section special approval indicators are checked at registration time for the term. Values are "F"-fatal error, "N"-no check. VARCHAR2(1) Required
p_user_id   ID of the user who inserted or last updated the data. VARCHAR2(30) Required
p_deadline_notify   Number of hours that the student has to register for a course after receiving the available seats notification. NUMBER(4)
p_letr_code_stu_notify   Letter code that will be used to notify the student of available seats. VARCHAR2(15)
p_letr_code_fac_notify   Letter code that will be used to notify the primary instructor of available seats. VARCHAR2(15)
p_letr_code_adv_notify   Letter code that will be used to notify the primary advisor of available seats. VARCHAR2(15)
p_letr_code_reg_notify   Letter code that will be used to notify the registrar of available seats. VARCHAR2(15)
p_pidm   Unique identifier(PIDM) of the Registrar to be notified when a seat becomes available. NUMBER(8)
p_data_origin   Source system that created or updated the row. VARCHAR2(30)
p_host_name   Host Name to be used when an email is sent for seats available notification. VARCHAR2(30)
p_max_resend_hrs   Number of hours to attempt to resend failed email messages. NUMBER(4)
p_internal_record_id   Database ROWID VARCHAR2(18) required


p_validate

Procedure p_validate(p_term_code            sobwltc.sobwltc_term_code%TYPE,
                     p_auto_notify_ind      sobwltc.sobwltc_auto_notify_ind%TYPE,
                     p_online_notify_ind    sobwltc.sobwltc_online_notify_ind%TYPE,
                     p_wl_pos_webc_disp_ind sobwltc.sobwltc_wl_pos_webc_disp_ind%TYPE,
                     p_stu_notify_ind       sobwltc.sobwltc_stu_notify_ind%TYPE,
                     p_fac_notify_ind       sobwltc.sobwltc_fac_notify_ind%TYPE,
                     p_adv_notify_ind       sobwltc.sobwltc_adv_notify_ind%TYPE,
                     p_reg_notify_ind       sobwltc.sobwltc_reg_notify_ind%TYPE,
                     p_camp_severity        sobwltc.sobwltc_camp_severity%TYPE,
                     p_degree_severity      sobwltc.sobwltc_degree_severity%TYPE,
                     p_program_severity     sobwltc.sobwltc_program_severity%TYPE,
                     p_department_severity  sobwltc.sobwltc_department_severity%TYPE,
                     p_atts_severity        sobwltc.sobwltc_atts_severity%TYPE,
                     p_chrt_severity        sobwltc.sobwltc_chrt_severity%TYPE,
                     p_dupl_include_ind     sobwltc.sobwltc_dupl_include_ind%TYPE,
                     p_link_include_ind     sobwltc.sobwltc_link_include_ind%TYPE,
                     p_preq_include_ind     sobwltc.sobwltc_preq_include_ind%TYPE,
                     p_corq_include_ind     sobwltc.sobwltc_corq_include_ind%TYPE,
                     p_time_include_ind     sobwltc.sobwltc_time_include_ind%TYPE,
                     p_capc_severity        sobwltc.sobwltc_capc_severity%TYPE,
                     p_levl_severity        sobwltc.sobwltc_levl_severity%TYPE,
                     p_coll_severity        sobwltc.sobwltc_coll_severity%TYPE,
                     p_majr_severity        sobwltc.sobwltc_majr_severity%TYPE,
                     p_clas_severity        sobwltc.sobwltc_clas_severity%TYPE,
                     p_appr_severity        sobwltc.sobwltc_appr_severity%TYPE,
                     p_user_id              sobwltc.sobwltc_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_deadline_notify      sobwltc.sobwltc_deadline_notify%TYPE DEFAULT NULL,
                     p_letr_code_stu_notify sobwltc.sobwltc_letr_code_stu_notify%TYPE DEFAULT NULL,
                     p_letr_code_fac_notify sobwltc.sobwltc_letr_code_fac_notify%TYPE DEFAULT NULL,
                     p_letr_code_adv_notify sobwltc.sobwltc_letr_code_adv_notify%TYPE DEFAULT NULL,
                     p_letr_code_reg_notify sobwltc.sobwltc_letr_code_reg_notify%TYPE DEFAULT NULL,
                     p_pidm                 sobwltc.sobwltc_pidm%TYPE DEFAULT NULL,
                     p_data_origin          sobwltc.sobwltc_data_origin%TYPE DEFAULT NULL,
                     p_host_name            sobwltc.sobwltc_host_name%TYPE DEFAULT NULL,
                     p_max_resend_hrs       sobwltc.sobwltc_max_resend_hrs%TYPE DEFAULT NULL)

Validates all data in the record.

Parameters
p_term_code   Term code associated with the entries on the Automated Waitlist Term Control Form (SOAWLTC). VARCHAR2(6) Required Key
p_auto_notify_ind   Indicator for whether the automatic waitlist notification functionality is active for the term. Valid values are Y or N. VARCHAR2(1) Required
p_online_notify_ind   Indicator for whether the waitlist notification will be active during registration or if notification will be only performed by a batch process. Valid values are Y or N. VARCHAR2(1) Required
p_wl_pos_webc_disp_ind   Indicator for whether the student's position in the waitlist will be displayed on self-service. Valid values are Y or N. VARCHAR2(1) Required
p_stu_notify_ind   Indicator for whether the student will be notified when a seat becomes available. Valid values are Y or N. VARCHAR2(1) Required
p_fac_notify_ind   Indicator for whether the primary instructor will be notified when a seat becomes available. Valid values are Y or N. VARCHAR2(1) Required
p_adv_notify_ind   Indicator for whether the primary advisor will be notified when a seat becomes available. Valid values are Y or N. VARCHAR2(1) Required
p_reg_notify_ind   Indicator for whether the registrar will be notified when a seat becomes available. Valid values are Y or N. VARCHAR2(1) Required
p_camp_severity   Indicator for campus restriction checking at registration time for the term. Values are "F"-fatal error, "N"-no check. VARCHAR2(1) Required
p_degree_severity   Indicator for degree restriction checking at registration time for the term. Values are "F"-fatal error, "N"-no check. VARCHAR2(1) Required
p_program_severity   Indicator for program restriction checking at registration time for the term. Values are "F"-fatal error, "N"-no check. VARCHAR2(1) Required
p_department_severity   Indicator for department restriction checking at registration time for the term. Values are "F"-fatal error, "N"-no check. VARCHAR2(1) Required
p_atts_severity   Indicator for attribute restriction checking at registration time for the term. Values are "F"-fatal error, "N"-no check. VARCHAR2(1) Required
p_chrt_severity   Indicator for cohort restriction checking at registration time for the term. Values are "F"-fatal error, "N"-no check. VARCHAR2(1) Required
p_dupl_include_ind   Indicator for whether waitlisted courses are included in duplicate course error checking at registration time for the term. Valid Values are Y or N. VARCHAR2(1) Required
p_link_include_ind   Indicator for how for whether waitlisted courses are included in linked course error checking at registration time for the term. Valid Values are Y or N. VARCHAR2(1) Required
p_preq_include_ind   Indicator for whether waitlisted courses are included in prerequisite error checking at registration time for the term. Valid Values are Y or N. VARCHAR2(1) Required
p_corq_include_ind   Indicator for whether waitlisted courses are included in course and section co-requisites error checking at registration time for the term. Valid Values are Y or N. VARCHAR2(1) Required
p_time_include_ind   Indicator for whether course section time conflicts are checked at registration time for the term. Valid Values are Y or N. VARCHAR2(1) Required
p_capc_severity   Indicator for whether course section capacity is checked at registration time for the term. Values are "F"-fatal error, "W"-warning, "N"-no check. VARCHAR2(1) Required
p_levl_severity   Indicator for whether course-level restrictions are checked at registration time for the term. Values are "F"-fatal error, "W"-warning, "N"-no check. VARCHAR2(1) Required
p_coll_severity   Indicator for whether course or section college restrictions are checked at registration time for the term. Values are "F"-fatal error, "N"-no check. VARCHAR2(1) Required
p_majr_severity   Indicator for whether course or section student field of study restrictions are checked at registration time for the term. Values are "F"-fatal error, "N"-no check. VARCHAR2(1) Required
p_clas_severity   Indicator for whether course or section class restrictions are checked at registration time for the term. Values are "F"-fatal error, "N"-no check. VARCHAR2(1) Required
p_appr_severity   Indicator for whether course section special approval indicators are checked at registration time for the term. Values are "F"-fatal error, "N"-no check. VARCHAR2(1) Required
p_user_id   ID of the user who inserted or last updated the data. VARCHAR2(30) Required
p_deadline_notify   Number of hours that the student has to register for a course after receiving the available seats notification. NUMBER(4)
p_letr_code_stu_notify   Letter code that will be used to notify the student of available seats. VARCHAR2(15)
p_letr_code_fac_notify   Letter code that will be used to notify the primary instructor of available seats. VARCHAR2(15)
p_letr_code_adv_notify   Letter code that will be used to notify the primary advisor of available seats. VARCHAR2(15)
p_letr_code_reg_notify   Letter code that will be used to notify the registrar of available seats. VARCHAR2(15)
p_pidm   Unique identifier(PIDM) of the Registrar to be notified when a seat becomes available. NUMBER(8)
p_data_origin   Source system that created or updated the row. VARCHAR2(30)
p_host_name   Host Name to be used when an email is sent for seats available notification. VARCHAR2(30)
p_max_resend_hrs   Number of hours to attempt to resend failed email messages. NUMBER(4)