1 package pa_draft_revenues_pkg AUTHID CURRENT_USER as
2 /* $Header: PAXRVUTS.pls 120.1 2005/08/05 02:12:29 bchandra noship $ */
3
4 /*
5 ** INITIALIZE - set up function security for current user
6 **/
7 procedure INITIALIZE;
8
9 /*
10 ** ALLOW_RELEASE - check whether the user is allowd to release
11 ** the draft revenue. If not, an error message is put
12 ** in the message stack for the client-side to retrieve.
13 **/
14 function ALLOW_RELEASE(
15 X_PROJECT_ID in NUMBER,
16 X_DRAFT_REVENUE_NUM in NUMBER)
17 return BOOLEAN;
18
19 /*
20 ** ALLOW_UNRELEASE - check whether the user is allowd to unrelease
21 ** the draft revenue. If not, an error message is put
22 ** in the message stack for the client-side to retrieve.
23 **/
24 function ALLOW_UNRELEASE(
25 X_PROJECT_ID in NUMBER,
26 X_DRAFT_REVENUE_NUM in NUMBER)
27 return BOOLEAN;
28
29 /*
30 ** RELEASE - release the draft revenue
31 **/
32 procedure RELEASE(
33 X_PROJECT_ID in NUMBER,
34 X_DRAFT_REVENUE_NUM in NUMBER,
35 X_ERR_CODE in out NOCOPY NUMBER);
36
37
38 /*
39 ** UNRELEASE - unrelease the draft revenue
40 **/
41 procedure UNRELEASE(
42 X_PROJECT_ID in NUMBER,
43 X_DRAFT_REVENUE_NUM in NUMBER,
44 X_ERR_CODE in out NOCOPY NUMBER);
45
46 end pa_draft_revenues_pkg;