DBA Data[Home] [Help]

APPS.FA_AMORT_PVT dependencies on FA_ROUND_PKG

Line 1695: l_temp_num NUMBER; -- used for calling fa_round_pkg

1691: bld_err EXCEPTION;
1692: l_cur_trx_period_counter NUMBER;
1693:
1694: l_ind BINARY_INTEGER; -- Index variable
1695: l_temp_num NUMBER; -- used for calling fa_round_pkg
1696: ld_ind BINARY_INTEGER := 0;
1697:
1698: l_reinstated BOOLEAN;
1699:

Line 2082: fa_round_pkg.fa_ceil(l_temp_num, p_asset_hdr_rec.book_type_code

2078: --tk_util.debug('fa_amort_pvt.tmd_salvage_value(1): '||to_char(fa_amort_pvt.tmd_salvage_value(1)));
2079:
2080: if (t_salvage_type(1) = 'PCT') then
2081: l_temp_num := t_cost(1) * t_percent_salvage_value(1);
2082: fa_round_pkg.fa_ceil(l_temp_num, p_asset_hdr_rec.book_type_code
2083: ,p_log_level_rec => p_log_level_rec);
2084: x_td_salvage_value(1) := l_temp_num;
2085: t_salvage_value(1) := l_temp_num;
2086: fa_amort_pvt.tmd_salvage_value(1) := l_temp_num;

Line 2098: fa_round_pkg.fa_floor(l_temp_num, p_asset_hdr_rec.book_type_code

2094: --tk_util.debug('x_td_salvage_value(1): '||to_char(x_td_salvage_value(1)));
2095:
2096: if (t_deprn_limit_type(1) = 'PCT') then
2097: l_temp_num := t_cost(1) * (1 - t_allowed_deprn_limit(1));
2098: fa_round_pkg.fa_floor(l_temp_num, p_asset_hdr_rec.book_type_code
2099: ,p_log_level_rec => p_log_level_rec);
2100: x_td_deprn_limit_amount(1) := l_temp_num;
2101: t_deprn_limit_amount(1) := l_temp_num;
2102: fa_amort_pvt.tmd_deprn_limit_amount(1) := l_temp_num;

Line 2151: fa_round_pkg.fa_ceil(l_temp_num, p_asset_hdr_rec.book_type_code

2147: end if;
2148:
2149: if (t_salvage_type(i) = 'PCT') then
2150: l_temp_num := t_cost(i) * t_percent_salvage_value(i);
2151: fa_round_pkg.fa_ceil(l_temp_num, p_asset_hdr_rec.book_type_code
2152: ,p_log_level_rec => p_log_level_rec);
2153: x_td_salvage_value(i) := l_temp_num;
2154: t_salvage_value(i) := l_temp_num - x_td_salvage_value(i - 1);
2155: fa_amort_pvt.tmd_salvage_value(i) := l_temp_num - fa_amort_pvt.tm_salvage_value(i - 1);

Line 2168: fa_round_pkg.fa_floor(l_temp_num, p_asset_hdr_rec.book_type_code

2164: --tk_util.debug('x_td_salvage_value(i): '||to_char(x_td_salvage_value(i)));
2165:
2166: if (t_deprn_limit_type(i) = 'PCT') then
2167: l_temp_num := t_cost(i) * (1 - t_allowed_deprn_limit(i));
2168: fa_round_pkg.fa_floor(l_temp_num, p_asset_hdr_rec.book_type_code
2169: ,p_log_level_rec => p_log_level_rec);
2170: t_deprn_limit_amount(i) := l_temp_num;
2171: x_td_deprn_limit_amount(i) := l_temp_num - t_deprn_limit_amount(i - 1);
2172: fa_amort_pvt.tmd_deprn_limit_amount(i) := l_temp_num -

Line 2213: fa_round_pkg.fa_ceil(l_temp_num, p_asset_hdr_rec.book_type_code

2209: t_cip_cost(1) := fa_amort_pvt.tmd_cip_cost(1);
2210:
2211: if (t_salvage_type(1) = 'PCT') then
2212: l_temp_num := t_cost(1) * t_percent_salvage_value(1);
2213: fa_round_pkg.fa_ceil(l_temp_num, p_asset_hdr_rec.book_type_code
2214: ,p_log_level_rec => p_log_level_rec);
2215: t_salvage_value(1) := l_temp_num;
2216: else
2217: t_salvage_value(1) := fa_amort_pvt.tmd_salvage_value(1);

Line 2235: fa_round_pkg.fa_floor(l_temp_num, p_asset_hdr_rec.book_type_code

2231:
2232:
2233: if (t_deprn_limit_type(1) = 'PCT') then
2234: l_temp_num := t_cost(1) * (1 - t_allowed_deprn_limit(1));
2235: fa_round_pkg.fa_floor(l_temp_num, p_asset_hdr_rec.book_type_code
2236: ,p_log_level_rec => p_log_level_rec);
2237: t_deprn_limit_amount(1) := l_temp_num;
2238: elsif (t_deprn_limit_type(1) = 'NONE') then
2239: t_deprn_limit_amount(1) := t_salvage_value(1);

Line 2283: fa_round_pkg.fa_ceil(l_temp_num, p_asset_hdr_rec.book_type_code

2279:
2280:
2281: if (t_salvage_type(i) = 'PCT') then
2282: l_temp_num := t_cost(i) * t_percent_salvage_value(i);
2283: fa_round_pkg.fa_ceil(l_temp_num, p_asset_hdr_rec.book_type_code
2284: ,p_log_level_rec => p_log_level_rec);
2285: t_salvage_value(i) := l_temp_num;
2286: else
2287: t_salvage_value(i) := fa_amort_pvt.tmd_salvage_value(i) +

Line 2301: fa_round_pkg.fa_floor(l_temp_num, p_asset_hdr_rec.book_type_code

2297:
2298:
2299: if (t_deprn_limit_type(i) = 'PCT') then
2300: l_temp_num := t_cost(i) * (1 - t_allowed_deprn_limit(i));
2301: fa_round_pkg.fa_floor(l_temp_num, p_asset_hdr_rec.book_type_code
2302: ,p_log_level_rec => p_log_level_rec);
2303: t_deprn_limit_amount(i) := l_temp_num;
2304: elsif (t_deprn_limit_type(i) = 'NONE') then
2305: t_deprn_limit_amount(i) := t_salvage_value(i);

Line 2370: fa_round_pkg.fa_ceil(l_temp_num, p_asset_hdr_rec.book_type_code

2366:
2367: if (t_salvage_type(l_ind) = 'PCT') then
2368: -- l_temp_num := t_cost(l_ind) * t_percent_salvage_value(l_ind);
2369: l_temp_num := t_cost(l_ind) * x_asset_fin_rec.percent_salvage_value;
2370: fa_round_pkg.fa_ceil(l_temp_num, p_asset_hdr_rec.book_type_code
2371: ,p_log_level_rec => p_log_level_rec);
2372:
2373: x_td_salvage_value(1) := l_temp_num - t_salvage_value(l_ind);
2374: t_salvage_value(l_ind) := l_temp_num;

Line 2383: fa_round_pkg.fa_floor(l_temp_num, p_asset_hdr_rec.book_type_code

2379:
2380: if (t_deprn_limit_type(l_ind) = 'PCT') then
2381: -- l_temp_num := t_cost(l_ind) * (1 - t_allowed_deprn_limit(l_ind));
2382: l_temp_num := t_cost(l_ind) * (1 - x_asset_fin_rec.allowed_deprn_limit);
2383: fa_round_pkg.fa_floor(l_temp_num, p_asset_hdr_rec.book_type_code
2384: ,p_log_level_rec => p_log_level_rec);
2385: x_td_deprn_limit_amount(1) := l_temp_num - t_deprn_limit_amount(l_ind);
2386:
2387: t_deprn_limit_amount(l_ind) := l_temp_num;

Line 2456: fa_round_pkg.fa_ceil(l_temp_num, p_asset_hdr_rec.book_type_code

2452: if (p_log_level_rec.statement_level) then
2453: fa_debug_pkg.add(l_calling_fn, 'l_temp_num', l_temp_num, p_log_level_rec);
2454: end if;
2455:
2456: fa_round_pkg.fa_ceil(l_temp_num, p_asset_hdr_rec.book_type_code
2457: ,p_log_level_rec => p_log_level_rec);
2458:
2459: x_td_salvage_value(i) := l_temp_num - t_salvage_value(l_ind);
2460:

Line 2490: fa_round_pkg.fa_floor(l_temp_num, p_asset_hdr_rec.book_type_code

2486: fa_debug_pkg.add(l_calling_fn, 'x_asset_fin_rec.allowed_deprn_limit'
2487: , x_asset_fin_rec.allowed_deprn_limit, p_log_level_rec);
2488: end if;
2489:
2490: fa_round_pkg.fa_floor(l_temp_num, p_asset_hdr_rec.book_type_code
2491: ,p_log_level_rec => p_log_level_rec);
2492:
2493: x_td_deprn_limit_amount(i) := l_temp_num - t_deprn_limit_amount(l_ind);
2494:

Line 4893: fa_round_pkg.fa_ceil(l_temp_num, p_asset_hdr_rec.book_type_code

4889: end if;
4890:
4891: if (fa_amort_pvt.t_salvage_type(i) = 'PCT') then
4892: l_temp_num := fa_amort_pvt.t_cost(i) * fa_amort_pvt.t_percent_salvage_value(i);
4893: fa_round_pkg.fa_ceil(l_temp_num, p_asset_hdr_rec.book_type_code
4894: ,p_log_level_rec => p_log_level_rec);
4895: fa_amort_pvt.t_salvage_value(i) := l_temp_num;
4896: else -- case of SUM
4897: fa_amort_pvt.t_salvage_value(i) := fa_amort_pvt.t_member_salvage_value(i);

Line 4902: fa_round_pkg.fa_floor(l_temp_num, p_asset_hdr_rec.book_type_code

4898: end if;
4899:
4900: if (fa_amort_pvt.t_deprn_limit_type(i) = 'PCT') then
4901: l_temp_num := fa_amort_pvt.t_cost(i) * (1 - fa_amort_pvt.t_allowed_deprn_limit(i));
4902: fa_round_pkg.fa_floor(l_temp_num, p_asset_hdr_rec.book_type_code
4903: ,p_log_level_rec => p_log_level_rec);
4904: fa_amort_pvt.t_allowed_deprn_limit_amount(i) := l_temp_num;
4905: elsif(fa_amort_pvt.t_deprn_limit_type(i) = 'SUM') then
4906: fa_amort_pvt.t_allowed_deprn_limit_amount(i) := fa_amort_pvt.t_member_deprn_limit_amount(i);