1 PACKAGE CAC_NOTE_PURGE_PVT AUTHID CURRENT_USER AS
2 /* $Header: cacntpvs.pls 120.2 2005/09/13 10:22:03 abraina noship $ */
3 /*=======================================================================+
4 | Copyright (c) 2002 Oracle Corporation Redwood Shores, California, USA|
5 | All rights reserved. |
6 +=======================================================================+
7 | FILENAME |
8 | cacntpvs.pls |
9 | |
10 | DESCRIPTION |
11 | - This package is implemented for Notes purge program that would be |
12 | called from TASK or SR. |
13 | This is private API and should not be called by other team. |
14 | It will be called by CAC_NOTE_PURGE_PUB.PURGE_NOTES program only. |
15 | |
16 | NOTES |
17 | |
18 | Date Developer Change |
19 | ---------- --------------- -----------------------------------|
20 | 08-08-2005 Abhinav Raina Created |
21 +======================================================================*/
22
23
24 G_PKG_NAME CONSTANT VARCHAR2(30):='CAC_NOTE_PURGE_PVT';
25
26 /**
27 * Purge Notes for a given set of input parameters.
28 *
29 * @param p_api_version the standard API version number
30 * @param p_init_msg_list the standard API flag allows API callers to request
31 * that the API does the initialization of the message list on their behalf.
32 * By default, the message list will not be initialized.
33 * @param p_commit the standard API flag is used by API callers to ask
34 * the API to commit on their behalf after performing its function
35 * By default, the commit will not be performed.
36 * @param x_return_status returns the result of all the operations performed
37 * by the API and must have one of the following values:
38 * <LI><Code>FND_API.G_RET_STS_SUCCESS</Code>
39 * <LI><Code>FND_API.G_RET_STS_ERROR</Code>
40 * <LI><Code>FND_API.G_RET_STS_UNEXP_ERROR</Code>
41 * @param x_msg_count returns the number of messages in the API message list
42 * @param x_msg_data returns the message in an encoded format if
43 * <code>x_msg_count</code> returns number one.
44 * @param processing_set_id ID for identifying parent of the Notes.
45 * @param p_object_type Type of object for which this procedure is being called.
46 * @rep:scope INTERNAL
47 * @rep:product CAC
48 * @rep:displayname Purge Notes
49 */
50
51 Procedure purge_notes(
52 p_api_version IN NUMBER,
53 p_init_msg_list IN VARCHAR2 DEFAULT fnd_api.g_false,
54 p_commit IN VARCHAR2 DEFAULT fnd_api.g_false,
55 x_return_status OUT NOCOPY VARCHAR2,
56 x_msg_data OUT NOCOPY VARCHAR2,
57 x_msg_count OUT NOCOPY NUMBER,
58 p_processing_set_id IN NUMBER,
59 p_object_type IN VARCHAR2 );
60
61 END;