1 PACKAGE ASP_ALERTS_WF AUTHID CURRENT_USER as
2 /* $Header: aspalrts.pls 120.1 2005/08/19 12:58 axavier noship $ */
3 ---------------------------------------------------------------------------
4 -- Package Name: ASP_ALERTS_WF
5 ---------------------------------------------------------------------------
6 -- Description:
7 -- This package contains functions associated with the Workflow Activity
8 -- node that interfaces with BSA Workflow and used in the Sales Alerts System.
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: Initiate_Bsa_Alerts
36 -- This function is associated with the BSA activity node and will launch the
37 -- ASP ALERTS workflow Process.
38 --
39 -- Arguments IN/OUT:
40 -- itemtype - A valid item type from (WF_ITEM_TYPES table).
41 -- itemkey - A string generated from the application object's primary key.
42 -- actid - The function activity(instance id).
43 -- funcmode - function execution mode. This is set by the engine
44 -- as either 'RUN', 'CANCEL', 'TIMEOUT'
45 -- resultout - COMPLETE:SUCCESS or NULL
46 -- activity has completed with the indicated
47 -- resultout
48 -- .
49 --------------------------------------------------------------------------------
50
51 PROCEDURE Initiate_Bsa_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
59
60 END ASP_ALERTS_WF;