CREATE OR REPLACE PACKAGE EFT_NOM.WSGLM IS -- -- Header Information -- g_header CONSTANT VARCHAR2(160) := '$Header: /Isle Of Grain/database/PLSQL/WSGLM.pck 1 7/01/05 12:55 Gilberta $'; g_revision CONSTANT VARCHAR2(160) := '$Revision: 1 $'; -- /************************************************************************ ** Caption: The text forms the caption/prompt for an item ** (1-100) ************************************************************************/ -- The text displayed in radio groups and lists which represents a null value -- in an optional column based on a domain. -- CAP001_UNKNOWN constant varchar2(100) := 'Unknown'; FUNCTION CAP001_UNKNOWN RETURN VARCHAR; -- The text used in link to an insert form.
is replaced by the zone -- caption -- CAP002_ADD_LINK constant varchar2(100) := 'Add new
record';
FUNCTION CAP002_ADD_LINK RETURN VARCHAR;
-- Query Form: Default Caption for Find Button
-- CAP003_QF_FIND constant varchar2(100) := 'Find';
FUNCTION CAP003_QF_FIND RETURN VARCHAR;
-- Query Form: Default Caption for Clear Button
-- CAP004_QF_CLEAR constant varchar2(100) := 'Clear';
FUNCTION CAP004_QF_CLEAR RETURN VARCHAR;
-- View Form: Default Caption for ReQuery Button
-- CAP005_VF_REQUERY constant varchar2(100) := 'ReQuery';
FUNCTION CAP005_VF_REQUERY RETURN VARCHAR;
-- View Form: Default Caption for Update Button
-- CAP006_VF_UPDATE constant varchar2(100) := 'Update';
FUNCTION CAP006_VF_UPDATE RETURN VARCHAR;
-- View Form: Default Caption for Delete Button
-- CAP007_VF_DELETE constant varchar2(100) := 'Delete';
FUNCTION CAP007_VF_DELETE RETURN VARCHAR;
-- View Form: Default Caption for Revert Button
-- CAP008_VF_REVERT constant varchar2(100) := 'Revert';
FUNCTION CAP008_VF_REVERT RETURN VARCHAR;
-- Insert Form: Default Caption for Insert Button
-- CAP009_IF_INSERT constant varchar2(100) := 'Insert';
FUNCTION CAP009_IF_INSERT RETURN VARCHAR;
-- Insert Form: Default Caption for Clear Button
-- CAP010_IF_CLEAR constant varchar2(100) := 'Clear';
FUNCTION CAP010_IF_CLEAR RETURN VARCHAR;
-- Record List: Default Caption for Next Button
-- CAP011_RL_NEXT constant varchar2(100) := 'Next';
FUNCTION CAP011_RL_NEXT RETURN VARCHAR;
-- Record List: Default Caption for Previous Button
-- CAP012_RL_PREVIOUS constant varchar2(100) := 'Previous';
FUNCTION CAP012_RL_PREVIOUS RETURN VARCHAR;
-- Record List: Default Caption for First Button
-- CAP013_RL_FIRST constant varchar2(100) := 'First';
FUNCTION CAP013_RL_FIRST RETURN VARCHAR;
-- Record List: Default Caption for Last Button
-- CAP014_RL_LAST constant varchar2(100) := 'Last';
FUNCTION CAP014_RL_LAST RETURN VARCHAR;
-- Record List: Default Caption for Count Button
-- CAP015_RL_COUNT constant varchar2(100) := 'Count';
FUNCTION CAP015_RL_COUNT RETURN VARCHAR;
-- Record List: Default Caption for ReQuery Button
-- CAP016_RL_REQUERY constant varchar2(100) := 'ReQuery';
FUNCTION CAP016_RL_REQUERY RETURN VARCHAR;
-- List Of Values: Default Caption for Find Button
-- CAP017_LOV_FIND constant varchar2(100) := 'Find';
FUNCTION CAP017_LOV_FIND RETURN VARCHAR;
-- List Of Values: Default Caption for Close Button
-- CAP018_LOV_CLOSE constant varchar2(100) := 'Close';
FUNCTION CAP018_LOV_CLOSE RETURN VARCHAR;
-- List Of Values: Caption for search criterion field in LOV. is replaced with the
-- number of the record
-- DSP109_RECORD constant varchar2(100) := 'Record ';
FUNCTION DSP109_RECORD RETURN VARCHAR;
-- Text displayed when more than one row is in record list. is replaced with the total
-- DSP111_OF_TOTAL constant varchar2(100) := 'of ';
FUNCTION DSP111_OF_TOTAL RETURN VARCHAR;
-- Text displayed when no row is in record list.
-- DSP112_NO_RECORDS constant varchar2(100) := 'No Records returned';
FUNCTION DSP112_NO_RECORDS RETURN VARCHAR;
-- Text used in link to a detail if the number of rows are to be displayed.
-- is replaced with the number of rows
-- DSP113_DETAIL_ROWS constant varchar2(100) := '( Rows)';
FUNCTION DSP113_DETAIL_ROWS RETURN VARCHAR;
-- Text displayed at start of a Query Form, where there is no module
-- component caption
-- DSP115_ENTER_QRY constant varchar2(100) := 'Enter query criteria';
FUNCTION DSP115_ENTER_QRY RETURN VARCHAR;
-- Text displayed at start of a Query Form, where there is a module
-- component caption. is replaced with that caption.
-- DSP116_ENTER_QRY_CAPTION constant varchar2(100) := 'Enter query criteria for ';
FUNCTION DSP116_ENTER_QRY_CAPTION RETURN VARCHAR;
-- Text displayed at start of a Inset Form. is replaced with module
-- component caption. Note, the module component caption could be null.
-- DSP117_ENTER_NEW_ROW constant varchar2(100) := 'Enter values for new record';
FUNCTION DSP117_ENTER_NEW_ROW RETURN VARCHAR;
-- Text displayed at start of a Delete Form.
-- DSP118_CONFIRM_DELETE constant varchar2(100) := 'Please confirm the Delete';
FUNCTION DSP118_CONFIRM_DELETE RETURN VARCHAR;
-- Text displayed between two range controls in a Query Form
-- DSP119_RANGE_TO constant varchar2(100) := 'to';
FUNCTION DSP119_RANGE_TO RETURN VARCHAR;
-- Date prompt in standard footer
-- DSP120_DATE constant varchar2(100) := 'Date:';
FUNCTION DSP120_DATE RETURN VARCHAR;
-- Text displayed at top of form after a successful insert/update
-- DSP121_SUCCESS constant varchar2(100) := 'Success!';
FUNCTION DSP121_SUCCESS RETURN VARCHAR;
-- Text displayed at top of form after an unsuccessful insert/update
-- DSP122_ERROR constant varchar2(100) := 'Error!';
FUNCTION DSP122_ERROR RETURN VARCHAR;
-- Caption for a list of values form
-- DSP123_LOV_CAPTION constant varchar2(100) := 'List Of Values: is replaced by WSGL.MAX_ROWS.
-- MSG203_MAX_ROWS constant varchar2(100) := 'Maximum number of records ( ) returned';
FUNCTION MSG203_MAX_ROWS RETURN VARCHAR;
-- Message issued when an attempt is made to access a row which has been deleted
-- (presumably by another user)
-- MSG204_ROW_DELETED constant varchar2(100) := 'Row deleted by another user';
FUNCTION MSG204_ROW_DELETED RETURN VARCHAR;
-- Message issued after a successful row update
-- MSG207_ROW_UPDATED constant varchar2(100) := 'Row updated';
FUNCTION MSG207_ROW_UPDATED RETURN VARCHAR;
-- Message issued after a successful row insert
-- MSG208_ROW_INSERTED constant varchar2(100) := 'Row inserted';
FUNCTION MSG208_ROW_INSERTED RETURN VARCHAR;
-- Message issued when an invalid value has been entered in a domain
-- MSG209_INVALID_DV constant varchar2(100) := 'Invalid value';
FUNCTION MSG209_INVALID_DV RETURN VARCHAR;
-- Message issued when an invalid value has been entered in a query field.
-- The is replaced by the field caption.
-- MSG210_INVALID_QRY constant varchar2(100) := 'Invalid value in field(s)';
FUNCTION MSG210_INVALID_QRY RETURN VARCHAR;
-- Action text issued when an invalid value has been entered in a date
-- query field. The is replaced by the current date in the required format.
-- MSG211_EXAMPLE_TODAY constant varchar2(100) := 'Enter in the following format: ';
FUNCTION MSG211_EXAMPLE_TODAY RETURN VARCHAR;
-- Part of the message issued when a column which has a format mask fails
-- some basic validation. is replaced by the format mask.
-- MSG212_FOMAT_MASK constant varchar2(100) := '(Format Mask is '' '')';
FUNCTION MSG212_FOMAT_MASK RETURN VARCHAR;
-- Message issued when attempting to navigate beyond the first record set
-- MSG213_AT_FIRST constant varchar2(100) := 'At first row';
FUNCTION MSG213_AT_FIRST RETURN VARCHAR;
-- Message issued when attempting to navigate beyond the last record set
-- MSG214_AT_LAST constant varchar2(100) := 'At last row';
FUNCTION MSG214_AT_LAST RETURN VARCHAR;
-- Message issued if browser does not support multiple submit buttons.
-- MSG215_NO_MULTIPLE_SUBMITS constant varchar2(200) := 'The browser in use does not support multiple form submit buttons, and is therefore unable to run this application.';
FUNCTION MSG215_NO_MULTIPLE_SUBMITS RETURN VARCHAR;
-- Message issued after a successful row delete
-- MSG216_ROW_DELETED constant varchar2(100) := 'Row deleted';
FUNCTION MSG216_ROW_DELETED RETURN VARCHAR;
-- Message issued if an unhandled exception occurs. is replaced by the name of the
-- routine.
-- MSG217_EXCEPTION constant varchar2(200) := 'The following unhandled error has occurred in the routine :';
FUNCTION MSG217_EXCEPTION RETURN VARCHAR;
-- Message issued as suggested action following an unhandled exception.
-- MSG218_CONTACT_SUPPORT constant varchar2(100) := 'Please contact your support representative.';
FUNCTION MSG218_CONTACT_SUPPORT RETURN VARCHAR;
-- Message issued if mandatory field is missing. is the field caption.
-- MSG219_MISSING_MANDATORY constant varchar2(100) := ' A value must be entered';
FUNCTION MSG219_MISSING_MANDATORY RETURN VARCHAR;
-- Message issued if numeric precision is wrong. Value cannot have more than is the field caption.
-- MSG222_SCALE_ERROR2 constant varchar2(100) := ' Value cannot contain decimal places';
FUNCTION MSG222_SCALE_ERROR2 RETURN VARCHAR;
-- Message issued if value is not in range.