1 PACKAGE PAROUTINGX AUTHID CURRENT_USER AS
2 /* $Header: PAXTRTES.pls 120.3 2006/07/29 11:39:59 skannoji noship $ */
3 /*#
4 * This extension is used to define rules for routing timecards and expense reports for approval.
5 * @rep:scope public
6 * @rep:product PA
7 * @rep:lifecycle active
8 * @rep:displayname Route To Extension
9 * @rep:compatibility S
10 * @rep:category BUSINESS_ENTITY PA_PROJECT
11 * @rep:category BUSINESS_ENTITY PA_LABOR_COST
12 * @rep:doccd 120pjapi.pdf See the Oracle Projects API's, Client Extensions, and Open Interfaces Reference
13 */
14
15 G_dummy Pa_Otc_Api.Timecard_Table;
16
17 /*#
18 * Use this procedure to define rules for routing timecards and expense reports for approval.
19 * @param X_expenditure_id The identifier of the transaction
20 * @rep:paraminfo {@rep:required}
21 * @param X_incurred_by_person_id The identifier of the person incurring the transaction
22 * @rep:paraminfo {@rep:required}
23 * @param X_expenditure_end_date Transaction item date
24 * @rep:paraminfo {@rep:required}
25 * @param X_exp_class_code Expenditure class
26 * @rep:paraminfo {@rep:required}
27 * @param X_previous_approver_person_id The identifier of the previous approver
28 * @param P_Timecard_Table Timecard table
29 * @param P_Module Module Application calling this extension
30 * @param X_route_to_person_id Identifier of the person selected to approve the transaction
31 * @rep:paraminfo {@rep:required}
32 * @rep:scope public
33 * @rep:lifecycle active
34 * @rep:displayname Route To Extension
35 * @rep:compatibility S
36 */
37 PROCEDURE route_to_extension (
38 X_expenditure_id IN NUMBER
39 , X_incurred_by_person_id IN NUMBER
40 , X_expenditure_end_date IN DATE
41 , X_exp_class_code IN VARCHAR2
42 , X_previous_approver_person_id IN NUMBER DEFAULT NULL
43 , P_Timecard_Table IN Pa_Otc_Api.Timecard_Table DEFAULT PAROUTINGX.G_dummy
44 , P_Module IN VARCHAR2 DEFAULT NULL
45 , X_route_to_person_id OUT NOCOPY NUMBER );
46
47 END PAROUTINGX;