DBA Data[Home] [Help]

APPS.FA_CIP_PVT dependencies on FA_CACHE_PKG

Line 4: g_print_debug boolean := fa_cache_pkg.fa_print_debug;

1: PACKAGE BODY FA_CIP_PVT as
2: /* $Header: FAVCIPB.pls 120.21.12010000.4 2008/12/19 17:09:13 hhafid ship $ */
3:
4: g_print_debug boolean := fa_cache_pkg.fa_print_debug;
5: g_cap_event_id number;
6: g_cap_thid number;
7: g_event_status varchar2(1);
8:

Line 211: if (nvl(fa_cache_pkg.fazccbd_record.subcomponent_life_rule, 'NULL') <> 'NULL' and

207: --fazccbd should have been called in the public api.
208: --Contrary to comments above, child life is not derived in calc_fin_info
209: --and it does not make sense to do it there for this purpose anyway.
210: */
211: if (nvl(fa_cache_pkg.fazccbd_record.subcomponent_life_rule, 'NULL') <> 'NULL' and
212: nvl(p_asset_desc_rec.parent_asset_id, -99) <> -99) then
213:
214: if not FA_ASSET_CALC_PVT.calc_subcomp_life
215: (p_trans_rec => px_trans_rec,

Line 226: end if; -- (nvl(fa_cache_pkg.fazccbd_recor ...

222: p_log_level_rec => p_log_level_rec
223: ) then
224: raise cap_rev_err;
225: end if;
226: end if; -- (nvl(fa_cache_pkg.fazccbd_recor ...
227:
228: if (p_log_level_rec.statement_level) then
229: fa_debug_pkg.add(l_calling_fn, 'after calc_subcomp_life', l_asset_fin_rec_new.life_in_months
230: ,p_log_level_rec => p_log_level_rec);

Line 344: (p_ledger_id => fa_cache_pkg.fazcbc_record.set_of_books_id,

340: -- now handle event impacts
341: -- create the event for the transaction
342:
343: if not fa_xla_events_pvt.delete_transaction_event
344: (p_ledger_id => fa_cache_pkg.fazcbc_record.set_of_books_id,
345: p_transaction_header_id => g_cap_thid,
346: p_book_type_code => p_asset_hdr_rec.book_type_code,
347: p_calling_fn => l_calling_fn
348: ,p_log_level_rec => p_log_level_rec) then

Line 413: if (fa_cache_pkg.fazcbc_record.book_class = 'CORPORATE') then

409: X_Return_Status => l_status,
410: X_Calling_Fn => l_calling_fn
411: ,p_log_level_rec => p_log_level_rec);
412:
413: if (fa_cache_pkg.fazcbc_record.book_class = 'CORPORATE') then
414:
415: if (p_log_level_rec.statement_level) then
416: fa_debug_pkg.add(l_calling_fn,
417: 'calling ah update_row, thid out',px_trans_rec.transaction_header_id

Line 619: if (fa_cache_pkg.fazcbc_record.book_class = 'CORPORATE') then

615: /* Code added for 6748832 */
616:
617: if (p_mrc_sob_type_code <> 'R') then
618:
619: if (fa_cache_pkg.fazcbc_record.book_class = 'CORPORATE') then
620:
621: if (p_log_level_rec.statement_level) then
622: fa_debug_pkg.add(l_calling_fn,
623: 'calling ad update_row',''

Line 849: l_adj.account := fa_cache_pkg.fazccb_record.asset_cost_acct;

845: -- cost first
846: l_adj.flush_adj_flag := TRUE; -- ??
847: l_adj.adjustment_type := 'COST';
848: l_adj.debit_credit_flag := 'DR';
849: l_adj.account := fa_cache_pkg.fazccb_record.asset_cost_acct;
850: l_adj.account_type := 'ASSET_COST_ACCT';
851: l_adj.mrc_sob_type_code := p_mrc_sob_type_code;
852:
853: if not FA_INS_ADJUST_PKG.faxinaj

Line 866: l_adj.account := fa_cache_pkg.fazccb_record.cip_cost_acct;

862: -- cip cost next
863: l_adj.flush_adj_flag := TRUE;
864: l_adj.adjustment_type := 'CIP COST';
865: l_adj.debit_credit_flag := 'CR';
866: l_adj.account := fa_cache_pkg.fazccb_record.cip_cost_acct;
867: l_adj.account_type := 'CIP_COST_ACCT';
868:
869: if not FA_INS_ADJUST_PKG.faxinaj
870: (l_adj,