DBA Data[Home] [Help]

APPS.FA_MASSADD_CREATE_PKG dependencies on FA_CACHE_PKG

Line 551: if NOT fa_cache_pkg.fazcbc(X_book => p_book_type_code,

547: set last_mass_additions = l_request_id;
548:
549: DebugLog( 'Validating book ', p_book_type_code );
550:
551: if NOT fa_cache_pkg.fazcbc(X_book => p_book_type_code,
552: p_log_level_rec => g_log_level_rec) then
553: raise create_err;
554: end if;
555:

Line 556: if not fa_cache_pkg.fazcdp (x_book_type_code => p_book_type_code ) THEN

552: p_log_level_rec => g_log_level_rec) then
553: raise create_err;
554: end if;
555:
556: if not fa_cache_pkg.fazcdp (x_book_type_code => p_book_type_code ) THEN
557: raise create_err;
558: end if;
559:
560: l_ledger_id := fa_cache_pkg.fazcbc_record.set_of_books_id;

Line 560: l_ledger_id := fa_cache_pkg.fazcbc_record.set_of_books_id;

556: if not fa_cache_pkg.fazcdp (x_book_type_code => p_book_type_code ) THEN
557: raise create_err;
558: end if;
559:
560: l_ledger_id := fa_cache_pkg.fazcbc_record.set_of_books_id;
561: l_date_ineffective := fa_cache_pkg.fazcbc_record.date_ineffective;
562: l_book_class := fa_cache_pkg.fazcbc_record.book_class;
563: l_coa_id := fa_cache_pkg.fazcbc_record.accounting_flex_structure;
564:

Line 561: l_date_ineffective := fa_cache_pkg.fazcbc_record.date_ineffective;

557: raise create_err;
558: end if;
559:
560: l_ledger_id := fa_cache_pkg.fazcbc_record.set_of_books_id;
561: l_date_ineffective := fa_cache_pkg.fazcbc_record.date_ineffective;
562: l_book_class := fa_cache_pkg.fazcbc_record.book_class;
563: l_coa_id := fa_cache_pkg.fazcbc_record.accounting_flex_structure;
564:
565: l_calendar_period_close_date :=

Line 562: l_book_class := fa_cache_pkg.fazcbc_record.book_class;

558: end if;
559:
560: l_ledger_id := fa_cache_pkg.fazcbc_record.set_of_books_id;
561: l_date_ineffective := fa_cache_pkg.fazcbc_record.date_ineffective;
562: l_book_class := fa_cache_pkg.fazcbc_record.book_class;
563: l_coa_id := fa_cache_pkg.fazcbc_record.accounting_flex_structure;
564:
565: l_calendar_period_close_date :=
566: fa_cache_pkg.fazcdp_record.calendar_period_close_date ;

Line 563: l_coa_id := fa_cache_pkg.fazcbc_record.accounting_flex_structure;

559:
560: l_ledger_id := fa_cache_pkg.fazcbc_record.set_of_books_id;
561: l_date_ineffective := fa_cache_pkg.fazcbc_record.date_ineffective;
562: l_book_class := fa_cache_pkg.fazcbc_record.book_class;
563: l_coa_id := fa_cache_pkg.fazcbc_record.accounting_flex_structure;
564:
565: l_calendar_period_close_date :=
566: fa_cache_pkg.fazcdp_record.calendar_period_close_date ;
567:

Line 566: fa_cache_pkg.fazcdp_record.calendar_period_close_date ;

562: l_book_class := fa_cache_pkg.fazcbc_record.book_class;
563: l_coa_id := fa_cache_pkg.fazcbc_record.accounting_flex_structure;
564:
565: l_calendar_period_close_date :=
566: fa_cache_pkg.fazcdp_record.calendar_period_close_date ;
567:
568: IF l_date_ineffective IS NOT NULL THEN
569: DebugLog('Ineffective book ',p_book_type_code);
570: raise fa_ineffective_book;

Line 601: greatest(nvl(fa_cache_pkg.fazcdp_record.calendar_period_open_date,

597:
598: IF (l_def_dpis_enabled = 0) THEN /* For Future Dated Txns */
599: DebugLog ( 'Get Default DPIS for ', p_book_type_code );
600: l_def_dpis_dt :=
601: greatest(nvl(fa_cache_pkg.fazcdp_record.calendar_period_open_date,
602: sysdate),
603: least(sysdate,
604: nvl(fa_cache_pkg.fazcdp_record.calendar_period_close_date, sysdate)));
605:

Line 604: nvl(fa_cache_pkg.fazcdp_record.calendar_period_close_date, sysdate)));

600: l_def_dpis_dt :=
601: greatest(nvl(fa_cache_pkg.fazcdp_record.calendar_period_open_date,
602: sysdate),
603: least(sysdate,
604: nvl(fa_cache_pkg.fazcdp_record.calendar_period_close_date, sysdate)));
605:
606: END IF;
607:
608:

Line 624: if not fa_cache_pkg.fazcdp (x_book_type_code => p_book_type_code ) THEN

620: END IF;
621:
622:
623: -- Call the cache pkg to fetch the calendar_period_close_date
624: if not fa_cache_pkg.fazcdp (x_book_type_code => p_book_type_code ) THEN
625: DebugLog('Unable to find valid depreciation information ',p_book_type_code );
626: raise fa_ineffective_book;
627: end if;
628: