DBA Data[Home] [Help]

PACKAGE: APPS.CAC_TASK_PURGE_PUB

Source


1 PACKAGE cac_task_purge_pub AUTHID CURRENT_USER AS
2 /* $Header: cactkprs.pls 120.4 2005/09/19 09:46:32 rhshriva noship $ */
3 /*=======================================================================+
4  |  Copyright (c) 2002 Oracle Corporation Redwood Shores, California, USA|
5  |                            All rights reserved.                       |
6  +=======================================================================+
7  | FILENAME                                                              |
8  |   cactkprs.pls                                                         |
9  |                                                                       |
10  | DESCRIPTION                                                           |
11  |   - This package is implemented for the commonly used procedure or    |
12  |        function.                                                      |
13  |                                                                       |
14  | NOTES                                                                 |
15  |                                                                       |
16  | Date         Developer             Change                             |
17  | ------       ---------------       -----------------------------------|
18  | 03--2004  Rahul Shrivastava     Created                            |
19  +======================================================================*/
20    G_PKG_NAME      CONSTANT        VARCHAR2(30):='CAC_TASK_PURGE_PUB';
21 
22   /**
23      * Purge Tasks for a given set of input parameters.
24      *
25      * @param p_api_version the standard API version number
26      * @param p_init_msg_list the standard API flag allows API callers to request
27      * that the API does the initialization of the message list on their behalf.
28      * By default, the message list will not be initialized.
29      * @param p_commit the standard API flag is used by API callers to ask
30      * the API to commit on their behalf after performing its function
31      * By default, the commit will not be performed.
32      * @param x_return_status returns the result of all the operations performed
33      * by the API and must have one of the following values:
34      *   <LI><Code>FND_API.G_RET_STS_SUCCESS</Code>
35      *   <LI><Code>FND_API.G_RET_STS_ERROR</Code>
36      *   <LI><Code>FND_API.G_RET_STS_UNEXP_ERROR</Code>
37      * @param x_msg_count returns the number of messages in the API message list
38      * @param x_msg_data returns the message in an encoded format if
39      * <code>x_msg_count</code> returns number one.
40      *@param p_processing_set_id   ID for identifying parent of the TASK.
41      *@param p_object_type   Type of object for which this procedure is being called.
42     * @rep:scope INTERNAL
43      * @rep:product CAC
44      * @rep:displayname Purge Task
45 */
46 
47   Procedure purge_tasks(
48       p_api_version           IN          NUMBER,
49       p_init_msg_list         IN          VARCHAR2 DEFAULT fnd_api.g_false,
50       p_commit                IN          VARCHAR2 DEFAULT fnd_api.g_false,
51       x_return_status         OUT  NOCOPY VARCHAR2,
52       x_msg_data              OUT  NOCOPY VARCHAR2,
53       x_msg_count             OUT  NOCOPY NUMBER,
54       p_object_type           IN          VARCHAR2,
55       p_processing_set_id     IN          NUMBER);
56 
57 
58 
59 /**
60    * Validate Tasks for a given set of input parameters.
61    *
62    * @param p_api_version the standard API version number
63    * @param p_init_msg_list the standard API flag allows API callers to request
64    * that the API does the initialization of the message list on their behalf.
65    * By default, the message list will not be initialized.
66    * @param p_commit the standard API flag is used by API callers to ask
67    * the API to commit on their behalf after performing its function
68    * By default, the commit will not be performed.
69    * @param x_return_status returns the result of all the operations performed
70    * by the API and must have one of the following values:
71    *   <LI><Code>FND_API.G_RET_STS_SUCCESS</Code>
72    *   <LI><Code>FND_API.G_RET_STS_ERROR</Code>
73    *   <LI><Code>FND_API.G_RET_STS_UNEXP_ERROR</Code>
74    * @param x_msg_count returns the number of messages in the API message list
75    * @param x_msg_data returns the message in an encoded format if
76    * <code>x_msg_count</code> returns number one.
77    *@param p_processing_set_id   ID for identifying parent of the TASK.
78    *@param p_object_type   Type of object for which this procedure is being called.
79    *@param p_purge_source_with_open_task: default is false. If value is passed as false, code will set the status of SR as 'E' in the global temp table which has open tasks associated to it.
80    * @rep:scope INTERNAL
81    * @rep:product CAC
82    * @rep:displayname Validate Task
83 */
84 
85    Procedure validate_tasks(
86       p_api_version             IN          NUMBER,
87       p_init_msg_list           IN          VARCHAR2 DEFAULT fnd_api.g_false,
88       p_commit                  IN          VARCHAR2 DEFAULT fnd_api.g_false,
89       x_return_status           OUT  NOCOPY VARCHAR2,
90       x_msg_data                OUT  NOCOPY VARCHAR2,
91       x_msg_count               OUT  NOCOPY NUMBER,
92       p_object_type             IN          VARCHAR2,
93       p_processing_set_id       IN          NUMBER,
94       p_purge_source_with_open_task IN          VARCHAR2  DEFAULT 'N');
95 
96 
97 
98 END;