4: g_print_debug boolean := fa_cache_pkg.fa_print_debug;
5:
6: Function faxbds
7: (
8: p_asset_hdr_rec IN FA_API_TYPES.asset_hdr_rec_type,
9: px_asset_fin_rec_new IN OUT NOCOPY FA_API_TYPES.asset_fin_rec_type,
10: p_asset_deprn_rec IN FA_API_TYPES.asset_deprn_rec_type,
11: p_asset_desc_rec IN FA_API_TYPES.asset_desc_rec_type,
12: X_dpr_ptr out NOCOPY fa_std_types.dpr_struct,
5:
6: Function faxbds
7: (
8: p_asset_hdr_rec IN FA_API_TYPES.asset_hdr_rec_type,
9: px_asset_fin_rec_new IN OUT NOCOPY FA_API_TYPES.asset_fin_rec_type,
10: p_asset_deprn_rec IN FA_API_TYPES.asset_deprn_rec_type,
11: p_asset_desc_rec IN FA_API_TYPES.asset_desc_rec_type,
12: X_dpr_ptr out NOCOPY fa_std_types.dpr_struct,
13: X_deprn_rsv out NOCOPY number,
6: Function faxbds
7: (
8: p_asset_hdr_rec IN FA_API_TYPES.asset_hdr_rec_type,
9: px_asset_fin_rec_new IN OUT NOCOPY FA_API_TYPES.asset_fin_rec_type,
10: p_asset_deprn_rec IN FA_API_TYPES.asset_deprn_rec_type,
11: p_asset_desc_rec IN FA_API_TYPES.asset_desc_rec_type,
12: X_dpr_ptr out NOCOPY fa_std_types.dpr_struct,
13: X_deprn_rsv out NOCOPY number,
14: X_bonus_deprn_rsv out NOCOPY number,
7: (
8: p_asset_hdr_rec IN FA_API_TYPES.asset_hdr_rec_type,
9: px_asset_fin_rec_new IN OUT NOCOPY FA_API_TYPES.asset_fin_rec_type,
10: p_asset_deprn_rec IN FA_API_TYPES.asset_deprn_rec_type,
11: p_asset_desc_rec IN FA_API_TYPES.asset_desc_rec_type,
12: X_dpr_ptr out NOCOPY fa_std_types.dpr_struct,
13: X_deprn_rsv out NOCOPY number,
14: X_bonus_deprn_rsv out NOCOPY number,
15: p_amortized_flag boolean,
14: X_bonus_deprn_rsv out NOCOPY number,
15: p_amortized_flag boolean,
16: p_extended_flag boolean default FALSE, -- Japan Tax Phase3
17: p_mrc_sob_type_code IN VARCHAR2,
18: p_log_level_rec IN FA_API_TYPES.log_level_rec_type default null) return boolean is
19:
20: l_rate_source_rule varchar2(40);
21: l_prorate_calendar varchar2(48);
22: l_fy_name varchar2(45);
210: return (FALSE);
211: end FAXBDS;
212:
213: Function faxexp
214: (px_trans_rec IN OUT NOCOPY FA_API_TYPES.trans_rec_type,
215: p_asset_hdr_rec IN FA_API_TYPES.asset_hdr_rec_type,
216: p_asset_desc_rec IN FA_API_TYPES.asset_desc_rec_type,
217: p_asset_cat_rec IN FA_API_TYPES.asset_cat_rec_type,
218: p_asset_type_rec IN FA_API_TYPES.asset_type_rec_type,
211: end FAXBDS;
212:
213: Function faxexp
214: (px_trans_rec IN OUT NOCOPY FA_API_TYPES.trans_rec_type,
215: p_asset_hdr_rec IN FA_API_TYPES.asset_hdr_rec_type,
216: p_asset_desc_rec IN FA_API_TYPES.asset_desc_rec_type,
217: p_asset_cat_rec IN FA_API_TYPES.asset_cat_rec_type,
218: p_asset_type_rec IN FA_API_TYPES.asset_type_rec_type,
219: p_asset_fin_rec_old IN FA_API_TYPES.asset_fin_rec_type,
212:
213: Function faxexp
214: (px_trans_rec IN OUT NOCOPY FA_API_TYPES.trans_rec_type,
215: p_asset_hdr_rec IN FA_API_TYPES.asset_hdr_rec_type,
216: p_asset_desc_rec IN FA_API_TYPES.asset_desc_rec_type,
217: p_asset_cat_rec IN FA_API_TYPES.asset_cat_rec_type,
218: p_asset_type_rec IN FA_API_TYPES.asset_type_rec_type,
219: p_asset_fin_rec_old IN FA_API_TYPES.asset_fin_rec_type,
220: px_asset_fin_rec_new IN OUT NOCOPY FA_API_TYPES.asset_fin_rec_type,
213: Function faxexp
214: (px_trans_rec IN OUT NOCOPY FA_API_TYPES.trans_rec_type,
215: p_asset_hdr_rec IN FA_API_TYPES.asset_hdr_rec_type,
216: p_asset_desc_rec IN FA_API_TYPES.asset_desc_rec_type,
217: p_asset_cat_rec IN FA_API_TYPES.asset_cat_rec_type,
218: p_asset_type_rec IN FA_API_TYPES.asset_type_rec_type,
219: p_asset_fin_rec_old IN FA_API_TYPES.asset_fin_rec_type,
220: px_asset_fin_rec_new IN OUT NOCOPY FA_API_TYPES.asset_fin_rec_type,
221: p_asset_deprn_rec IN FA_API_TYPES.asset_deprn_rec_type,
214: (px_trans_rec IN OUT NOCOPY FA_API_TYPES.trans_rec_type,
215: p_asset_hdr_rec IN FA_API_TYPES.asset_hdr_rec_type,
216: p_asset_desc_rec IN FA_API_TYPES.asset_desc_rec_type,
217: p_asset_cat_rec IN FA_API_TYPES.asset_cat_rec_type,
218: p_asset_type_rec IN FA_API_TYPES.asset_type_rec_type,
219: p_asset_fin_rec_old IN FA_API_TYPES.asset_fin_rec_type,
220: px_asset_fin_rec_new IN OUT NOCOPY FA_API_TYPES.asset_fin_rec_type,
221: p_asset_deprn_rec IN FA_API_TYPES.asset_deprn_rec_type,
222: p_period_rec IN FA_API_TYPES.period_rec_type,
215: p_asset_hdr_rec IN FA_API_TYPES.asset_hdr_rec_type,
216: p_asset_desc_rec IN FA_API_TYPES.asset_desc_rec_type,
217: p_asset_cat_rec IN FA_API_TYPES.asset_cat_rec_type,
218: p_asset_type_rec IN FA_API_TYPES.asset_type_rec_type,
219: p_asset_fin_rec_old IN FA_API_TYPES.asset_fin_rec_type,
220: px_asset_fin_rec_new IN OUT NOCOPY FA_API_TYPES.asset_fin_rec_type,
221: p_asset_deprn_rec IN FA_API_TYPES.asset_deprn_rec_type,
222: p_period_rec IN FA_API_TYPES.period_rec_type,
223: p_mrc_sob_type_code IN VARCHAR2,
216: p_asset_desc_rec IN FA_API_TYPES.asset_desc_rec_type,
217: p_asset_cat_rec IN FA_API_TYPES.asset_cat_rec_type,
218: p_asset_type_rec IN FA_API_TYPES.asset_type_rec_type,
219: p_asset_fin_rec_old IN FA_API_TYPES.asset_fin_rec_type,
220: px_asset_fin_rec_new IN OUT NOCOPY FA_API_TYPES.asset_fin_rec_type,
221: p_asset_deprn_rec IN FA_API_TYPES.asset_deprn_rec_type,
222: p_period_rec IN FA_API_TYPES.period_rec_type,
223: p_mrc_sob_type_code IN VARCHAR2,
224: p_running_mode IN NUMBER,
217: p_asset_cat_rec IN FA_API_TYPES.asset_cat_rec_type,
218: p_asset_type_rec IN FA_API_TYPES.asset_type_rec_type,
219: p_asset_fin_rec_old IN FA_API_TYPES.asset_fin_rec_type,
220: px_asset_fin_rec_new IN OUT NOCOPY FA_API_TYPES.asset_fin_rec_type,
221: p_asset_deprn_rec IN FA_API_TYPES.asset_deprn_rec_type,
222: p_period_rec IN FA_API_TYPES.period_rec_type,
223: p_mrc_sob_type_code IN VARCHAR2,
224: p_running_mode IN NUMBER,
225: p_used_by_revaluation IN NUMBER,
218: p_asset_type_rec IN FA_API_TYPES.asset_type_rec_type,
219: p_asset_fin_rec_old IN FA_API_TYPES.asset_fin_rec_type,
220: px_asset_fin_rec_new IN OUT NOCOPY FA_API_TYPES.asset_fin_rec_type,
221: p_asset_deprn_rec IN FA_API_TYPES.asset_deprn_rec_type,
222: p_period_rec IN FA_API_TYPES.period_rec_type,
223: p_mrc_sob_type_code IN VARCHAR2,
224: p_running_mode IN NUMBER,
225: p_used_by_revaluation IN NUMBER,
226: x_deprn_exp out NOCOPY number,
226: x_deprn_exp out NOCOPY number,
227: x_bonus_deprn_exp out NOCOPY number,
228: x_ann_adj_deprn_exp out NOCOPY number,
229: x_ann_adj_bonus_deprn_exp out NOCOPY number,
230: p_log_level_rec IN FA_API_TYPES.log_level_rec_type default null) return boolean is
231:
232: l_cur_deprn_rsv number;
233: l_cur_bonus_deprn_rsv number;
234: l_rate_source_rule varchar2(40);
262:
263: -- Japan Tax Phase3
264: l_set_extend_flag boolean := FALSE;
265: l_reset_extend_flag boolean := FALSE;
266: l_asset_fin_rec FA_API_TYPES.asset_fin_rec_type;
267:
268: --Bug7201421
269: CURSOR c_extend_get_original_adjcost (p_asset_id number,
270: p_book_type_code varchar2) is