index

Package sb_crse_select_pri_rules

This package provides messaging support and field validations for the the Waitlist Course Selection Priority API (sb_crse_select_pri).


Program units
p_register_entity  
p_register_entity  
p_validate  


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_primary_key        sobcspr.sobcspr_primary_key%TYPE,
                            p_term_code          sobcspr.sobcspr_term_code%TYPE,
                            p_user_id            sobcspr.sobcspr_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_coll_code          sobcspr.sobcspr_coll_code%TYPE,
                            p_subj_code          sobcspr.sobcspr_subj_code%TYPE,
                            p_crse_numb          sobcspr.sobcspr_crse_numb%TYPE,
                            p_crn                sobcspr.sobcspr_crn%TYPE,
                            p_attr_code          sobcspr.sobcspr_attr_code%TYPE,
                            p_data_origin        sobcspr.sobcspr_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_primary_key   Unique sequence number to identify course rule. NUMBER(9) Required Key
p_term_code   Term code associated with the entries on the Automated Waitlist Term Control Form (SOAWLTC). VARCHAR2(6) Required
p_user_id   ID of the user who inserted or last updated the data. VARCHAR2(30) Required
p_coll_code   College code of the course to be used in the course selection rule. VARCHAR2(2)
p_subj_code   Subject code of the course to be used in the course selection rule. VARCHAR2(4)
p_crse_numb   Course number of the course to be used in the course selection rule. VARCHAR2(5)
p_crn   Section course reference number of the section to be used in the course selection rule. VARCHAR2(5)
p_attr_code   Attribute code of the course to be used in the course selection rule. VARCHAR2(4)
p_data_origin   Source system that created or updated the row. VARCHAR2(30)
p_internal_record_id   Database ROWID VARCHAR2(18) required


p_validate

Procedure p_validate(p_primary_key sobcspr.sobcspr_primary_key%TYPE,
                     p_term_code   sobcspr.sobcspr_term_code%TYPE,
                     p_user_id     sobcspr.sobcspr_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_coll_code   sobcspr.sobcspr_coll_code%TYPE DEFAULT NULL,
                     p_subj_code   sobcspr.sobcspr_subj_code%TYPE DEFAULT NULL,
                     p_crse_numb   sobcspr.sobcspr_crse_numb%TYPE DEFAULT NULL,
                     p_crn         sobcspr.sobcspr_crn%TYPE DEFAULT NULL,
                     p_attr_code   sobcspr.sobcspr_attr_code%TYPE DEFAULT NULL,
                     p_data_origin sobcspr.sobcspr_data_origin%TYPE DEFAULT NULL)

Validates all data in the record.

Parameters
p_primary_key   Unique sequence number to identify course rule. NUMBER(9) Required Key
p_term_code   Term code associated with the entries on the Automated Waitlist Term Control Form (SOAWLTC). VARCHAR2(6) Required
p_user_id   ID of the user who inserted or last updated the data. VARCHAR2(30) Required
p_coll_code   College code of the course to be used in the course selection rule. VARCHAR2(2)
p_subj_code   Subject code of the course to be used in the course selection rule. VARCHAR2(4)
p_crse_numb   Course number of the course to be used in the course selection rule. VARCHAR2(5)
p_crn   Section course reference number of the section to be used in the course selection rule. VARCHAR2(5)
p_attr_code   Attribute code of the course to be used in the course selection rule. VARCHAR2(4)
p_data_origin   Source system that created or updated the row. VARCHAR2(30)