1 PACKAGE FUN_MULTI_SYSTEM_WF_PKG AS
2 /* $Header: funmulss.pls 120.0 2003/05/01 23:27:09 yingli noship $ */
3
4
5 -- Check a party is a local party or remote party
6 FUNCTION IS_LOCAL (p_party_id IN NUMBER) return boolean;
7
8 -- Raise transaction is sent by the initiator events for all
9 -- the local recipients
10
11 PROCEDURE RAISE_LOCAL_EVENTS(itemtype IN VARCHAR2,
12 itemkey IN VARCHAR2,
13 actid IN NUMBER,
14 funcmode IN VARCHAR2,
15 resultout OUT NOCOPY VARCHAR2);
16
17 -- Set workflow item attributes for the process
18
19 PROCEDURE SET_ATTRIBUTES (itemtype IN VARCHAR2,
20 itemkey IN VARCHAR2,
21 actid IN NUMBER,
22 funcmode IN VARCHAR2,
23 resultout OUT NOCOPY VARCHAR2);
24
25 -- Determine the remote instance Number
26
27 PROCEDURE COUNT_REMOTE (itemtype IN VARCHAR2,
28 itemkey IN VARCHAR2,
29 actid IN NUMBER,
30 funcmode IN VARCHAR2,
31 resultout OUT NOCOPY VARCHAR2);
32
33 -- Check the trading partner is a local party or not;
34 -- The trading partner is different according to the event
35 -- set the item attribute RECEIVE_EVENT_NAME and event key(LOCAL_EVENT_KEY);
36
37 PROCEDURE CHECK_TP_LOCAL (itemtype IN VARCHAR2,
38 itemkey IN VARCHAR2,
39 actid IN NUMBER,
40 funcmode IN VARCHAR2,
41 resultout OUT NOCOPY VARCHAR2);
42
43
44 END FUN_MULTI_SYSTEM_WF_PKG;
45