1 PACKAGE AP_WEB_OA_CUSTOM_PKG AUTHID CURRENT_USER AS
2 /* $Header: apwcstms.pls 115.2 2004/04/27 22:30:11 qle noship $ */
3
4 -- Page Constants
5 C_ReviewPage CONSTANT VARCHAR2(30) := 'OIEReviewPage';
6 C_ConfirmPage CONSTANT VARCHAR2(30) := 'OIEConfirmPage';
7
8 ------------------------------------------------------------------------------------
9 -- Function : GetCustomizedExpRepSummary
10 -- Author : krmenon
11 -- Description: This function is part of the client extension solution which provides
12 -- a way to display a customized Expense Report Summary in the
13 -- Review Page and the Confirmation Page.
14 -- Assumptions: In order to enable access to the amounts that the user has entered, for
15 -- performing calculations, the user must save the expense report. If the
16 -- user has not saved the expense report, before reaching the Review Page,
17 -- the input parameter will be a null string.
18 -- NO EXCEPTIONS ARE PROPAGATED TO THE CLIENT!!!
19 -- Please handle all error conditions in the customization itself. Do not
20 -- raise any exceptions.
21 --
22 -- Parameters :
23 --
24 -- P_ReportHeaderId Contains the Expense Report Header Id
25 -- P_CurrentPage Contains the page where the call was made (Current Page)
26 ------------------------------------------------------------------------------------
27 FUNCTION GetCustomizedExpRepSummary(P_ReportHeaderId IN VARCHAR2,
28 P_CurrentPage IN VARCHAR2) RETURN VARCHAR2;
29
30
31 ------------------------------------------------------------------------------------
32 -- Function : GetNewExpenseReportInvoice
33 -- Author : Quan Le
34 -- Description: This is to enable customers to customize the way expense report invoice
35 -- is created.
36 -- Assumptions: Note that the max length of the report number is 50.
37 --
38 -- Parameters :
39 --
40 -- p_employeeId id of the employee whom the report is for
41 -- p_userId fnd user_id of the employee whom the report is for
42 -- p_reportHeaderId report_header_id of the curent report
43 ------------------------------------------------------------------------------------
44 FUNCTION GetNewExpenseReportInvoice(p_employeeId IN ap_expense_report_headers.employee_id%TYPE,
45 p_userId IN fnd_user.user_id%TYPE,
46 p_reportHeaderId IN ap_expense_report_headers.report_header_id%TYPE) RETURN VARCHAR2;
47
48 END AP_WEB_OA_CUSTOM_PKG;