DBA Data[Home] [Help]

APPS.FA_GAINLOSS_UPD_PKG dependencies on FA_UTILS_PKG

Line 377: if not FA_UTILS_PKG.faxrnd(h_recaptured, ret.book) then

373:
374: end;
375:
376: -- Call faxrnd in fagitc
377: if not FA_UTILS_PKG.faxrnd(h_recaptured, ret.book) then
378: fa_srvr_msg.add_message(calling_fn => l_calling_fn
379: ,p_log_level_rec => p_log_level_rec);
380: RAISE fagitc_err;
381: end if;

Line 838: if not FA_UTILS_PKG.faxrnd(h_nbv_retired, ret.book) then

834: h_gain_loss := (ret.proceeds_of_sale + nvl(ret.reval_rsv_retired,0)) -
835: (h_nbv_retired + ret.cost_of_removal);
836:
837: -- Call faxrnd to round nbv_retired in fagurt
838: if not FA_UTILS_PKG.faxrnd(h_nbv_retired, ret.book) then
839: fa_srvr_msg.add_message(calling_fn => l_calling_fn
840: ,p_log_level_rec => p_log_level_rec);
841: return(FALSE);
842: end if;

Line 845: if not FA_UTILS_PKG.faxrnd(h_gain_loss, ret.book) then

841: return(FALSE);
842: end if;
843:
844: -- Call faxrnd to round gain_loss in fagurt
845: if not FA_UTILS_PKG.faxrnd(h_gain_loss, ret.book) then
846: fa_srvr_msg.add_message(calling_fn => l_calling_fn
847: ,p_log_level_rec => p_log_level_rec);
848: return(FALSE);
849: end if;

Line 852: if not FA_UTILS_PKG.faxrnd(h_stl_deprn, ret.book) then

848: return(FALSE);
849: end if;
850:
851: -- Call faxrnd to round stl_deprn in fagurt
852: if not FA_UTILS_PKG.faxrnd(h_stl_deprn, ret.book) then
853: fa_srvr_msg.add_message(calling_fn => l_calling_fn
854: ,p_log_level_rec => p_log_level_rec);
855: return(FALSE);
856: end if;

Line 859: if not FA_UTILS_PKG.faxrnd(h_reval_rsv_retired, ret.book) then

855: return(FALSE);
856: end if;
857:
858: -- Call faxrnd to round reval_rsv_retired in fagurt
859: if not FA_UTILS_PKG.faxrnd(h_reval_rsv_retired, ret.book) then
860: fa_srvr_msg.add_message(calling_fn => l_calling_fn
861: ,p_log_level_rec => p_log_level_rec);
862: return(FALSE);
863: end if;

Line 866: if not FA_UTILS_PKG.faxrnd(h_bonus_rsv_retired, ret.book) then

862: return(FALSE);
863: end if;
864:
865: -- Call faxrnd to round bonus_rsv_retired in fagurt
866: if not FA_UTILS_PKG.faxrnd(h_bonus_rsv_retired, ret.book) then
867: fa_srvr_msg.add_message(calling_fn => l_calling_fn
868: ,p_log_level_rec => p_log_level_rec);
869: return(FALSE);
870: end if;

Line 873: if not FA_UTILS_PKG.faxrnd(h_unrevalued_cost_retired, ret.book) then

869: return(FALSE);
870: end if;
871:
872: -- Call faxrnd to round unrevalued_cost_retired in fagurt
873: if not FA_UTILS_PKG.faxrnd(h_unrevalued_cost_retired, ret.book) then
874: fa_srvr_msg.add_message(calling_fn => l_calling_fn
875: ,p_log_level_rec => p_log_level_rec);
876: return(FALSE);
877: end if;

Line 3591: if not FA_UTILS_PKG.faxrnd(h_start_pd_deprn, ret.book) then

3587:
3588: h_amt_to_retain := h_amt_to_retain + (-1 * h_adj_exp_row);
3589:
3590:
3591: if not FA_UTILS_PKG.faxrnd(h_start_pd_deprn, ret.book) then
3592: fa_srvr_msg.add_message(calling_fn => l_calling_fn
3593: ,p_log_level_rec => p_log_level_rec);
3594: raise farboe_err;
3595: end if;

Line 3729: if not FA_UTILS_PKG.faxceil(h_temp_end_pp,

3725: /*h_temp_end_pp := (h_tot_deprn * ((h_start_pd_endpp - start_pp) + 1)) /
3726: deprn_amt;
3727: h_temp_end_pp := -1 * h_temp_end_pp;*/
3728: end if; -- Bug7409643
3729: if not FA_UTILS_PKG.faxceil(h_temp_end_pp,
3730: ret.book
3731: ,p_log_level_rec => p_log_level_rec) then
3732: raise farboe_err;
3733: end if;

Line 3759: if not FA_UTILS_PKG.faxrnd(h_amt_to_retain, ret.book) then

3755: h_temp_end_pp);
3756: else h_amt_to_retain := h_tot_deprn;
3757: end if;
3758:
3759: if not FA_UTILS_PKG.faxrnd(h_amt_to_retain, ret.book) then
3760: fa_srvr_msg.add_message(calling_fn => l_calling_fn
3761: ,p_log_level_rec => p_log_level_rec);
3762: raise farboe_err;
3763: end if;

