DBA Data[Home] [Help]

APPS.FA_INVOICE_PVT dependencies on FA_CACHE_PKG

Line 20: g_print_debug boolean := fa_cache_pkg.fa_print_debug;

16: TYPE payables_cost_tbl_type IS TABLE OF payables_cost_rec_type index by binary_integer;
17:
18: -- private prottypes
19:
20: g_print_debug boolean := fa_cache_pkg.fa_print_debug;
21:
22: FUNCTION inv_calc_info
23: (p_asset_hdr_rec IN FA_API_TYPES.asset_hdr_rec_type,
24: p_asset_type_rec IN FA_API_TYPES.asset_type_rec_type,

Line 99: l_sob_tbl FA_CACHE_PKG.fazcrsob_sob_tbl_type;

95:
96: l_count number;
97:
98: -- mrc checks
99: l_sob_tbl FA_CACHE_PKG.fazcrsob_sob_tbl_type;
100: l_reporting_flag varchar2(1);
101: l_mrc_rate_found_count number := 0;
102: l_mrc_rate_index number := 0;
103: l_mrc_fin_book_rec number := 0;

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

144: fnd_profile.get('GL_SET_OF_BKS_ID', G_profile_set_of_books_id);
145: G_orig_currency_context := SUBSTRB(USERENV('CLIENT_INFO'),45,10);
146: fnd_profile.put('GL_SET_OF_BKS_ID', px_asset_hdr_rec.set_of_books_id);
147:
148: if (fa_cache_pkg.fazcbc_record.mc_source_flag = 'Y') then
149:
150: -- call the sob cache to get the table of sob_ids
151: if not FA_CACHE_PKG.fazcrsob
152: (x_book_type_code => px_asset_hdr_rec.book_type_code,

Line 151: if not FA_CACHE_PKG.fazcrsob

147:
148: if (fa_cache_pkg.fazcbc_record.mc_source_flag = 'Y') then
149:
150: -- call the sob cache to get the table of sob_ids
151: if not FA_CACHE_PKG.fazcrsob
152: (x_book_type_code => px_asset_hdr_rec.book_type_code,
153: x_sob_tbl => l_sob_tbl) then
154: raise error_found;
155: end if;

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

796: 'entering',
797: 'ALC logic');
798: end if;
799:
800: if (fa_cache_pkg.fazcbc_record.mc_source_flag = 'Y') then
801:
802: if (g_print_debug) then
803: fa_debug_pkg.add(l_calling_fn,
804: 'px_inv_tbl(l_row_count + 1).inv_rate_tbl.count',

Line 831: if NOT fa_cache_pkg.fazcbcs(X_book => px_asset_hdr_rec.book_type_code) then

827:
828: -- BUG# 2632955
829: -- call the cache to set the sob_id used for rounding and other lower
830: -- level code for each book.
831: if NOT fa_cache_pkg.fazcbcs(X_book => px_asset_hdr_rec.book_type_code) then
832: raise error_found;
833: end if;
834:
835: l_asset_hdr_rec.set_of_books_id := l_sob_tbl(l_sob_index);

Line 1253: if NOT fa_cache_pkg.fazcbcs(X_book => px_asset_hdr_rec.book_type_code) then

1249: fnd_profile.put('GL_SET_OF_BKS_ID', px_asset_hdr_rec.set_of_books_id);
1250: fnd_client_info.set_currency_context(to_char(px_asset_hdr_rec.set_of_books_id));
1251:
1252: -- call the cache to reset the sob_id for the primary book
1253: if NOT fa_cache_pkg.fazcbcs(X_book => px_asset_hdr_rec.book_type_code) then
1254: raise error_found;
1255: end if;
1256:
1257: end if; -- end mrc enabled book

Line 1290: if NOT fa_cache_pkg.fazcbcs(X_book => px_asset_hdr_rec.book_type_code) then

1286: fnd_client_info.set_currency_context (G_orig_currency_context);
1287:
1288: -- BUG# 2632955
1289: -- call the cache to reset the sob_id for the primary book
1290: if NOT fa_cache_pkg.fazcbcs(X_book => px_asset_hdr_rec.book_type_code) then
1291: raise error_found;
1292: end if;
1293:
1294: return true;

Line 1691: l_sob_tbl FA_CACHE_PKG.fazcrsob_sob_tbl_type;

1687:
1688: i number;
1689: l_adj fa_adjust_type_pkg.fa_adj_row_struct;
1690: sob_processed_tbl num_tbl;
1691: l_sob_tbl FA_CACHE_PKG.fazcrsob_sob_tbl_type;
1692: l_sob_index number;
1693:
1694: l_calling_fn varchar2(35) := 'fa_inv_pvt.post_clearing';
1695:

Line 1703: l_adj.period_counter_created := fa_cache_pkg.fazcbc_record.last_period_counter + 1;

1699:
1700: l_adj.transaction_header_id := p_trans_rec.transaction_header_id;
1701: l_adj.asset_id := p_asset_hdr_rec.asset_id;
1702: l_adj.book_type_code := p_asset_hdr_rec.book_type_code;
1703: l_adj.period_counter_created := fa_cache_pkg.fazcbc_record.last_period_counter + 1;
1704: l_adj.period_counter_adjusted := fa_cache_pkg.fazcbc_record.last_period_counter + 1;
1705: l_adj.current_units := p_asset_desc_rec.current_units ;
1706: l_adj.selection_mode := FA_ADJUST_TYPE_PKG.FA_AJ_ACTIVE;
1707: l_adj.selection_thid := 0;

Line 1704: l_adj.period_counter_adjusted := fa_cache_pkg.fazcbc_record.last_period_counter + 1;

1700: l_adj.transaction_header_id := p_trans_rec.transaction_header_id;
1701: l_adj.asset_id := p_asset_hdr_rec.asset_id;
1702: l_adj.book_type_code := p_asset_hdr_rec.book_type_code;
1703: l_adj.period_counter_created := fa_cache_pkg.fazcbc_record.last_period_counter + 1;
1704: l_adj.period_counter_adjusted := fa_cache_pkg.fazcbc_record.last_period_counter + 1;
1705: l_adj.current_units := p_asset_desc_rec.current_units ;
1706: l_adj.selection_mode := FA_ADJUST_TYPE_PKG.FA_AJ_ACTIVE;
1707: l_adj.selection_thid := 0;
1708: l_adj.selection_retid := 0;

Line 1778: if not FA_CACHE_PKG.fazcrsob

1774: l_adj.transaction_header_id := p_trans_rec.transaction_header_id;
1775:
1776:
1777: -- call the sob cache to get the table of sob_ids
1778: if not FA_CACHE_PKG.fazcrsob
1779: (x_book_type_code => p_asset_hdr_rec.book_type_code,
1780: x_sob_tbl => l_sob_tbl) then
1781: raise error_found;
1782: end if;