index

Package sb_athletic_attributes_strings

This package contains the error messages and error message functions for the Athletic Attributes API (sb_athletic_attributes).

Message KeyError Message
MISSING_PIDMUnique identifier (PIDM) is missing
Unique identifier (PIDM) is required for the athletic attributes record and cannot be null.
MISSING_TERM_CODETerm code is missing
Term code is required for the athletic attributes record and cannot be null.
MISSING_ACTC_CODESport code is missing
Sport code is required for the athletic attributes record and cannot be null.
MISSING_SAAT_CODEAthletic attribute code is missing
Athletic attribute code is required for the athletic attributes record and cannot be null.
MISSING_USER_IDUser ID is missing
User ID is required for the athletic attributes record and cannot be null.
INVALID_PIDMInvalid unique identifier (PIDM)
Unique identifier (PIDM) for the athletic attributes record must be valid.
INVALID_TERM_CODEInvalid term code
Term code for the athletic attributes record must exist in the STVTERM table.
INVALID_ACTC_CODEInvalid sport code
Sport code for the athletic attributes record must exist in the STVACTC table.
INVALID_SAAT_CODEInvalid athletic attribute code
Athletic attribute code for the athletic attributes record must exist in the STVSAAT table.
INVALID_USER_IDInvalid user ID
User ID for the athletic attributes record must be valid.
INVALID_DATA_ORIGINInvalid data origin
Data origin for the athletic attributes record must be valid.
P_DELETE_FAILEDCannot delete the record because it does not exist
Cannot delete the athletic attributes record because it does not exist.
PK_NOT_FOUNDCannot find the record using the primary or unique key
Cannot find the athletic attributes record using the primary or unique key.
RECORD_EXISTSCannot create a new record because the record already exists
The new athletic attributes record cannot be created because the record already exists.


Program units
f_get_error   Returns the error message corresponding to p_errorname.

Variables
error_tab   Global PL/SQL table that holds the error messages.


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.