1 PACKAGE OZF_RESALE_PUB AS
2 /* $Header: ozfprsss.pls 120.4 2006/05/24 09:39:46 asylvia ship $ */
3 /*#
4 * This package defines the procedures that are required for processing
5 * indirect sales data. It includes the procedure definitions of
6 * Start_Process_Iface and Start_Purge
7 * @rep:scope public
8 * @rep:product OZF
9 * @rep:lifecycle active
10 * @rep:displayname Indirect Sales Data Processing Public API
11 * @rep:businessevent None
12 * @rep:category BUSINESS_ENTITY OZF_INDIRECT_SALES
13 */
14
15
16 ---------------------------------------------------------------------
17 -- PROCEDURE
18 -- Start_Process_Iface
19 --
20 -- PURPOSE
21 -- This procedure to initiate data process of records in resales interface table.
22 --
23 -- PARAMETERS
24 --
25 --
26 -- NOTES
27 ---------------------------------------------------------------------
28 /*#
29 * This procedure starts the indirect sales data processing activity.
30 * @param p_api_version This indicaters the API version number.
31 * @param p_init_msg_list This indicates whether the message stack should be initialized.
32 * @param p_commit Indicates whether to commit within the program.
33 * @param p_validation_level Indicates the validation level.
34 * @param p_resale_batch_id Identifies the resale batch that should be processed.
35 * @param x_return_status This parameter dsiplays the program status.
36 * @param x_msg_data Message returned by the program .
37 * @param x_msg_count Number of mesaages the program returns.
38 * @rep:scope public
39 * @rep:lifecycle active
40 * @rep:displayname Start Process Indirect Sales Data
41 */
42 PROCEDURE Start_Process_Iface (
43 p_api_version IN NUMBER
44 ,p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE
45 ,p_commit IN VARCHAR2 := FND_API.G_FALSE
46 ,p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_FULL
47 ,p_resale_batch_id IN NUMBER
48 ,x_return_status OUT NOCOPY VARCHAR2
49 ,x_msg_data OUT NOCOPY VARCHAR2
50 ,x_msg_count OUT NOCOPY NUMBER
51 );
52
53
54 ---------------------------------------------------------------------
55 -- PROCEDURE
56 -- Start_Payment
57 --
58 -- PURPOSE
59 -- This procedure to initiate payment for a batch.
60 --
61 -- PARAMETERS
62 --
63 --
64 -- NOTES
65 ---------------------------------------------------------------------
66 /*#
67 * This procedure starts the payment processing.
68 * @param p_api_version This is the API version number.
69 * @param p_init_msg_list Indicates whether the message stack should be initialized.
70 * @param p_commit Indicates whether to commit within the program.
71 * @param p_validation_level This parameter indicates the validation level.
72 * @param p_resale_batch_id Identifies the resale batch that should be processed.
73 * @param x_return_status This parameter displays the program status.
74 * @param x_msg_data This parameter is a return message from the program.
75 * @param x_msg_count This is the number of messages the program returns.
76 * @rep:scope public
77 * @rep:lifecycle active
78 * @rep:displayname Start Process Indirect Sales Data
79 */
80 PROCEDURE Start_Payment (
81 p_api_version IN NUMBER
82 ,p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE
83 ,p_commit IN VARCHAR2 := FND_API.G_FALSE
84 ,p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_FULL
85 ,p_resale_batch_id IN NUMBER
86 ,x_return_status OUT NOCOPY VARCHAR2
87 ,x_msg_data OUT NOCOPY VARCHAR2
88 ,x_msg_count OUT NOCOPY NUMBER
89 );
90
91
92 ---------------------------------------------------------------------
93 -- PROCEDURE
94 -- Start_Purge
95 --
96 -- PURPOSE
97 -- Purge the successfully processed records
98 --
99 -- PARAMETERS
100 --
101 -- NOTES
102 --
103 ---------------------------------------------------------------------
104 /*#
105 * This procedure removes the processed and closed indirect sales data from the ozf_resale_lines_int_all interface table.
106 * @param p_api_version API version number.
107 * @param p_init_msg_list This parameter indicates whether to initialize the message stack.
108 * @param p_commit This parameter indicates whether to commit within the program.
109 * @param p_validation_level This parameter indicates the validation level.
110 * @param p_data_source_code This parameter is the data source code of the batches whose line will be removed.
111 * @param x_return_status Program status.
112 * @param x_msg_data Return This parameter is a return message from the program.
113 * @param x_msg_count This indicates the number of messages the program returned.
114 * @rep:scope public
115 * @rep:lifecycle active
116 * @rep:displayname Start Purge Indirect Sales Data
117 */
118 PROCEDURE Start_Purge
119 (
120 p_api_version IN NUMBER
121 ,p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE
122 ,p_commit IN VARCHAR2 := FND_API.G_FALSE
123 ,p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_FULL
124 ,p_data_source_code IN VARCHAR2
125 ,x_return_status OUT NOCOPY VARCHAR2
126 ,x_msg_data OUT NOCOPY VARCHAR2
127 ,x_msg_count OUT NOCOPY NUMBER
128 );
129
130 END OZF_RESALE_PUB;