Package sb_sect_atts_restriction_rules Support subprograms for the Section Student Attribute Restriction API (sb_sect_atts_restriction). |
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 ssrratt.ssrratt_primary_key%TYPE, p_term_code ssrratt.ssrratt_term_code%TYPE, p_crn ssrratt.ssrratt_crn%TYPE, p_rec_type ssrratt.ssrratt_rec_type%TYPE, p_user_id ssrratt.ssrratt_user_id%TYPE DEFAULT gb_common.f_sct_user, p_atts_ie_cde ssrratt.ssrratt_atts_ie_cde%TYPE, p_atts_code ssrratt.ssrratt_atts_code%TYPE, p_data_origin ssrratt.ssrratt_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 that identifies the record. NUMBER (9) Required Key | |
p_term_code |
Term in which the section registration student attribute restriction exists. VARCHAR2(6) Required Key | |
p_crn |
Course reference number for which the section registration student attribute restriction exists. VARCHAR2(5) Required Key | |
p_rec_type |
Indicator for whether the record contains a student attribute indicator or a student attribute code. Valid values are: 1 - Attribute indicator, 2 - Attribute code. VARCHAR2(1) Required Key | |
p_user_id |
ID of the user who changed the record. VARCHAR2(30) Required | |
p_atts_ie_cde |
Indicator for whether the student attribute codes entered should be included or excluded in restricting the course. Valid values are: I - Include, E - Exclude. VARCHAR2(1) | |
p_atts_code |
Code of a student attribute for which registration restrictions exist. The Include/Exclude field will determine how the student attribute is restricted. An unlimited number of student attributes may be defined. VARCHAR2(4) Key | |
p_data_origin |
Source system that generated the data. VARCHAR2(30) | |
p_internal_record_id |
Database ROWID VARCHAR2(18) Required |
p_validate
Procedure p_validate(p_term_code ssrratt.ssrratt_term_code%TYPE, p_crn ssrratt.ssrratt_crn%TYPE, p_rec_type ssrratt.ssrratt_rec_type%TYPE, p_user_id ssrratt.ssrratt_user_id%TYPE DEFAULT gb_common.f_sct_user, p_atts_ie_cde ssrratt.ssrratt_atts_ie_cde%TYPE DEFAULT NULL, p_atts_code ssrratt.ssrratt_atts_code%TYPE, p_data_origin ssrratt.ssrratt_data_origin%TYPE DEFAULT NULL)
Validates all data in the record.
Parameters |
p_term_code |
Term in which the section registration student attribute restriction exists. VARCHAR2(6) Required Key | |
p_crn |
Course reference number for which the section registration student attribute restriction exists. VARCHAR2(5) Required Key | |
p_rec_type |
Indicator for whether the record contains a student attribute indicator or a student attribute code. Valid values are: 1 - Attribute indicator, 2 - Attribute code. VARCHAR2(1) Required Key | |
p_user_id |
ID of the user who changed the record. VARCHAR2(30) Required | |
p_atts_ie_cde |
Indicator for whether the student attribute codes entered should be included or excluded in restricting the course. Valid values are: I - Include, E - Exclude. VARCHAR2(1) | |
p_atts_code |
Code of a student attribute for which registration restrictions exist. The Include/Exclude field will determine how the student attribute is restricted. An unlimited number of student attributes may be defined. VARCHAR2(4) Key | |
p_data_origin |
Source system that generated the data. VARCHAR2(30) |