DBA Data[Home] [Help]

APPS.FA_GCCID_PKG dependencies on FA_CACHE_PKG

Line 6: g_custom_gen_ccid boolean := fa_cache_pkg.fa_custom_gen_ccid;

2: /* $Header: FAFBGCB.pls 120.6.12010000.1 2008/07/28 13:11:56 appldev ship $tpershad ship */
3:
4: G_check_dist_accts boolean := TRUE;
5:
6: g_custom_gen_ccid boolean := fa_cache_pkg.fa_custom_gen_ccid;
7: g_profile_init boolean := fa_cache_pkg.fa_profile_init;
8:
9: FUNCTION fafb_load_functions(p_log_level_rec IN FA_API_TYPES.log_level_rec_type default null)
10: return boolean is

Line 7: g_profile_init boolean := fa_cache_pkg.fa_profile_init;

3:
4: G_check_dist_accts boolean := TRUE;
5:
6: g_custom_gen_ccid boolean := fa_cache_pkg.fa_custom_gen_ccid;
7: g_profile_init boolean := fa_cache_pkg.fa_profile_init;
8:
9: FUNCTION fafb_load_functions(p_log_level_rec IN FA_API_TYPES.log_level_rec_type default null)
10: return boolean is
11: h_i BINARY_INTEGER:=0; /* Index to the table */

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

205: p_log_level_rec => p_log_level_rec);
206: end if;
207:
208: -- no need to call the cache here as it will already be loaded
209: h_flex_num := FA_CACHE_PKG.fazcbc_record.accounting_flex_structure;
210: h_segs_def_ccid := FA_CACHE_PKG.fazcbc_record.flexbuilder_defaults_ccid;
211:
212: h_ret_value := fafb_search_functions(X_fin_trx_code => X_fn_trx_code,
213: X_function_code => h_flex_function_code,

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

206: end if;
207:
208: -- no need to call the cache here as it will already be loaded
209: h_flex_num := FA_CACHE_PKG.fazcbc_record.accounting_flex_structure;
210: h_segs_def_ccid := FA_CACHE_PKG.fazcbc_record.flexbuilder_defaults_ccid;
211:
212: h_ret_value := fafb_search_functions(X_fin_trx_code => X_fn_trx_code,
213: X_function_code => h_flex_function_code,
214: p_log_level_rec => p_log_level_rec);

Line 243: if not fa_cache_pkg.fazcdp

239: -- generation can occur for ccids from a prior or future period.
240: -- bridgway
241:
242: if (G_validation_date is null) then
243: if not fa_cache_pkg.fazcdp
244: (x_book_type_code => x_book_type_code,
245: x_period_counter => null,
246: x_effective_date => null,
247: p_log_level_rec => p_log_level_rec) then

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

249: fa_srvr_msg.add_message(calling_fn => 'fa_gccid_pkg.fafbgcc',
250: p_log_level_rec => p_log_level_rec);
251: return false;
252: end if;
253: h_val_date := fa_cache_pkg.fazcdp_record.calendar_period_close_date;
254: else
255: h_val_date := to_date(G_validation_date, 'DD/MM/RRRR'); --bug#5911720
256: end if;
257:

Line 309: if not fa_cache_pkg.fazprof then

305: -- is already called in fafbgcc_proc
306:
307: --- BEGIN USE CUSTOM GEN CCID
308: if not g_profile_init then
309: if not fa_cache_pkg.fazprof then
310: null;
311: end if;
312: g_custom_gen_ccid := fa_cache_pkg.fa_custom_gen_ccid;
313: g_profile_init := TRUE;

Line 312: g_custom_gen_ccid := fa_cache_pkg.fa_custom_gen_ccid;

308: if not g_profile_init then
309: if not fa_cache_pkg.fazprof then
310: null;
311: end if;
312: g_custom_gen_ccid := fa_cache_pkg.fa_custom_gen_ccid;
313: g_profile_init := TRUE;
314: end if;
315:
316: if (g_custom_gen_ccid) then

Line 411: if (not fa_cache_pkg.fa_gen_expense_account) then

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

Line 515: if not FA_CACHE_PKG.fazcbc(X_book_type_code, p_log_level_rec) then

511: X_return_value := 0;
512:
513: -- for pro*c, we need to load the plsql cache for
514: -- book controls and profile options
515: if not FA_CACHE_PKG.fazcbc(X_book_type_code, p_log_level_rec) then
516: FA_SRVR_MSG.ADD_MESSAGE
517: (CALLING_FN => 'FA_GCCID_PKG.fafbgcc',
518: p_log_level_rec => p_log_level_rec);
519: X_return_value := 0;

Line 523: g_custom_gen_ccid := fa_cache_pkg.fa_custom_gen_ccid;

519: X_return_value := 0;
520: return;
521: end if;
522:
523: g_custom_gen_ccid := fa_cache_pkg.fa_custom_gen_ccid;
524: g_profile_init := TRUE;
525:
526: -- BUG# 2215671
527: -- Pass the validation date to start process to use the correct

Line 534: if not fa_cache_pkg.fazcdp

530: -- generation can occur for ccids from a prior or future period.
531: -- bridgway
532:
533: if (G_validation_date is null) then
534: if not fa_cache_pkg.fazcdp
535: (x_book_type_code => x_book_type_code,
536: x_period_counter => null,
537: x_effective_date => null,
538: p_log_level_rec => p_log_level_rec) then

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

540: fa_srvr_msg.add_message(calling_fn => 'fa_gccid_pkg.fafbgcc',
541: p_log_level_rec => p_log_level_rec);
542: return;
543: end if;
544: h_val_date := fa_cache_pkg.fazcdp_record.calendar_period_close_date;
545: else
546: h_val_date := to_date(G_validation_date, 'DD/MM/RRRR'); --bug#5911720
547: end if;
548:

Line 718: h_pregen := fa_cache_pkg.fa_pregen_asset_account;

714: -- the associated pregeneration profile option is set to 'N'
715:
716: if (X_fn_trx_code = 'DEPRN_EXPENSE_ACCT') then
717: -- fnd_profile.get('FA_PREGEN_ASSET_ACCOUNT', h_pregen);
718: h_pregen := fa_cache_pkg.fa_pregen_asset_account;
719: end if;
720:
721: if (X_fn_trx_code in ('ASSET_COST_ACCT',
722: 'ASSET_CLEARING_ACCT',

Line 732: h_pregen := fa_cache_pkg.fa_pregen_cat_account;

728: 'BONUS_DEPRN_EXPENSE_ACCT',
729: 'BONUS_DEPRN_RESERVE_ACCT'
730: )) then
731: --fnd_profile.get('FA_PREGEN_CAT_ACCOUNT', h_pregen);
732: h_pregen := fa_cache_pkg.fa_pregen_cat_account;
733: end if;
734:
735: if (X_fn_trx_code in ('NBV_RETIRED_GAIN_ACCT',
736: 'NBV_RETIRED_LOSS_ACCT',

Line 750: h_pregen := fa_cache_pkg.fa_pregen_book_account;

746: 'DEFERRED_DEPRN_RESERVE_ACCT',
747: 'DEPRN_ADJUSTMENT_ACCT'
748: )) then
749: --fnd_profile.get('FA_PREGEN_BOOK_ACCOUNT', h_pregen);
750: h_pregen := fa_cache_pkg.fa_pregen_book_account;
751: end if;
752:
753: if (h_pregen) then
754: OPEN get_accounts;