DBA Data[Home] [Help]

PACKAGE: APPS.CSD_WF_PROCESS_PVT

Source


1 PACKAGE CSD_WF_PROCESS_PVT AS
2 /* $Header: csdvwfps.pls 120.3.12020000.3 2013/04/04 09:32:22 subhat ship $ */
3 
4 /* ---------------------------------------------------------*/
5 /* Define global variables                                  */
6 /* ---------------------------------------------------------*/
7 G_PKG_NAME  CONSTANT VARCHAR2(30) := 'CSD_WF_DEMO_PVT';
8 G_FILE_NAME CONSTANT VARCHAR2(12) := 'csdvrwfs.pls';
9 
10 
11 /*-----------------------------------------------------------------*/
12 /* procedure name: get_ro_details_wf                               */
13 /* description   : Derive RO details for the workflow              */
14 /* The procedure also checks to see if a role already exists for   */
15 /* the user, if not, it will create a ad-hoc role for the user     */
16 /*-----------------------------------------------------------------*/
17 PROCEDURE get_ro_details_wf(itemtype   in         varchar2,
18                             itemkey    in         varchar2,
19                             actid      in         number,
20                             funcmode   in         varchar2,
21                             resultout  out NOCOPY varchar2);
22 
23 /*-----------------------------------------------------------------*/
24 /* procedure name: create_cu_msg_wf                                */
25 /* description   : Create the message sent to customer             */
26 /* yvchen: Bug 12888789                                            */
27 /*-----------------------------------------------------------------*/
28 PROCEDURE create_cu_msg_wf(itemtype   in         varchar2,
29                            itemkey    in         varchar2,
30                            actid      in         number,
31                            funcmode   in         varchar2,
32                            resultout  out NOCOPY varchar2);
33 
34 /*-------------------------------------------------------------------*/
35 /* procedure name: create_cu_rep_msg_wf                              */
36 /*                 Message to the customer service Rep               */
37 /* description   : Create the message sent to customer service rep   */
38 /* yvchen: Bug 12888789                                              */
39 /*-------------------------------------------------------------------*/
40 PROCEDURE create_cu_rep_msg_wf(itemtype   in         varchar2,
41                                itemkey    in         varchar2,
42                                actid      in         number,
43                                funcmode   in         varchar2,
44                                resultout  out NOCOPY varchar2);
45 
46 /*-------------------------------------------------------------------*/
47 /* procedure name: auto_create_repair_orders                         */
48 /*                 Create Repair Orders for Recovered Parts          */
49 /* description   : Create service request and repair orders for      */
50 /*                 recovered parts                                   */
51 /* yvchen: FP bug 13968378                                           */
52 /*-------------------------------------------------------------------*/
53 
54 PROCEDURE auto_create_repair_orders(itemtype   in         varchar2,
55                                itemkey    in         varchar2,
56                                actid      in         number,
57                                funcmode   in         varchar2,
58                                resultout  out NOCOPY varchar2);
59 
60 /*-------------------------------------------------------------------*/
61 /* procedure name: create_service_warranty_wf                        */
62 /*                 Creates a service warranty if applicable          */
63 /* description   : Evaluates whether the item being shipped out is   */
64 /*             eligible for repair warranty. If yes, creates the same*/
65 /*-------------------------------------------------------------------*/
66 PROCEDURE create_service_warranty_wf
67                               (itemtype   in         varchar2,
68                                itemkey    in         varchar2,
69                                actid      in         number,
70                                funcmode   in         varchar2,
71                                resultout  out NOCOPY varchar2);
72 
73 END CSD_WF_PROCESS_PVT;