DBA Data[Home] [Help]

APPS.FA_ASSET_CALC_PVT dependencies on FA_UTILS_PKG

Line 2794: if not FA_UTILS_PKG.faxrnd(px_asset_fin_rec_new.cost,

2790: -- converted to use utils package instead of fa_round_pkg
2791: -- so that the correct sob (P/R) is always used to get currency
2792:
2793:
2794: if not FA_UTILS_PKG.faxrnd(px_asset_fin_rec_new.cost,
2795: p_asset_hdr_rec.book_type_code,
2796: p_asset_hdr_rec.set_of_books_id,
2797: p_log_level_rec => p_log_level_rec) then
2798: raise calc_err;

Line 2802: if not FA_UTILS_PKG.faxrnd(px_asset_fin_rec_new.original_cost,

2798: raise calc_err;
2799: end if;
2800:
2801:
2802: if not FA_UTILS_PKG.faxrnd(px_asset_fin_rec_new.original_cost,
2803: p_asset_hdr_rec.book_type_code,
2804: p_asset_hdr_rec.set_of_books_id,
2805: p_log_level_rec => p_log_level_rec) then
2806: raise calc_err;

Line 2809: if not FA_UTILS_PKG.faxrnd(px_asset_fin_rec_new.reval_amortization_basis,

2805: p_log_level_rec => p_log_level_rec) then
2806: raise calc_err;
2807: end if;
2808:
2809: if not FA_UTILS_PKG.faxrnd(px_asset_fin_rec_new.reval_amortization_basis,
2810: p_asset_hdr_rec.book_type_code,
2811: p_asset_hdr_rec.set_of_books_id,
2812: p_log_level_rec => p_log_level_rec) then
2813: raise calc_err;

Line 2816: if not FA_UTILS_PKG.faxrnd(px_asset_fin_rec_new.reval_ceiling,

2812: p_log_level_rec => p_log_level_rec) then
2813: raise calc_err;
2814: end if;
2815:
2816: if not FA_UTILS_PKG.faxrnd(px_asset_fin_rec_new.reval_ceiling,
2817: p_asset_hdr_rec.book_type_code,
2818: p_asset_hdr_rec.set_of_books_id,
2819: p_log_level_rec => p_log_level_rec) then
2820: raise calc_err;

Line 2823: if not FA_UTILS_PKG.faxrnd(px_asset_fin_rec_new.unrevalued_cost,

2819: p_log_level_rec => p_log_level_rec) then
2820: raise calc_err;
2821: end if;
2822:
2823: if not FA_UTILS_PKG.faxrnd(px_asset_fin_rec_new.unrevalued_cost,
2824: p_asset_hdr_rec.book_type_code,
2825: p_asset_hdr_rec.set_of_books_id,
2826: p_log_level_rec => p_log_level_rec) then
2827: raise calc_err;

Line 2830: if not FA_UTILS_PKG.faxrnd(px_asset_fin_rec_new.cip_cost,

2826: p_log_level_rec => p_log_level_rec) then
2827: raise calc_err;
2828: end if;
2829:
2830: if not FA_UTILS_PKG.faxrnd(px_asset_fin_rec_new.cip_cost,
2831: p_asset_hdr_rec.book_type_code,
2832: p_asset_hdr_rec.set_of_books_id,
2833: p_log_level_rec => p_log_level_rec) then
2834: raise calc_err;

Line 2837: if not FA_UTILS_PKG.faxrnd(px_asset_deprn_rec_new.deprn_reserve,

2833: p_log_level_rec => p_log_level_rec) then
2834: raise calc_err;
2835: end if;
2836:
2837: if not FA_UTILS_PKG.faxrnd(px_asset_deprn_rec_new.deprn_reserve,
2838: p_asset_hdr_rec.book_type_code,
2839: p_asset_hdr_rec.set_of_books_id,
2840: p_log_level_rec => p_log_level_rec) then
2841: raise calc_err;

Line 2844: if not FA_UTILS_PKG.faxrnd(px_asset_deprn_rec_new.ytd_deprn,

2840: p_log_level_rec => p_log_level_rec) then
2841: raise calc_err;
2842: end if;
2843:
2844: if not FA_UTILS_PKG.faxrnd(px_asset_deprn_rec_new.ytd_deprn,
2845: p_asset_hdr_rec.book_type_code,
2846: p_asset_hdr_rec.set_of_books_id,
2847: p_log_level_rec => p_log_level_rec) then
2848: raise calc_err;

Line 2851: if not FA_UTILS_PKG.faxrnd(px_asset_deprn_rec_new.reval_deprn_reserve,

2847: p_log_level_rec => p_log_level_rec) then
2848: raise calc_err;
2849: end if;
2850:
2851: if not FA_UTILS_PKG.faxrnd(px_asset_deprn_rec_new.reval_deprn_reserve,
2852: p_asset_hdr_rec.book_type_code,
2853: p_asset_hdr_rec.set_of_books_id,
2854: p_log_level_rec => p_log_level_rec) then
2855: raise calc_err;

Line 2858: if not FA_UTILS_PKG.faxrnd(px_asset_deprn_rec_new.reval_ytd_deprn,

2854: p_log_level_rec => p_log_level_rec) then
2855: raise calc_err;
2856: end if;
2857:
2858: if not FA_UTILS_PKG.faxrnd(px_asset_deprn_rec_new.reval_ytd_deprn,
2859: p_asset_hdr_rec.book_type_code,
2860: p_asset_hdr_rec.set_of_books_id,
2861: p_log_level_rec => p_log_level_rec) then
2862: raise calc_err;

Line 2865: if not FA_UTILS_PKG.faxrnd(px_asset_deprn_rec_new.bonus_deprn_reserve,

2861: p_log_level_rec => p_log_level_rec) then
2862: raise calc_err;
2863: end if;
2864:
2865: if not FA_UTILS_PKG.faxrnd(px_asset_deprn_rec_new.bonus_deprn_reserve,
2866: p_asset_hdr_rec.book_type_code,
2867: p_asset_hdr_rec.set_of_books_id,
2868: p_log_level_rec => p_log_level_rec) then
2869: raise calc_err;

Line 2872: if not FA_UTILS_PKG.faxrnd(px_asset_deprn_rec_new.bonus_ytd_deprn,

2868: p_log_level_rec => p_log_level_rec) then
2869: raise calc_err;
2870: end if;
2871:
2872: if not FA_UTILS_PKG.faxrnd(px_asset_deprn_rec_new.bonus_ytd_deprn,
2873: p_asset_hdr_rec.book_type_code,
2874: p_asset_hdr_rec.set_of_books_id,
2875: p_log_level_rec => p_log_level_rec) then
2876: raise calc_err;

Line 2879: if not FA_UTILS_PKG.faxrnd(px_asset_deprn_rec_new.impairment_reserve,

2875: p_log_level_rec => p_log_level_rec) then
2876: raise calc_err;
2877: end if;
2878:
2879: if not FA_UTILS_PKG.faxrnd(px_asset_deprn_rec_new.impairment_reserve,
2880: p_asset_hdr_rec.book_type_code,
2881: p_asset_hdr_rec.set_of_books_id,
2882: p_log_level_rec => p_log_level_rec) then
2883: raise calc_err;

Line 2886: if not FA_UTILS_PKG.faxrnd(px_asset_deprn_rec_new.ytd_impairment,

2882: p_log_level_rec => p_log_level_rec) then
2883: raise calc_err;
2884: end if;
2885:
2886: if not FA_UTILS_PKG.faxrnd(px_asset_deprn_rec_new.ytd_impairment,
2887: p_asset_hdr_rec.book_type_code,
2888: p_asset_hdr_rec.set_of_books_id,
2889: p_log_level_rec => p_log_level_rec) then
2890: raise calc_err;

Line 3371: if not FA_UTILS_PKG.faxceil(px_asset_fin_rec_new.allowed_deprn_limit_amount,

3367: if (px_asset_fin_rec_new.deprn_limit_type = 'PCT') then
3368: px_asset_fin_rec_new.allowed_deprn_limit_amount := px_asset_fin_rec_new.cost -
3369: (px_asset_fin_rec_new.cost *
3370: px_asset_fin_rec_new.allowed_deprn_limit);
3371: if not FA_UTILS_PKG.faxceil(px_asset_fin_rec_new.allowed_deprn_limit_amount,
3372: p_asset_hdr_rec.book_type_code,
3373: p_asset_hdr_rec.set_of_books_id,
3374: p_log_level_rec => p_log_level_rec) then
3375: raise calc_err;

Line 3389: if not FA_UTILS_PKG.faxfloor(px_asset_fin_rec_new.adjusted_recoverable_cost,

3385: --Bug#6913554,End of fix.
3386:
3387:
3388: -- round the adj_rec_cost
3389: if not FA_UTILS_PKG.faxfloor(px_asset_fin_rec_new.adjusted_recoverable_cost,
3390: p_asset_hdr_rec.book_type_code,
3391: p_asset_hdr_rec.set_of_books_id,
3392: p_log_level_rec => p_log_level_rec) then
3393: raise calc_err;

Line 3463: if not FA_UTILS_PKG.faxceil(px_asset_fin_rec_new.allowed_deprn_limit_amount,

3459:
3460: -- BUG# 3092066
3461: -- use ceiling here, not round
3462: -- this results in a floor on the final amount
3463: if not FA_UTILS_PKG.faxceil(px_asset_fin_rec_new.allowed_deprn_limit_amount,
3464: p_asset_hdr_rec.book_type_code,
3465: p_asset_hdr_rec.set_of_books_id,
3466: p_log_level_rec => p_log_level_rec) then
3467: raise calc_err;

Line 3586: if not FA_UTILS_PKG.faxrnd(px_asset_fin_rec_new.allowed_deprn_limit_amount,

3582:
3583: end if;
3584:
3585: -- round the limit
3586: if not FA_UTILS_PKG.faxrnd(px_asset_fin_rec_new.allowed_deprn_limit_amount,
3587: p_asset_hdr_rec.book_type_code,
3588: p_asset_hdr_rec.set_of_books_id,
3589: p_log_level_rec => p_log_level_rec) then
3590: raise calc_err;

Line 3606: if not FA_UTILS_PKG.faxfloor(px_asset_fin_rec_new.adjusted_recoverable_cost,

3602:
3603: end if;
3604:
3605: -- round the adj_rec_cost
3606: if not FA_UTILS_PKG.faxfloor(px_asset_fin_rec_new.adjusted_recoverable_cost,
3607: p_asset_hdr_rec.book_type_code,
3608: p_asset_hdr_rec.set_of_books_id,
3609: p_log_level_rec => p_log_level_rec) then
3610: raise calc_err;

Line 3681: if not FA_UTILS_PKG.faxrnd(px_asset_fin_rec_new.itc_amount,

3677:
3678: -- ????
3679:
3680: -- round the amounts
3681: if not FA_UTILS_PKG.faxrnd(px_asset_fin_rec_new.itc_amount,
3682: p_asset_hdr_rec.book_type_code,
3683: p_asset_hdr_rec.set_of_books_id,
3684: p_log_level_rec => p_log_level_rec) then
3685: raise calc_err;

Line 3688: if not FA_UTILS_PKG.faxrnd(px_asset_fin_rec_new.itc_basis,

3684: p_log_level_rec => p_log_level_rec) then
3685: raise calc_err;
3686: end if;
3687:
3688: if not FA_UTILS_PKG.faxrnd(px_asset_fin_rec_new.itc_basis,
3689: p_asset_hdr_rec.book_type_code,
3690: p_asset_hdr_rec.set_of_books_id,
3691: p_log_level_rec => p_log_level_rec) then
3692: raise calc_err;

Line 3802: if not FA_UTILS_PKG.faxceil(px_asset_fin_rec_new.salvage_value,

3798:
3799: px_asset_fin_rec_new.salvage_value := (px_asset_fin_rec_new.cost *
3800: px_asset_fin_rec_new.percent_salvage_value);
3801:
3802: if not FA_UTILS_PKG.faxceil(px_asset_fin_rec_new.salvage_value,
3803: p_asset_hdr_rec.book_type_code,
3804: p_asset_hdr_rec.set_of_books_id,
3805: p_log_level_rec => p_log_level_rec) then
3806: raise calc_err;

Line 3885: if not FA_UTILS_PKG.faxrnd(px_asset_fin_rec_new.salvage_value,

3881: end if;
3882: end if;
3883:
3884: -- round the amount
3885: if not FA_UTILS_PKG.faxrnd(px_asset_fin_rec_new.salvage_value,
3886: p_asset_hdr_rec.book_type_code,
3887: p_asset_hdr_rec.set_of_books_id,
3888: p_log_level_rec => p_log_level_rec) then
3889: raise calc_err;