DBA Data[Home] [Help]

PACKAGE BODY: APPS.OKL_FORMULAFUNCTION_PVT

Source


1 PACKAGE BODY OKL_FORMULAFUNCTION_PVT AS
2 /* $Header: OKLRFNCB.pls 115.2 2002/02/18 20:16:17 pkm ship       $ */
3 
4 
5 -- Start of comments
6 --
7 -- Function Name  : GET_TAX_VALUE
8 -- Description    :  A sample function.
9 -- Business Rules :
10 -- Parameters     :
11 --			p_contract_id - contract identifier.
12 --			p_line_id - line identifier.
13 --	 		Returns a NUMBER.
14 -- Version        : 1.0
15 --
16 -- End of comments
17 
18 FUNCTION GET_TAX_VALUE(
19  p_contract_id IN NUMBER,
20  p_line_id IN NUMBER )
21 RETURN NUMBER
22 IS
23 BEGIN
24 
25 	/** SBALASHA001 -
26 			INFO:
27 				This is a sample function to demonstrate
28 			        and to help developers to implement formula
29 				functions and parameter evaluation in
30 				formula engine.  Developer may write any
31 				logic in this function using a CONTRACT ID
32 				and LINE ID.  This function has to return
33 				a NUMBER which will be used as a parameter
34 				value for an Operand function. **/
35 
36 
37 
38 	RETURN 1;
39 
40 END GET_TAX_VALUE;
41 
42 -- Start of comments
43 --
44 -- Function Name  : GET_REVENUE_VALUE
45 -- Description    :  A sample function.
46 -- Business Rules :
47 -- Parameters     :
48 --			p_contract_id - contract identifier.
49 --			p_line_id - line identifier.
50 --	 		Returns a NUMBER.
51 -- Version        : 1.0
52 --
53 -- End of comments
54 
55 FUNCTION GET_REVENUE_VALUE(
56  p_contract_id IN NUMBER,
57  p_line_id IN NUMBER )
58 RETURN NUMBER
59 IS
60 BEGIN
61 
62 	/** SBALASHA001 -
63 			INFO:
64 				This is a sample function to demonstrate
65 			        and to help developers to implement formula
66 				functions and parameter evaluation in
67 				formula engine.  Developer may write any
68 				logic in this function using a CONTRACT ID
69 				and LINE ID.  This function has to return
70 				a NUMBER which will be used as a parameter
71 				value for an Operand function. **/
72 
73 
74 
75 	RETURN 1;
76 
77 END GET_REVENUE_VALUE;
78 
79 -- Start of comments
80 --
81 -- Function Name  : GET_BONUS_VALUE
82 -- Description    :  A sample function.
83 -- Business Rules :
84 -- Parameters     :
85 --			p_contract_id - contract identifier.
86 --			p_line_id - line identifier.
87 --	 		Returns a NUMBER.
88 -- Version        : 1.0
89 --
90 -- End of comments
91 
92 FUNCTION GET_BONUS_VALUE(
93  p_contract_id IN NUMBER,
94  p_line_id IN NUMBER )
95 RETURN NUMBER
96 IS
97 BEGIN
98 
99 	/** SBALASHA001 -
100 			INFO:
101 				This is a sample function to demonstrate
102 			        and to help developers to implement formula
103 				functions and parameter evaluation in
104 				formula engine.  Developer may write any
105 				logic in this function using a CONTRACT ID
106 				and LINE ID.  This function has to return
107 				a NUMBER which will be used as a parameter
108 				value for an Operand function. **/
109 
110 
111 
112 	RETURN 1;
113 
114 END GET_BONUS_VALUE;
115 
116 END OKL_FORMULAFUNCTION_PVT;