DBA Data[Home] [Help]

PACKAGE: APPS.ASP_SVCCONTRACT_ALERT_AGENT

Source


1 PACKAGE ASP_SVCCONTRACT_ALERT_AGENT as
2 /* $Header: aspascas.pls 120.1 2005/08/19 12:58 axavier noship $ */
3 ---------------------------------------------------------------------------
4 -- Package Name:   ASP_SVCCONTRACT_ALERT_AGENT
5 ---------------------------------------------------------------------------
6 -- Description:
7 --      Package contains methods for evaluating the alert condition and
8 --      finds the subscribers for various alerts.
9 --
10 -- Procedures:
11 --   (see below for specification)
12 --
13 -- History:
14 --   10-Aug-2005  axavier created.
15 ---------------------------------------------------------------------------
16 
17 /*-------------------------------------------------------------------------*
18  |                             PUBLIC CONSTANTS
19  *-------------------------------------------------------------------------*/
20 
21 /*-------------------------------------------------------------------------*
22  |                             PUBLIC DATATYPES
23  *-------------------------------------------------------------------------*/
24 
25 /*-------------------------------------------------------------------------*
26  |                             PUBLIC VARIABLES
27  *-------------------------------------------------------------------------*/
28 
29 /*-------------------------------------------------------------------------*
30  |                             PUBLIC ROUTINES
31  *-------------------------------------------------------------------------*/
32 
33 --------------------------------------------------------------------------------
34 --
35 --  Procedure: Evaluate_Alerts
36 --    Finds all the subscribers of this alert for SMS and EMAIL Channels.
37 --
38 --  Arguments IN/OUT:
39 --   itemtype  - A valid item type from (WF_ITEM_TYPES table).
40 --   itemkey   - A string generated from the application object's primary key.
41 --   actid     - The function activity(instance id).
42 --   funcmode  - function execution mode. This is set by the engine
43 --               as either 'RUN', 'CANCEL', 'TIMEOUT'
44 --   resultout -  COMPLETE:SUCCESS or NULL
45 --                               activity has completed with the indicated
46 --                               resultout
47 --
48 --
49 --------------------------------------------------------------------------------
50 
51 PROCEDURE Evaluate_Alerts(
52   itemtype  in VARCHAR2,
53   itemkey   in VARCHAR2,
54   actid     in NUMBER,
55   funcmode  in VARCHAR2,
56   resultout in out NOCOPY VARCHAR2);
57 
58 END ASP_SVCCONTRACT_ALERT_AGENT;