index

Package sb_sect_chrt_restriction_str

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

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