DBA Data[Home] [Help]

APPS.FA_DEFERRED_DEPRN_PKG dependencies on FA_CACHE_PKG

Line 320: if NOT fa_cache_pkg.fazcbc(X_book => p_tax_book) then

316: 'Beginning of procedure');
317: END IF;
318:
319: -- call the book_controls cache
320: if NOT fa_cache_pkg.fazcbc(X_book => p_tax_book) then
321: raise error_found;
322: end if;
323:
324: l_batch_size := nvl(fa_cache_pkg.fa_batch_size, 200);

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

320: if NOT fa_cache_pkg.fazcbc(X_book => p_tax_book) then
321: raise error_found;
322: end if;
323:
324: l_batch_size := nvl(fa_cache_pkg.fa_batch_size, 200);
325:
326:
327:
328: IF (G_LEVEL_STATEMENT >= G_CURRENT_RUNTIME_LEVEL ) THEN

Line 672: l_sob_tbl FA_CACHE_PKG.fazcrsob_sob_tbl_type;

668: l_asset_id_tbl FA_XLA_EVENTS_PVT.number_tbl_type;
669: l_rowid_tbl rowid_tbl_type;
670: l_event_id_tbl FA_XLA_EVENTS_PVT.number_tbl_type;
671:
672: l_sob_tbl FA_CACHE_PKG.fazcrsob_sob_tbl_type;
673:
674: cursor c_deferred_events is
675: select asset_id, min(rowid)
676: from fa_deferred_deprn

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

708: G_MODULE_NAME||l_procedure_name||'.begin',
709: 'Beginning of procedure');
710: END IF;
711:
712: l_batch_size := nvl(fa_cache_pkg.fa_batch_size, 200);
713:
714: if not FA_UTIL_PVT.get_period_rec
715: (p_book => p_corp_book,
716: p_period_counter => p_corp_period_counter,

Line 729: if not fa_cache_pkg.fazcbc(X_book => p_corp_book) then

725: G_MODULE_NAME||l_procedure_name,
726: 'opening c_deferred_events');
727: END IF;
728:
729: if not fa_cache_pkg.fazcbc(X_book => p_corp_book) then
730: raise error_found;
731: end if;
732:
733: open c_deferred_events;

Line 851: if not FA_CACHE_PKG.fazcrsob

847:
848: close c_deferred_events;
849:
850: -- now find any mrc rows which are not processed yet and update
851: if not FA_CACHE_PKG.fazcrsob
852: (x_book_type_code => p_corp_book,
853: x_sob_tbl => l_sob_tbl) then
854: raise error_found;
855: end if;

Line 972: if not fa_cache_pkg.fazcbc(X_book => p_tax_book) then

968: END LOOP; -- sob loop
969:
970: commit;
971:
972: if not fa_cache_pkg.fazcbc(X_book => p_tax_book) then
973: raise error_found;
974: end if;
975:
976: IF (G_LEVEL_PROCEDURE >= G_CURRENT_RUNTIME_LEVEL ) THEN

Line 1047: if not fa_cache_pkg.fazcbc(X_book => p_tax_book_type_code) then

1043: G_MODULE_NAME||l_procedure_name||'.begin',
1044: 'Beginning of procedure');
1045: END IF;
1046:
1047: if not fa_cache_pkg.fazcbc(X_book => p_tax_book_type_code) then
1048: raise error_found;
1049: end if;
1050:
1051: if (not g_log_level_rec.initialized) then

Line 1077: fa_cache_pkg.fazcbc_record.distribution_source_book

1073: select period_counter
1074: into l_corp_period_counter
1075: from fa_deprn_periods
1076: where book_type_code =
1077: fa_cache_pkg.fazcbc_record.distribution_source_book
1078: and period_name = p_corp_period_name;
1079:
1080: exception
1081: when others then

Line 1096: fa_cache_pkg.fazcbc_record.distribution_source_book

1092: into l_deferred_exists_count
1093: from fa_deferred_deprn
1094: where tax_book_type_code = p_tax_book_type_code
1095: and corp_book_type_code =
1096: fa_cache_pkg.fazcbc_record.distribution_source_book
1097: and tax_period_counter = l_tax_period_counter
1098: and corp_period_counter = l_tax_period_counter
1099: and rownum = 1;
1100:

Line 1121: if not fa_cache_pkg.fazcsob

1117:
1118: fnd_profile.put('GL_SET_OF_BKS_ID', c_rec.set_of_books_id);
1119: fnd_client_info.set_currency_context (c_rec.set_of_books_id);
1120:
1121: if not fa_cache_pkg.fazcsob
1122: (X_set_of_books_id => c_rec.set_of_books_id,
1123: X_mrc_sob_type_code => l_reporting_flag
1124: ) then
1125: raise error_found;

Line 1135: (p_corp_book => fa_cache_pkg.fazcbc_record.distribution_source_book,

1131: 'calling deferred_deprn');
1132: END IF;
1133:
1134: deferred_deprn
1135: (p_corp_book => fa_cache_pkg.fazcbc_record.distribution_source_book,
1136: p_tax_book => p_tax_book_type_code,
1137: p_corp_period_ctr => l_corp_period_counter,
1138: p_tax_period_ctr => l_tax_period_counter,
1139: p_mrc_sob_type_code => l_reporting_flag,

Line 1153: p_corp_book => fa_cache_pkg.fazcbc_record.distribution_source_book,

1149:
1150: -- now process the events
1151: create_bulk_deferred_events
1152: (p_tax_book => p_tax_book_type_code,
1153: p_corp_book => fa_cache_pkg.fazcbc_record.distribution_source_book,
1154: p_tax_period_counter => l_tax_period_counter,
1155: p_corp_period_counter => l_corp_period_counter);
1156:
1157: IF (G_LEVEL_PROCEDURE >= G_CURRENT_RUNTIME_LEVEL ) THEN