1 package AP_CUSTOM_WITHHOLDING_PKG AUTHID CURRENT_USER as
2 /* $Header: apcmawts.pls 120.3.12020000.2 2012/10/05 17:36:30 rusahani ship $ */
3 --
4 function Ap_Special_Rate (
5 P_Tax_Name IN varchar2
6 ,P_Invoice_Id IN number
7 ,P_Payment_Num IN number
8 ,P_Awt_Date IN date
9 ,P_Amount IN number
10 )
11 return number;
12 --
13 procedure Ap_Special_Rounding (P_Checkrun_Name IN varchar2);
14
15 /*****************************************************************
16 Procedure: Ap_Spcial_Withheld_Amt
17 Objective: This procedure enable globalization to make some
18 adjusments in the withheld amount, for example
19 rounding. This procedure is called from
20 AP_CALC_WITHHOLDING_PKG.Insert_Temp_Distribution
21 ******************************************************************/
22
23 procedure Ap_Special_Withheld_Amt
24 (
25 P_Withheld_Amount IN OUT NOCOPY Number
26 ,P_Base_WT_amount IN OUT NOCOPY Number
27 ,P_CurrCode IN Varchar2
28 ,P_BaseCurrCode IN Varchar2
29 ,P_Invoice_exchange_rate IN Number
30 ,P_Tax_Name IN Varchar2
31 ,P_Calling_sequence IN Varchar2
32 ,P_Unrounded_WT_Amount IN Number DEFAULT NULL --bug 10262174
33 ,P_Calling_parameter IN Varchar2 DEFAULT NULL --bug 14271407
34 );
35
36
37 end AP_CUSTOM_WITHHOLDING_PKG;