DBA Data[Home] [Help]

PACKAGE: APPS.FA_EXP_PKG

Source


1 PACKAGE FA_EXP_PKG as
2 /* $Header: FAEXADJS.pls 120.2 2005/06/23 21:45:42 dfred ship $ */
3 
4 
5 /*
6  --------------------------------------------------------------------------
7  *
8  * Name
9  *              faxbds
10  *
11  * Description
12  *              Builds the depreciation structure
13  *
14  * Parameters
15  *		fin_info_ptr - fin_info structure IN OUT
16  *		dpr_ptr - depreciation structure OUT
17  *		dist_book - distribution book OUT
18  *		deprn_rsv - depreciation reserve OUT
19  *		amortized_flag - amortization flag
20  *
21  * Modifies
22  *		X_fin_info_ptr
23  *		X_dpr_ptr
24  *		X_dist_book
25  *		X_deprn_rsv
26  *
27  * Returns
28  *              True on successful retrieval. Otherwise False.
29  *
30  * Notes
31  *		Shared by other Expense user exits
32  *
33  * History
34  *
35  *--------------------------------------------------------------------------
36 */
37 Function faxbds
38 	(
39 	X_fin_info_ptr in out nocopy fa_std_types.fin_info_struct
40 	,X_dpr_ptr out nocopy fa_std_types.dpr_struct
41 	,X_dist_book out nocopy varchar2
42 	,X_deprn_rsv out nocopy number
43 	,X_amortized_flag boolean
44         ,X_mrc_sob_type_code varchar2
45 	,p_log_level_rec        IN FA_API_TYPES.log_level_rec_type default null
46 	)
47 return boolean;
48 
49 /*
50  --------------------------------------------------------------------------
51  *
52  * Name
53  *              faxexp
54  *
55  * Description
56  *
57  *
58  * Parameters
59  *              X_fin_info_ptr - fin_info structure IN OUT
60  *		X_new_adj_cost - new adjusted cost OUT
61  *		X_ccid - GL code combination id
62  *		X_sysdate_val - system date
63  *		X_last_updated_by - user id
64  *		X_last_update_login - login id
65  *		X_ins_adj_flag - insert adjustment flag
66  *		X_deprn_exp - depreciation expense OUT
67  *
68  * Modifies
69  *              X_fin_info_ptr
70  *		X_new_adj_cost
71  *		X_deprn_exp
72  *
73  * Returns
74  *              True on successful retrieval. Otherwise False.
75  *
76  * Notes
77  *              Used by any program that needs to expense a
78  *		financial information change
79  *
80  * History
81  *
82  *--------------------------------------------------------------------------
83 */
84 Function faxexp
85 	(
86 	X_fin_info_ptr in out nocopy fa_std_types.fin_info_struct
87 	,X_new_adj_cost out nocopy number
88 	,X_ccid integer
89 	,X_sysdate_val date
90 	,X_last_updated_by number
91 	,X_last_update_login number
92 	,X_ins_adj_flag boolean
93         ,X_mrc_sob_type_code varchar2
94 	,X_deprn_exp out nocopy number
95 	,X_bonus_deprn_exp out nocopy number
96 	,X_new_formula_factor in out nocopy number
97 	,p_log_level_rec        IN FA_API_TYPES.log_level_rec_type default null
98 	)
99 return boolean;
100 
101 
102 END FA_EXP_PKG;