BANINST1@S10B80

index

Package sb_wl_section_ctrl_rules

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


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            ssbwlsc.ssbwlsc_term_code%TYPE,
                            p_crn                  ssbwlsc.ssbwlsc_crn%TYPE,
                            p_auto_notify_ind      ssbwlsc.ssbwlsc_auto_notify_ind%TYPE,
                            p_wl_reg_check_ind     ssbwlsc.ssbwlsc_wl_reg_check_ind%TYPE,
                            p_wl_pos_webc_disp_ind ssbwlsc.ssbwlsc_wl_pos_webc_disp_ind%TYPE,
                            p_user_id              ssbwlsc.ssbwlsc_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_deadline_notify      ssbwlsc.ssbwlsc_deadline_notify%TYPE,
                            p_data_origin          ssbwlsc.ssbwlsc_data_origin%TYPE,
                            p_max_resend_hrs       ssbwlsc.ssbwlsc_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 Waitlist Automation Section Control Form (SSAWLSC). VARCHAR2(6) Required Key
p_crn   Course reference number for section waitlist control. VARCHAR2(5) Required Key
p_auto_notify_ind   Indicator for whether the automatic waitlist notification functionality is active for the term and section. Valid values are Y and N. VARCHAR2(1) Required
p_wl_reg_check_ind   Indicator for whether the all the registration error checking will be performed when registering a section into waitlist. 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 Y and N. 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 the student has to register for a course after receiving the available seats notification. NUMBER(4)
p_data_origin   Source system that created or updated the row. 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            ssbwlsc.ssbwlsc_term_code%TYPE,
                     p_crn                  ssbwlsc.ssbwlsc_crn%TYPE,
                     p_auto_notify_ind      ssbwlsc.ssbwlsc_auto_notify_ind%TYPE,
                     p_wl_reg_check_ind     ssbwlsc.ssbwlsc_wl_reg_check_ind%TYPE,
                     p_wl_pos_webc_disp_ind ssbwlsc.ssbwlsc_wl_pos_webc_disp_ind%TYPE,
                     p_user_id              ssbwlsc.ssbwlsc_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_deadline_notify      ssbwlsc.ssbwlsc_deadline_notify%TYPE DEFAULT NULL,
                     p_data_origin          ssbwlsc.ssbwlsc_data_origin%TYPE DEFAULT NULL,
                     p_max_resend_hrs       ssbwlsc.ssbwlsc_max_resend_hrs%TYPE DEFAULT NULL)

Validates all data in the record.

Parameters
p_term_code   Term code associated with the entries on the Waitlist Automation Section Control Form (SSAWLSC). VARCHAR2(6) Required Key
p_crn   Course reference number for section waitlist control. VARCHAR2(5) Required Key
p_auto_notify_ind   Indicator for whether the automatic waitlist notification functionality is active for the term and section. Valid values are Y and N. VARCHAR2(1) Required
p_wl_reg_check_ind   Indicator for whether the all the registration error checking will be performed when registering a section into waitlist. 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 Y and N. 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 the student has to register for a course after receiving the available seats notification. NUMBER(4)
p_data_origin   Source system that created or updated the row. VARCHAR2(30)
p_max_resend_hrs   Number of hours to attempt to resend failed email messages. NUMBER(4)