DBA Data[Home] [Help]

APPS.FA_GCCID_PKG dependencies on FA_CACHE_PKG

Line 5: g_custom_gen_ccid boolean := fa_cache_pkg.fa_custom_gen_ccid;

1: PACKAGE BODY FA_GCCID_PKG as
2: /* $Header: FAFBGCB.pls 120.8 2010/12/21 09:51:48 gigupta ship $tpershad ship */
3:
4: G_check_dist_accts boolean := TRUE;
5: g_custom_gen_ccid boolean := fa_cache_pkg.fa_custom_gen_ccid;
6: g_profile_init boolean := fa_cache_pkg.fa_profile_init;
7: g_log_level_rec fa_api_types.log_level_rec_type;
8:
9: FUNCTION fafb_load_functions(p_log_level_rec IN

Line 6: g_profile_init boolean := fa_cache_pkg.fa_profile_init;

2: /* $Header: FAFBGCB.pls 120.8 2010/12/21 09:51:48 gigupta ship $tpershad ship */
3:
4: G_check_dist_accts boolean := TRUE;
5: g_custom_gen_ccid boolean := fa_cache_pkg.fa_custom_gen_ccid;
6: g_profile_init boolean := fa_cache_pkg.fa_profile_init;
7: g_log_level_rec fa_api_types.log_level_rec_type;
8:
9: FUNCTION fafb_load_functions(p_log_level_rec IN
10: fa_api_types.log_level_rec_type default null)

Line 226: h_flex_num := FA_CACHE_PKG.fazcbc_record.accounting_flex_structure;

222: (CALLING_FN => 'FA_GCCID_PKG.fafbgcc', p_log_level_rec => p_log_level_rec);
223: end if;
224:
225: -- no need to call the cache here as it will already be loaded
226: h_flex_num := FA_CACHE_PKG.fazcbc_record.accounting_flex_structure;
227: h_segs_def_ccid := FA_CACHE_PKG.fazcbc_record.flexbuilder_defaults_ccid;
228:
229: h_ret_value := fafb_search_functions(X_fin_trx_code=>X_fn_trx_code,
230: X_function_code=>h_flex_function_code,

Line 227: h_segs_def_ccid := FA_CACHE_PKG.fazcbc_record.flexbuilder_defaults_ccid;

223: end if;
224:
225: -- no need to call the cache here as it will already be loaded
226: h_flex_num := FA_CACHE_PKG.fazcbc_record.accounting_flex_structure;
227: h_segs_def_ccid := FA_CACHE_PKG.fazcbc_record.flexbuilder_defaults_ccid;
228:
229: h_ret_value := fafb_search_functions(X_fin_trx_code=>X_fn_trx_code,
230: X_function_code=>h_flex_function_code,
231: p_log_level_rec => p_log_level_rec);

Line 257: if not fa_cache_pkg.fazcdp

253: -- generation can occur for ccids from a prior or future period.
254: -- bridgway
255:
256: if (G_validation_date is null) then
257: if not fa_cache_pkg.fazcdp
258: (x_book_type_code => x_book_type_code,
259: x_period_counter => null,
260: x_effective_date => null, p_log_level_rec => p_log_level_rec) then
261: fa_srvr_msg.add_message(calling_fn => 'fa_gccid_pkg.fafbgcc', p_log_level_rec => p_log_level_rec);

Line 264: h_val_date := fa_cache_pkg.fazcdp_record.calendar_period_close_date;

260: x_effective_date => null, p_log_level_rec => p_log_level_rec) then
261: fa_srvr_msg.add_message(calling_fn => 'fa_gccid_pkg.fafbgcc', p_log_level_rec => p_log_level_rec);
262: return false;
263: end if;
264: h_val_date := fa_cache_pkg.fazcdp_record.calendar_period_close_date;
265: else
266: h_val_date := to_date(G_validation_date, 'DD/MM/RRRR'); --bug#5863965
267: end if;
268:

Line 313: if not fa_cache_pkg.fazprof then

309: -- is already called in fafbgcc_proc
310:
311: --- BEGIN USE CUSTOM GEN CCID
312: if not g_profile_init then
313: if not fa_cache_pkg.fazprof then
314: null;
315: end if;
316: g_custom_gen_ccid := fa_cache_pkg.fa_custom_gen_ccid;
317: g_profile_init := TRUE;

Line 316: g_custom_gen_ccid := fa_cache_pkg.fa_custom_gen_ccid;

312: if not g_profile_init then
313: if not fa_cache_pkg.fazprof then
314: null;
315: end if;
316: g_custom_gen_ccid := fa_cache_pkg.fa_custom_gen_ccid;
317: g_profile_init := TRUE;
318: end if;
319:
320: if (g_custom_gen_ccid) then

Line 412: if (not fa_cache_pkg.fa_gen_expense_account) then

408:
409: if (X_fn_trx_code = 'DEPRN_EXPENSE_ACCT') then
410:
411: --fnd_profile.get('FA_GEN_EXPENSE_ACCOUNT', h_gen_expense);
412: if (not fa_cache_pkg.fa_gen_expense_account) then
413: X_rtn_ccid := X_dist_ccid;
414: return TRUE;
415: end if;
416: end if;

Line 522: if not FA_CACHE_PKG.fazcbc(X_book_type_code, p_log_level_rec => g_log_level_rec) then

518: end if;
519:
520: -- for pro*c, we need to load the plsql cache for
521: -- book controls and profile options
522: if not FA_CACHE_PKG.fazcbc(X_book_type_code, p_log_level_rec => g_log_level_rec) then
523: FA_SRVR_MSG.ADD_MESSAGE
524: (CALLING_FN => 'FA_GCCID_PKG.fafbgcc', p_log_level_rec => g_log_level_rec);
525: X_return_value := 0;
526: return;

Line 529: g_custom_gen_ccid := fa_cache_pkg.fa_custom_gen_ccid;

525: X_return_value := 0;
526: return;
527: end if;
528:
529: g_custom_gen_ccid := fa_cache_pkg.fa_custom_gen_ccid;
530: g_profile_init := TRUE;
531:
532: -- BUG# 2215671
533: -- Pass the validation date to start process to use the correct

Line 540: if not fa_cache_pkg.fazcdp

536: -- generation can occur for ccids from a prior or future period.
537: -- bridgway
538:
539: if (G_validation_date is null) then
540: if not fa_cache_pkg.fazcdp
541: (x_book_type_code => x_book_type_code,
542: x_period_counter => null,
543: x_effective_date => null, p_log_level_rec => g_log_level_rec) then
544: X_return_value := 0;

Line 548: h_val_date := fa_cache_pkg.fazcdp_record.calendar_period_close_date;

544: X_return_value := 0;
545: fa_srvr_msg.add_message(calling_fn => 'fa_gccid_pkg.fafbgcc', p_log_level_rec => g_log_level_rec);
546: return;
547: end if;
548: h_val_date := fa_cache_pkg.fazcdp_record.calendar_period_close_date;
549: else
550: h_val_date := to_date(G_validation_date, 'DD/MM/RRRR'); --bug#5863965
551: end if;
552:

Line 730: h_pregen := fa_cache_pkg.fa_pregen_asset_account;

726: -- the associated pregeneration profile option is set to 'N'
727:
728: if (X_fn_trx_code = 'DEPRN_EXPENSE_ACCT') then
729: -- fnd_profile.get('FA_PREGEN_ASSET_ACCOUNT', h_pregen);
730: h_pregen := fa_cache_pkg.fa_pregen_asset_account;
731: end if;
732:
733: if (X_fn_trx_code in ('ASSET_COST_ACCT',
734: 'ASSET_CLEARING_ACCT',

Line 749: h_pregen := fa_cache_pkg.fa_pregen_cat_account;

745: 'GENERAL_FUND_ACCT', -- Bug 6666666 : Added for SORP
746: 'REVAL_LOSS_ACCT'
747: )) then
748: --fnd_profile.get('FA_PREGEN_CAT_ACCOUNT', h_pregen);
749: h_pregen := fa_cache_pkg.fa_pregen_cat_account;
750: end if;
751:
752: if (X_fn_trx_code in ('NBV_RETIRED_GAIN_ACCT',
753: 'NBV_RETIRED_LOSS_ACCT',

Line 767: h_pregen := fa_cache_pkg.fa_pregen_book_account;

763: 'DEFERRED_DEPRN_RESERVE_ACCT',
764: 'DEPRN_ADJUSTMENT_ACCT'
765: )) then
766: --fnd_profile.get('FA_PREGEN_BOOK_ACCOUNT', h_pregen);
767: h_pregen := fa_cache_pkg.fa_pregen_book_account;
768: end if;
769:
770: if (h_pregen) then
771: OPEN get_accounts;