DBA Data[Home] [Help]

APPS.FA_MASSADD_PKG dependencies on FA_CACHE_PKG

Line 688: if NOT fa_cache_pkg.fazcbc(X_book => p_book_type_code, p_log_level_rec => g_log_level_rec) then

684: end if;
685: end if;
686:
687: -- call the book_controls cache
688: if NOT fa_cache_pkg.fazcbc(X_book => p_book_type_code, p_log_level_rec => g_log_level_rec) then
689: raise error_found;
690: end if;
691:
692: l_batch_size := nvl(fa_cache_pkg.fa_batch_size, 200);

Line 692: l_batch_size := nvl(fa_cache_pkg.fa_batch_size, 200);

688: if NOT fa_cache_pkg.fazcbc(X_book => p_book_type_code, p_log_level_rec => g_log_level_rec) then
689: raise error_found;
690: end if;
691:
692: l_batch_size := nvl(fa_cache_pkg.fa_batch_size, 200);
693:
694: -- values that remain constant for all lines
695: l_asset_hdr_rec.book_type_code := p_book_type_code;
696: l_asset_hdr_rec.set_of_books_id := fa_cache_pkg.fazcbc_record.set_of_books_id;

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

692: l_batch_size := nvl(fa_cache_pkg.fa_batch_size, 200);
693:
694: -- values that remain constant for all lines
695: l_asset_hdr_rec.book_type_code := p_book_type_code;
696: l_asset_hdr_rec.set_of_books_id := fa_cache_pkg.fazcbc_record.set_of_books_id;
697: l_inv_trans_rec.transaction_type := 'MASS ADDITION';
698: l_trans_rec.calling_interface := 'FAMAPT';
699: l_dist_trans_rec.calling_interface := 'FAMAPT';
700: l_trans_rec.mass_reference_id := p_parent_request_id;

Line 1131: if (nvl(fa_cache_pkg.fazcbc_record.mc_source_flag, 'N') = 'Y') then

1127: -- place the main invoice in the array
1128: l_inv_tbl(l_inv_indicator) := l_inv_rec;
1129:
1130: -- load the rates for the main/parent invoice
1131: if (nvl(fa_cache_pkg.fazcbc_record.mc_source_flag, 'N') = 'Y') then
1132: open c_mass_rates (p_massadd_id => l_mass_addition_id_tbl(i));
1133: fetch c_mass_rates bulk collect
1134: into l_set_of_books_id_tbl,
1135: l_exchange_rate_tbl,

Line 1244: if (fa_cache_pkg.fazcbc_record.mc_source_flag = 'Y') then

1240: -- append to the existing row(s) in the table of invoices (always + 1)
1241: l_inv_tbl(l_inv_indicator + 1) := l_inv_rec;
1242:
1243: -- process mrc rates for the children
1244: if (fa_cache_pkg.fazcbc_record.mc_source_flag = 'Y') then
1245: open c_mass_rates(p_massadd_id => l_inv_rec.asset_invoice_id);
1246: fetch c_mass_rates bulk collect
1247: into l_set_of_books_id_tbl ,
1248: l_exchange_rate_tbl,

Line 2417: if not fa_cache_pkg.fazcbc(X_book => p_book_type_code, p_log_level_rec => g_log_level_rec) then

2413:
2414: x_return_status := 0;
2415:
2416: -- get corp book information
2417: if not fa_cache_pkg.fazcbc(X_book => p_book_type_code, p_log_level_rec => g_log_level_rec) then
2418: raise massadd_err;
2419: end if;
2420:
2421: l_batch_size := nvl(fa_cache_pkg.fa_batch_size, 200);

Line 2421: l_batch_size := nvl(fa_cache_pkg.fa_batch_size, 200);

2417: if not fa_cache_pkg.fazcbc(X_book => p_book_type_code, p_log_level_rec => g_log_level_rec) then
2418: raise massadd_err;
2419: end if;
2420:
2421: l_batch_size := nvl(fa_cache_pkg.fa_batch_size, 200);
2422:
2423: -- get corp period info
2424: if not FA_UTIL_PVT.get_period_rec
2425: (p_book => p_book_type_code,

Line 2426: p_period_counter => fa_cache_pkg.fazcbc_record.last_period_counter + 1,

2422:
2423: -- get corp period info
2424: if not FA_UTIL_PVT.get_period_rec
2425: (p_book => p_book_type_code,
2426: p_period_counter => fa_cache_pkg.fazcbc_record.last_period_counter + 1,
2427: x_period_rec => l_period_rec
2428: , p_log_level_rec => g_log_level_rec) then
2429: raise massadd_err;
2430: end if;

Line 2435: p_period_counter => fa_cache_pkg.fazcbc_record.last_period_counter + 1,

2431:
2432: -- get corp period info
2433: if not FA_UTIL_PVT.get_period_rec
2434: (p_book => p_book_type_code,
2435: p_period_counter => fa_cache_pkg.fazcbc_record.last_period_counter + 1,
2436: x_period_rec => l_period_rec
2437: , p_log_level_rec => g_log_level_rec) then
2438: raise massadd_err;
2439: end if;

Line 2536: if nvl(fa_cache_pkg.fazcbc_record.allow_group_deprn_flag, 'N') = 'Y' then

2532:
2533: if (p_mode = 'NORMAL') then
2534:
2535: -- update group asset information if we're not copying from corp
2536: if nvl(fa_cache_pkg.fazcbc_record.allow_group_deprn_flag, 'N') = 'Y' then
2537:
2538: update fa_mass_additions mad
2539: set group_asset_id =
2540: (select cbd.group_asset_id

Line 2589: if nvl(fa_cache_pkg.fazcbc_record.allow_group_deprn_flag, 'N') = 'Y' then

2585:
2586: else
2587:
2588: -- update group asset information if we're not copying from corp
2589: if nvl(fa_cache_pkg.fazcbc_record.allow_group_deprn_flag, 'N') = 'Y' then
2590:
2591: update fa_mass_additions mad
2592: set group_asset_id =
2593: (select cbd.group_asset_id