Line 3778: if not FA_UTILS_PKG.faxrnd(adj_row.adjustment_amount,book) then

3774: end if;
3775:
3776: --bugfix 4380845
3777: -- Call faxrnd
3778: if not FA_UTILS_PKG.faxrnd(adj_row.adjustment_amount,book) then
3779: fa_srvr_msg.add_message(calling_fn => l_calling_fn);
3780: RAISE farboe_err;
3781: end if;
3782:

Line 4903: if not FA_UTILS_PKG.faxrnd(deprn_reserve, ret.book) then

4899: end if;
4900:
4901: deprn_reserve := deprn_reserve * cost_frac;
4902: /* Bug#4648226 rounding issue */
4903: if not FA_UTILS_PKG.faxrnd(deprn_reserve, ret.book) then
4904: fa_srvr_msg.add_message(calling_fn => l_calling_fn);
4905: raise fagprv_err;
4906: end if;
4907:

Line 4915: if not FA_UTILS_PKG.faxrnd(reval_reserve, ret.book) then

4911: if cost_frac <> 0 then
4912: reval_reserve := reval_reserve * cost_frac;
4913:
4914: /* Bug#4459585 rounding issue */
4915: if not FA_UTILS_PKG.faxrnd(reval_reserve, ret.book) then
4916: fa_srvr_msg.add_message(calling_fn => l_calling_fn);
4917: raise fagprv_err;
4918: end if;
4919:

Line 4925: if not FA_UTILS_PKG.faxrnd(bonus_deprn_reserve, ret.book) then

4921:
4922: bonus_deprn_reserve := bonus_deprn_reserve * cost_frac;
4923:
4924: /* Bug#4459585 rounding issue */
4925: if not FA_UTILS_PKG.faxrnd(bonus_deprn_reserve, ret.book) then
4926: fa_srvr_msg.add_message(calling_fn => l_calling_fn);
4927: raise fagprv_err;
4928: end if;
4929:

Line 4953: if not FA_UTILS_PKG.faxrnd(tot_deprn_reserve, ret.book) then

4949:
4950: /*
4951: * Round tot_deprn_reserve according to functional currency
4952: */
4953: if not FA_UTILS_PKG.faxrnd(tot_deprn_reserve, ret.book) then
4954: fa_srvr_msg.add_message(calling_fn => l_calling_fn
4955: ,p_log_level_rec => p_log_level_rec);
4956: raise fagprv_err;
4957: end if;

Line 4959: if not FA_UTILS_PKG.faxrnd(tot_bonus_deprn_reserve, ret.book) then

4955: ,p_log_level_rec => p_log_level_rec);
4956: raise fagprv_err;
4957: end if;
4958:
4959: if not FA_UTILS_PKG.faxrnd(tot_bonus_deprn_reserve, ret.book) then
4960: fa_srvr_msg.add_message(calling_fn => l_calling_fn
4961: ,p_log_level_rec => p_log_level_rec);
4962: raise fagprv_err;
4963: end if;

Line 4970: if not FA_UTILS_PKG.faxrnd(tot_reval_reserve, ret.book) then

4966: /*
4967: * Round tot_reval_reserve according to functional currency
4968: */
4969:
4970: if not FA_UTILS_PKG.faxrnd(tot_reval_reserve, ret.book) then
4971: fa_srvr_msg.add_message(calling_fn => l_calling_fn
4972: ,p_log_level_rec => p_log_level_rec);
4973: raise fagprv_err;
4974: end if;

Line 5598: if not FA_UTILS_PKG.faxrnd(adj_row.adjustment_amount, ret.book) then

5594: (l_rsv_retired is null) then
5595:
5596: adj_row.adjustment_amount := (ret.cost_retired / l_g_cost) * l_g_rsv;
5597:
5598: if not FA_UTILS_PKG.faxrnd(adj_row.adjustment_amount, ret.book) then
5599: fa_srvr_msg.add_message(calling_fn => l_calling_fn
5600: ,p_log_level_rec => p_log_level_rec);
5601: raise fagprv_err;
5602: end if;

Line 5649: if not FA_UTILS_PKG.faxrnd(adj_row.adjustment_amount, ret.book) then

5645: (l_rsv_retired is null) then
5646:
5647: adj_row.adjustment_amount := (ret.cost_retired / l_g_cost) * l_g_bonus_rsv;
5648:
5649: if not FA_UTILS_PKG.faxrnd(adj_row.adjustment_amount, ret.book) then
5650: fa_srvr_msg.add_message(calling_fn => l_calling_fn
5651: ,p_log_level_rec => p_log_level_rec);
5652: raise fagprv_err;
5653: end if;

Line 5658: if not FA_UTILS_PKG.faxrnd(adj_row.adjustment_amount, ret.book) then

5654:
5655: elsif (l_rsv_retired is not null) then
5656: adj_row.adjustment_amount := (l_rsv_retired/l_g_rsv) * l_g_bonus_rsv;
5657:
5658: if not FA_UTILS_PKG.faxrnd(adj_row.adjustment_amount, ret.book) then
5659: fa_srvr_msg.add_message(calling_fn => l_calling_fn
5660: ,p_log_level_rec => p_log_level_rec);
5661: raise fagprv_err;
5662: end if;