DBA Data[Home] [Help]

APPS.FA_GAINLOSS_RET_PKG dependencies on FA_CACHE_PKG

Line 4: g_print_debug boolean := fa_cache_pkg.fa_print_debug;

1: PACKAGE BODY FA_GAINLOSS_RET_PKG AS
2: /* $Header: fagretb.pls 120.13.12010000.1 2008/07/28 13:21:55 appldev ship $*/
3:
4: g_print_debug boolean := fa_cache_pkg.fa_print_debug;
5:
6: /*===========================================================================
7: | NAME fagfpc |
8: | |

Line 69: if not fa_cache_pkg.fazccp(d_cal, fiscal_year_name, ret_p_jdate,

65: h_cpd_fy := cpd_fiscal_year;
66:
67: ret_p_jdate := to_char(ret_p_date, 'J');
68:
69: if not fa_cache_pkg.fazccp(d_cal, fiscal_year_name, ret_p_jdate,
70: ret_p_period_num, fiscal_year, dummy
71: ,p_log_level_rec => p_log_level_rec) then
72: fa_srvr_msg.add_message(calling_fn => l_calling_fn
73: ,p_log_level_rec => p_log_level_rec);

Line 98: if not fa_cache_pkg.fazcct(p_cal) then

94:
95: end if;
96:
97: -- Get the number of periods per year in the rate calendar
98: if not fa_cache_pkg.fazcct(p_cal) then
99: fa_srvr_msg.add_message(calling_fn => 'fa_gainloss_ret_pkg.fagfpc'
100: ,p_log_level_rec => p_log_level_rec);
101: raise fagfpc_err;
102: end if;

Line 104: p_pds_per_yr := fa_cache_pkg.fazcct_record.number_per_fiscal_year;

100: ,p_log_level_rec => p_log_level_rec);
101: raise fagfpc_err;
102: end if;
103:
104: p_pds_per_yr := fa_cache_pkg.fazcct_record.number_per_fiscal_year;
105:
106:
107: begin
108:

Line 456: l_asset_hdr_rec.set_of_books_id := fa_cache_pkg.fazcbc_record.set_of_books_id;

452:
453: if (bk.group_asset_id is not null) then
454: l_asset_hdr_rec.asset_id := bk.group_asset_id;
455: l_asset_hdr_rec.book_type_code := ret.book;
456: l_asset_hdr_rec.set_of_books_id := fa_cache_pkg.fazcbc_record.set_of_books_id;
457:
458: if not fa_util_pvt.get_asset_deprn_rec (
459: p_asset_hdr_rec => l_asset_hdr_rec,
460: px_asset_deprn_rec => l_asset_deprn_rec_old,

Line 516: if not fa_cache_pkg.fazcct(bk.p_cal) then

512: dpr.rsv_known_flag := TRUE;
513:
514: --Bug6187408
515: -- Get the number of periods per year in the rate calendar
516: if not fa_cache_pkg.fazcct(bk.p_cal) then
517: fa_srvr_msg.add_message(calling_fn => 'fa_gainloss_ret_pkg.fagret'
518: ,p_log_level_rec => p_log_level_rec);
519: raise fagret_err;
520: end if;

Line 528: if fa_cache_pkg.fazcct_record.number_per_fiscal_year = 365 and prd_flag = 'Y' then

524: if c_prd_flag%NOTFOUND then
525: prd_flag := 'N';
526: end if;
527: close c_prd_flag;
528: if fa_cache_pkg.fazcct_record.number_per_fiscal_year = 365 and prd_flag = 'Y' then
529:
530: start_pd := cpdnum;
531: end_pd := cpdnum;
532: cpdnum_set := 'Y';

Line 618: where fiscal_year_name = fa_cache_pkg.fazcbc_record.fiscal_year_name

614:
615: select fiscal_year
616: into h_fiscal_year
617: from fa_fiscal_year
618: where fiscal_year_name = fa_cache_pkg.fazcbc_record.fiscal_year_name
619: and bk.ret_prorate_date between start_date and end_date;
620:
621: exception
622: when others then