DBA Data[Home] [Help]

PACKAGE: APPS.EAM_WORKORDER_WORKFLOW_PVT

Source


1 PACKAGE  EAM_WORKORDER_WORKFLOW_PVT  AS
2 /* $Header: EAMVWWFS.pls 120.0 2005/06/08 02:51:58 appldev noship $*/
3 
4 /*Procedure called from Work Order Release Approval when the workflow is approved*/
5 PROCEDURE Update_Status_Approved( itemtype  in varchar2,
6                       itemkey   in varchar2,
7                       actid     in number,
8                       funcmode  in varchar2,
9                       resultout out NOCOPY varchar2);
10 
11 
12 /*  Procedure called from Work Order Release Approval when the workflow is Rejected
13 */
14 PROCEDURE Update_Status_Rejected( itemtype  in varchar2,
15                       itemkey   in varchar2,
16                       actid     in number,
17                       funcmode  in varchar2,
18                       resultout out NOCOPY varchar2);
19 
20 
21 /*  Procedure called from Work Order Release Approval to find the next approver
22 */
23 procedure Get_Next_Approver(itemtype  in varchar2,
24       itemkey         in varchar2,
25       actid           in number,
26       funcmode        in varchar2,
27       resultout       out NOCOPY varchar2);
28 
29 
30  /*  Procedure called from Work Order Release Approval when an approver responds to a notification
31 */
32 procedure Update_AME_With_Response(itemtype  in varchar2,
33 itemkey         in varchar2,
34 actid           in number,
35 funcmode        in varchar2,
36 resultout       out NOCOPY varchar2);
37 
38 
39 /*  Function called from subscription .This will in turn laucnh the workflow
40 */
41 function Launch_Workflow
42 (p_subscription_guid in raw,
43 p_event in out NOCOPY wf_event_t) return varchar2;
44 
45 
46 /*  Procedure called from the public package 'EAM_WORKFLOW_DETAILS_PUB'
47     This procedure will launch the seeded workflow when status is changed to Released
48 */
49 PROCEDURE Is_Approval_Required_Released
50 (
51 p_old_wo_rec IN EAM_PROCESS_WO_PUB.eam_wo_rec_type,
52 p_new_wo_rec IN EAM_PROCESS_WO_PUB.eam_wo_rec_type,
53    x_approval_required    OUT NOCOPY   BOOLEAN,
54    x_workflow_name        OUT NOCOPY    VARCHAR2,
55    x_workflow_process    OUT NOCOPY    VARCHAR2
56 );
57 
58 END EAM_WORKORDER_WORKFLOW_PVT ;