index

Package sb_sect_dept_restriction_str

This package contains the error messages and error message functions for Section Department Restriction API (sb_sect_dept_restriction).

Message NameError Message
INVALID_DEPT_CODEDepartment code for the section department restriction is not valid.
An attempt was made to create or update a section department restriction with an invalid department code.
INVALID_DEPT_IE_CDEInclude/Exclude value for the section department restriction is not valid. Valid values are I and E.
An attempt was made to create or update a section department restriction with an invalid Include/Exclude value.
INVALID_REC_TYPERecord type for the section department restriction is not valid. Valid values are 1 and 2.
An attempt was made to create or update a section department restriction with an invalid record type.
INVALID_TERM_CODETerm code for the section department restriction is not valid.
An attempt was made to create or update a section department restriction with an invalid term code.
MISSING_CRNCourse reference number is missing and is required for section department restrictions.
An attempt was made to create or update a section department restriction without the required course reference number.
MISSING_CTRL_RECORDSection department restriction code (Type 2) record cannot be created without an existing control (Type 1) record.
A section department restriction control (Type 1) record is required before creating a section department restriction code (Type 2) record.
MISSING_REC_TYPERecord type is missing and is required for section department restrictions.
An attempt was made to create or update a section department restriction without the required record type.
MISSING_SECTIONBase section record does not exist for the section department restriction.
Check the section base record for the valid term and course reference number.
MISSING_TERM_CODETerm code is missing and is required for section department restrictions.
An attempt was made to create or update a section department restriction without the required term code.
MISSING_USER_IDUser identification is missing and is required for section department restrictions.
An attempt was made to create or update a section department restriction without the user ID.
NO_UPDATESection department restriction code (Type 2) record cannot be updated.
Section department restriction code cannot be updated because it is part of the unique index.
PK_NOT_FOUNDCannot find the section department restriction record using the primary or unique key.
Section department restriction does not exist.
P_DELETE_FAILEDCannot delete the section department restriction because the record does not exist.
Section department restriction does not exist.
P_SEQUENCE_ERROROracle sequence error occurred on the primary key of the section department restriction.
Report this error to your system administrator.
RECORD_EXISTSSection department restriction cannot be created because the record already exists.
Section department restriction already exists.
REC_TYPE_CODE_ERRORDepartment code must be null to create a section department restriction control (Type 1) record or not null to create a restriction code (Type 2) record.
Department code is required for a section department restriction code (Type 2) record or must be null for a control (Type 1) record.
REC_TYPE_IE_ERRORInclude/Exclude value must be specified for a section department restriction control (Type 1) record or must be null for a restriction code (Type 2) record.
Include/Exclude value must be I or E for a section department restriction control (Type 1) record or must be null for a restriction code (Type 2) record.
TYPE1_DELETE_ERRORSection department restriction control (Type 1) record cannot be deleted because a restriction code (Type 2) record exists.
Section department restriction code (Type 2) records must be deleted before deleting the section department restriction control (Type 1) record.
TYPE1_QUERY_ERRORDepartment code cannot be specified for a section department restriction control (Type 1) record.
Department code can only be specified for section department restriction code (Type 2) records.
TYPE2_QUERY_ERRORDepartment code must be specified for a section department restriction code (Type 2) record.
Department code must be specified for section department restriction code (Type 2) records.


Program units
f_get_error  

Variables
error_tab  


error_tab

error_tab gb_common_strings.errmsg_tab_type;

Global PL/SQL table that holds the error messages.


f_get_error

Function f_get_error(p_errorname VARCHAR2)
  RETURN gb_common_strings.err_type

Returns the error message corresponding to p_errorname.

Parameters
p_errorname   Name associated with the error message.