1 PACKAGE FA_ADJUSTMENT_PVT AUTHID CURRENT_USER as
2 /* $Header: FAVADJS.pls 120.13.12020000.3 2013/03/02 20:01:30 dvjoshi ship $ */
3
4 FUNCTION validate_adjustment
5 (p_inv_trans_rec IN FA_API_TYPES.inv_trans_rec_type,
6 p_trans_rec IN FA_API_TYPES.trans_rec_type,
7 p_asset_type_rec IN FA_API_TYPES.asset_type_rec_type,
8 p_asset_fin_rec_old IN FA_API_TYPES.asset_fin_rec_type,
9 p_asset_fin_rec_adj IN FA_API_TYPES.asset_fin_rec_type,
10 p_asset_deprn_rec_old IN FA_API_TYPES.asset_deprn_rec_type,
11 p_asset_deprn_rec_adj IN FA_API_TYPES.asset_deprn_rec_type,
12 p_asset_hdr_rec IN FA_API_TYPES.asset_hdr_rec_type,
13 p_log_level_rec IN FA_API_TYPES.log_level_rec_type
14 ) RETURN BOOLEAN;
15
16 FUNCTION do_adjustment
17 (px_trans_rec IN OUT NOCOPY FA_API_TYPES.trans_rec_type,
18 px_asset_hdr_rec IN OUT NOCOPY FA_API_TYPES.asset_hdr_rec_type,
19 p_asset_desc_rec IN FA_API_TYPES.asset_desc_rec_type,
20 p_asset_type_rec IN FA_API_TYPES.asset_type_rec_type,
21 p_asset_cat_rec IN FA_API_TYPES.asset_cat_rec_type,
22 p_asset_fin_rec_old IN FA_API_TYPES.asset_fin_rec_type,
23 p_asset_fin_rec_adj IN FA_API_TYPES.asset_fin_rec_type,
24 x_asset_fin_rec_new OUT NOCOPY FA_API_TYPES.asset_fin_rec_type,
25 p_inv_trans_rec IN FA_API_TYPES.inv_trans_rec_type,
26 p_asset_deprn_rec_old IN FA_API_TYPES.asset_deprn_rec_type,
27 p_asset_deprn_rec_adj IN FA_API_TYPES.asset_deprn_rec_type,
28 x_asset_deprn_rec_new OUT NOCOPY FA_API_TYPES.asset_deprn_rec_type,
29 p_period_rec IN FA_API_TYPES.period_rec_type,
30 p_reclassed_asset_id IN NUMBER default null,
31 p_reclass_src_dest IN VARCHAR2 default null,
32 p_reclassed_asset_dpis IN DATE default null,
33 p_mrc_sob_type_code IN VARCHAR2,
34 p_group_reclass_options_rec IN OUT NOCOPY FA_API_TYPES.group_reclass_options_rec_type,
35 p_calling_fn IN VARCHAR2
36 , p_log_level_rec IN FA_API_TYPES.log_level_rec_type) RETURN BOOLEAN;
37
38 /* bug#16426081 */
39 function process_trx_stack (
40 -- specific parameter
41 p_orig_trx_type IN VARCHAR2,
42 x_trx_stack OUT NOCOPY BOOLEAN,
43 -- Standard Parameters --
44 p_validation_level IN NUMBER :=FND_API.G_VALID_LEVEL_FULL,
45 x_return_status OUT NOCOPY VARCHAR2,
46 x_msg_count OUT NOCOPY NUMBER,
47 x_msg_data OUT NOCOPY VARCHAR2,
48 p_calling_fn IN VARCHAR2,
49 p_log_level_rec IN FA_API_TYPES.log_level_rec_type,
50 -- Transaction Object --
51 px_trans_rec IN OUT NOCOPY fa_api_types.trans_rec_type,
52 px_dist_trans_rec IN OUT NOCOPY fa_api_types.trans_rec_type,
53 -- Asset Object --
54 px_asset_hdr_rec IN OUT NOCOPY fa_api_types.asset_hdr_rec_type,
55 px_asset_desc_rec IN OUT NOCOPY fa_api_types.asset_desc_rec_type,
56 px_asset_type_rec IN OUT NOCOPY fa_api_types.asset_type_rec_type,
57 px_asset_cat_rec IN OUT NOCOPY fa_api_types.asset_cat_rec_type,
58 px_asset_hierarchy_rec IN OUT NOCOPY fa_api_types.asset_hierarchy_rec_type,
59 px_asset_fin_rec IN OUT NOCOPY fa_api_types.asset_fin_rec_type,
60 px_asset_deprn_rec IN OUT NOCOPY fa_api_types.asset_deprn_rec_type,
61 px_asset_dist_tbl IN OUT NOCOPY fa_api_types.asset_dist_tbl_type,
62 -- Invoice Object --
63 px_inv_tbl IN OUT NOCOPY fa_api_types.inv_tbl_type,
64 ---- adjustment related parameters -------------
65 p_asset_fin_rec_adj IN FA_API_TYPES.asset_fin_rec_type,
66 x_asset_fin_rec_new OUT NOCOPY FA_API_TYPES.asset_fin_rec_type,
67 x_asset_fin_mrc_tbl_new OUT NOCOPY FA_API_TYPES.asset_fin_tbl_type,
68 px_inv_trans_rec IN OUT NOCOPY FA_API_TYPES.inv_trans_rec_type,
69 p_asset_deprn_rec_adj IN FA_API_TYPES.asset_deprn_rec_type,
70 x_asset_deprn_rec_new OUT NOCOPY FA_API_TYPES.asset_deprn_rec_type,
71 x_asset_deprn_mrc_tbl_new OUT NOCOPY FA_API_TYPES.asset_deprn_tbl_type,
72 p_group_reclass_options_rec IN FA_API_TYPES.group_reclass_options_rec_type
73 ) return boolean;
74
75 END FA_ADJUSTMENT_PVT;