1 PACKAGE hr_ki_wf_misc AUTHID CURRENT_USER AS
2 /* $Header: hrkiwfms.pkh 115.2 2003/11/25 04:09:41 ksiddego noship $ */
3 PROCEDURE RAISE_EVENT
4 ( p_party_site_id IN NUMBER
5 , p_party_id IN NUMBER
6 , p_event_name IN VARCHAR2
7 default 'oracle.apps.per.ki.tradingpartner.initiate'
8 , p_party_type IN VARCHAR2 DEFAULT 'I'
9 , p_response_expected IN VARCHAR2 DEFAULT 'T'
10 , p_event_key OUT NOCOPY NUMBER
11 );
12
13 -- ---------------------------------------------------------------------
14 -- Name : ConfirmBodEnabled
15 -- Purpose : Checks to see whether the workflow process should be waiting
16 -- for a OAG Complient confirmation Business Object Document
17 -- (otherwise known as the Confirm BOD). This has been set as
18 -- part of the XML Gateway trading partner setup.
19 --
20 -- ---------------------------------------------------------------------
21 PROCEDURE ConfirmBodEnabled(
22 itemtype in VARCHAR2,
23 itemkey in VARCHAR2,
24 actid in NUMBER,
25 funcmode in VARCHAR2,
26 result in out NOCOPY VARCHAR2);
27
28 -- ---------------------------------------------------------------------
29 -- Name : ConfirmBodError
30 -- Purpose : Checks to see whether the returned Confirm Bod has errored
31 --
32 -- ---------------------------------------------------------------------
33 PROCEDURE ConfirmBodError(
34 itemtype in VARCHAR2,
35 itemkey in VARCHAR2,
36 actid in NUMBER,
37 funcmode in VARCHAR2,
38 result in out NOCOPY VARCHAR2);
39 -- ---------------------------------------------------------------------
40 -- Name : IsResponseRequired
41 -- Purpose : Check to see whether a response is required or not.
42 --
43 -- ---------------------------------------------------------------------
44 PROCEDURE IsResponseRequired(
45 itemtype in VARCHAR2,
46 itemkey in VARCHAR2,
47 actid in NUMBER,
48 funcmode in VARCHAR2,
49 result in out NOCOPY VARCHAR2) ;
50
51 -- ---------------------------------------------------------------------
52 -- Name : AlterReceivedFlag
53 -- Purpose : Alter the recieved flag to indicate the xml has arrived.
54 --
55 -- ---------------------------------------------------------------------
56 PROCEDURE AlterReceivedFlag(
57 itemtype in VARCHAR2,
58 itemkey in VARCHAR2,
59 actid in NUMBER,
60 funcmode in VARCHAR2,
61 result in out NOCOPY VARCHAR2);
62 -- ---------------------------------------------------------------------
63 -- Name : HasResponseArrived
64 -- Purpose : Alter the recieved flag to indicate the xml has arrived.
65 --
66 -- ---------------------------------------------------------------------
67 function HasResponseArrived(
68 itemkey in VARCHAR2
69 ) return BOOLEAN;
70 -- ---------------------------------------------------------------------
71 -- Name : ContinueWorkflow
72 -- Purpose : continues workflow after setting the response_expected flag
73 -- to the appropriate value.
74 -- ---------------------------------------------------------------------
75 PROCEDURE ContinueWorkflow
76 (itemkey in VARCHAR2,
77 another_response_expected in BOOLEAN DEFAULT FALSE);
78 END hr_ki_wf_misc;