54 lines
1.6 KiB
Plaintext
54 lines
1.6 KiB
Plaintext
CREATE OR REPLACE PACKAGE efno_interruption IS
|
|
--
|
|
-- Author :
|
|
-- Created :
|
|
-- Purpose :
|
|
--
|
|
g_package_name CONSTANT VARCHAR2(30) := 'efno_interruption';
|
|
g_header CONSTANT VARCHAR2(160) := '$Header: $';
|
|
g_revision CONSTANT VARCHAR2(160) := '$Revision: $';
|
|
--
|
|
g_query_id VARCHAR2(30);
|
|
g_query_start VARCHAR2(30);
|
|
g_query_end VARCHAR2(30);
|
|
/**
|
|
-- PROCEDURE send_messages
|
|
-- Sends messages to recipients identified on the specific interruption
|
|
-- Both email and SMS used
|
|
--
|
|
-- %param p_int_id Unique Identifier of the interruption
|
|
|
|
--
|
|
*/
|
|
PROCEDURE send_messages ( p_int_id IN interruptions.int_id%TYPE DEFAULT NULL
|
|
);
|
|
--
|
|
PROCEDURE download ( p_remd_id IN rec_message_details.remd_id%TYPE );
|
|
--
|
|
FUNCTION get_global( p_var IN VARCHAR2) RETURN VARCHAR2;
|
|
--
|
|
FUNCTION get_int_val ( p_val IN NUMBER
|
|
, p_conp_id IN NUMBER
|
|
, p_copa_id IN NUMBER
|
|
, p_gasday IN DATE
|
|
) RETURN NUMBER;
|
|
--
|
|
FUNCTION am_i_interrrupted ( p_conp_id IN cont_network_points.conp_id%TYPE
|
|
, p_coca_id IN contract_categories.coca_id%TYPE
|
|
, p_gasday IN DATE
|
|
) RETURN BOOLEAN;
|
|
--
|
|
PROCEDURE daily_message;
|
|
--
|
|
PROCEDURE submit_job;
|
|
--
|
|
/**
|
|
-- FUNCTION about
|
|
--
|
|
-- %return A textual description of the version number and VSS header for this package
|
|
*/
|
|
FUNCTION about RETURN VARCHAR2;
|
|
--
|
|
END efno_interruption;
|
|
/
|