1 package PA_CI_NUMBER_CLIENT_EXTN AUTHID CURRENT_USER as
2 /* $Header: PACINRXS.pls 120.4 2006/07/05 09:17:28 vgottimu noship $ */
3 /*#
4 * This extension enables you to create logic for numbering issues and change documents when automatic numbering is enabled
5 * for a control item type.
6 * @rep:scope public
7 * @rep:product PA
8 * @rep:lifecycle active
9 * @rep:displayname Control Item Document Numbering Extension
10 * @rep:compatibility S
11 * @rep:category BUSINESS_ENTITY PA_PROJECT
12 * @rep:doccd 120pjapi.pdf See the Oracle Projects API's, Client Extensions, and Open Interfaces Reference
13 */
14
15 /*#
16 * This procedure enables you to define numbering logic. When automatic numbering is enabled for a control item type, Oracle Projects calls
17 * this procedure each time a number is assigned to an issue or a change document.
18 * @param p_object1_type The business object type. For Oracle Projects, the value must be PA_PROJECTS.
19 * @param p_object1_pk1_value The project identifier
20 * @param p_object2_type The class code of the control item type
21 * @param p_object2_pk1_value The identifier of the control item type
22 * @param p_next_number The generated control item number
23 * @rep:paraminfo {@rep:required}
24 * @param x_return_status API standard: return status of the API (success/failure/unexpected error)
25 * @rep:paraminfo {@rep:required}
26 * @param x_msg_count API standard: number of error messages
27 * @rep:paraminfo {@rep:required}
28 * @param x_msg_data API standard: error message
29 * @rep:paraminfo {@rep:required}
30 * @rep:scope public
31 * @rep:lifecycle active
32 * @rep:displayname Get Next Number
33 * @rep:compatibility S
34 */
35 procedure GET_NEXT_NUMBER (
36 p_object1_type IN VARCHAR2 := FND_API.g_miss_char
37 ,p_object1_pk1_value IN NUMBER := FND_API.g_miss_num
38 ,p_object2_type IN VARCHAR2 := FND_API.g_miss_char
39 ,p_object2_pk1_value IN NUMBER := FND_API.g_miss_num
40 ,p_next_number IN OUT NOCOPY VARCHAR2
41 ,x_return_status OUT NOCOPY VARCHAR2
42 ,x_msg_count OUT NOCOPY NUMBER
43 ,x_msg_data OUT NOCOPY VARCHAR2);
44
45
46 end;
47