DBA Data[Home] [Help]

APPS.FA_DISTRIBUTION_PVT dependencies on FA_CACHE_PKG

Line 4: g_release number := fa_cache_pkg.fazarel_release;

1: PACKAGE BODY FA_DISTRIBUTION_PVT AS
2: /* $Header: FAVDISTB.pls 120.34.12020000.3 2013/02/04 11:18:40 adaluru ship $ */
3:
4: g_release number := fa_cache_pkg.fazarel_release;
5:
6: FUNCTION do_distribution(
7: px_trans_rec IN OUT NOCOPY FA_API_TYPES.trans_rec_type,
8: px_asset_hdr_rec IN OUT NOCOPY FA_API_TYPES.asset_hdr_rec_type,

Line 181: if not FA_CACHE_PKG.fazcbc(X_book => l_book

177: ,p_log_level_rec => p_log_level_rec) then
178: raise error_found;
179: end if;
180:
181: if not FA_CACHE_PKG.fazcbc(X_book => l_book
182: ,p_log_level_rec => p_log_level_rec) then
183: fa_srvr_msg.add_message(calling_fn => 'FA_DISTRIBUTION_PVT.do_distribution'
184: ,p_log_level_rec => p_log_level_rec);
185: raise error_found;

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

240: raise error_found;
241: end if;
242:
243: /*Bug#8478435 - set_of_books_id issue - POST MRC change */
244: l_asset_hdr_rec.set_of_books_id := fa_cache_pkg.fazcbc_record.set_of_books_id;
245: -- SLA UPTAKE
246: -- assign an event for the transaction
247: -- at this point key info asset/book/trx info is known from initialize
248: -- call and the above code (i.e. trx_type, etc)

Line 350: l_primary_sob_id := fa_cache_pkg.fazcbc_record.set_of_books_id;

346:
347: -- R12 conditional handling
348: if (px_asset_hdr_rec.period_of_addition = 'Y' and
349: G_release = 11) then
350: l_primary_sob_id := fa_cache_pkg.fazcbc_record.set_of_books_id;
351: -- loop thru primary and its reporting books
352: for c_rec in n_sob_id(l_primary_sob_id, px_asset_hdr_rec.book_type_code) loop
353: if c_rec.index_id = 1 then
354: l_mrc_sob_type_code := 'P';

Line 360: if NOT fa_cache_pkg.fazcbcs(X_book => l_asset_hdr_rec.book_type_code,

356: l_mrc_sob_type_code := 'R';
357: end if;
358:
359: -- Bug:5915051
360: if NOT fa_cache_pkg.fazcbcs(X_book => l_asset_hdr_rec.book_type_code,
361: X_set_of_books_id => c_rec.sob_id) then
362: return FALSE;
363: end if;
364:

Line 385: l_current_pc := FA_CACHE_PKG.fazcbc_record.last_period_counter + 1;

381: end if;
382: end loop;
383: end if;
384:
385: l_current_pc := FA_CACHE_PKG.fazcbc_record.last_period_counter + 1;
386:
387: if not FA_TRANSFER_XIT_PKG.fautfr(
388: X_thid => l_trans_rec.transaction_header_id,
389: X_asset_id => l_asset_hdr_rec.asset_id,

Line 474: if not FA_CACHE_PKG.fazcbc(X_book => px_asset_hdr_rec.book_type_code

470:
471: close c_books;
472:
473: -- reset cache to incoming corp book instead of last tax
474: if not FA_CACHE_PKG.fazcbc(X_book => px_asset_hdr_rec.book_type_code
475: ,p_log_level_rec => p_log_level_rec) then
476: fa_srvr_msg.add_message(calling_fn => 'FA_DISTRIBUTION_PVT.do_distribution'
477: ,p_log_level_rec => p_log_level_rec);
478: raise error_found;

Line 748: nvl(fa_cache_pkg.fazcbc_record.allow_interco_group_flag, 'N') <> 'Y') then

744:
745: x_total_txn_units := l_tot_txn;
746:
747: if (p_trans_rec.transaction_type_code in ('TRANSFER', 'UNIT ADJUSTMENT') and
748: nvl(fa_cache_pkg.fazcbc_record.allow_interco_group_flag, 'N') <> 'Y') then
749:
750: if not FA_UTIL_PVT.get_asset_type_rec(p_asset_hdr_rec,
751: l_asset_type_rec_old, p_log_level_rec => p_log_level_rec) then
752: fa_srvr_msg.add_message(calling_fn => 'FA_DISTRIBUTION_PVT.do_validation', p_log_level_rec => p_log_level_rec);

Line 843: if not FA_CACHE_PKG.fazcbc(X_book => p_asset_hdr_rec.book_type_code, p_log_level_rec => p_log_level_rec) then

839: return FALSE;
840: end if;
841: end if;
842:
843: if not FA_CACHE_PKG.fazcbc(X_book => p_asset_hdr_rec.book_type_code, p_log_level_rec => p_log_level_rec) then
844: return FALSE;
845: else
846: l_gl_chart_id := FA_CACHE_PKG.fazcbc_record.accounting_flex_structure;
847: end if;

Line 846: l_gl_chart_id := FA_CACHE_PKG.fazcbc_record.accounting_flex_structure;

842:
843: if not FA_CACHE_PKG.fazcbc(X_book => p_asset_hdr_rec.book_type_code, p_log_level_rec => p_log_level_rec) then
844: return FALSE;
845: else
846: l_gl_chart_id := FA_CACHE_PKG.fazcbc_record.accounting_flex_structure;
847: end if;
848:
849: -- validate expense ccid
850: if not FA_ASSET_VAL_PVT.validate_expense_ccid(p_asset_dist_tbl(p_curr_index).expense_ccid,

Line 1181: if not fa_cache_pkg.fazcat(p_asset_cat_rec_new.category_id, p_log_level_rec => p_log_level_rec) then

1177: last_updated_by = p_trans_rec.who_info.last_updated_by
1178: where asset_id = p_asset_hdr_rec.asset_id;
1179:
1180: elsif (p_trans_rec.transaction_type_code = 'RECLASS') then
1181: if not fa_cache_pkg.fazcat(p_asset_cat_rec_new.category_id, p_log_level_rec => p_log_level_rec) then
1182: return FALSE;
1183: end if;
1184:
1185: -- Bug 3148518 : Assign context with context value not attribute_category_code

Line 1189: property_type_code = fa_cache_pkg.fazcat_record.property_type_code,

1185: -- Bug 3148518 : Assign context with context value not attribute_category_code
1186:
1187: update fa_additions_b
1188: set asset_category_id = p_asset_cat_rec_new.category_id,
1189: property_type_code = fa_cache_pkg.fazcat_record.property_type_code,
1190: property_1245_1250_code = fa_cache_pkg.fazcat_record.property_1245_1250_code,
1191: owned_leased = fa_cache_pkg.fazcat_record.owned_leased,
1192: attribute1 = p_asset_cat_rec_new.desc_flex.attribute1,
1193: attribute2 = p_asset_cat_rec_new.desc_flex.attribute2,

Line 1190: property_1245_1250_code = fa_cache_pkg.fazcat_record.property_1245_1250_code,

1186:
1187: update fa_additions_b
1188: set asset_category_id = p_asset_cat_rec_new.category_id,
1189: property_type_code = fa_cache_pkg.fazcat_record.property_type_code,
1190: property_1245_1250_code = fa_cache_pkg.fazcat_record.property_1245_1250_code,
1191: owned_leased = fa_cache_pkg.fazcat_record.owned_leased,
1192: attribute1 = p_asset_cat_rec_new.desc_flex.attribute1,
1193: attribute2 = p_asset_cat_rec_new.desc_flex.attribute2,
1194: attribute3 = p_asset_cat_rec_new.desc_flex.attribute3,

Line 1191: owned_leased = fa_cache_pkg.fazcat_record.owned_leased,

1187: update fa_additions_b
1188: set asset_category_id = p_asset_cat_rec_new.category_id,
1189: property_type_code = fa_cache_pkg.fazcat_record.property_type_code,
1190: property_1245_1250_code = fa_cache_pkg.fazcat_record.property_1245_1250_code,
1191: owned_leased = fa_cache_pkg.fazcat_record.owned_leased,
1192: attribute1 = p_asset_cat_rec_new.desc_flex.attribute1,
1193: attribute2 = p_asset_cat_rec_new.desc_flex.attribute2,
1194: attribute3 = p_asset_cat_rec_new.desc_flex.attribute3,
1195: attribute4 = p_asset_cat_rec_new.desc_flex.attribute4,