DBA Data[Home] [Help]

APPS.FA_INVOICE_PVT dependencies on FND_CLIENT_INFO

Line 826: fnd_client_info.set_currency_context(to_char(l_sob_tbl(l_sob_index)));

822:
823:
824:
825: fnd_profile.put('GL_SET_OF_BKS_ID', l_sob_tbl(l_sob_index));
826: fnd_client_info.set_currency_context(to_char(l_sob_tbl(l_sob_index)));
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.

Line 1250: fnd_client_info.set_currency_context(to_char(px_asset_hdr_rec.set_of_books_id));

1246:
1247: -- Bug:5887217
1248: -- reset GL sob id to original value
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;

Line 1286: fnd_client_info.set_currency_context (G_orig_currency_context);

1282: end if;
1283:
1284: -- reset GL sob id to original value
1285: fnd_profile.put('GL_SET_OF_BKS_ID', G_profile_set_of_books_id);
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

Line 1302: fnd_client_info.set_currency_context (G_orig_currency_context);

1298: fa_srvr_msg.add_message(calling_fn => 'fa_invoice_pvt.inv_engine');
1299:
1300: -- reset GL sob id to original value
1301: fnd_profile.put('GL_SET_OF_BKS_ID', G_profile_set_of_books_id);
1302: fnd_client_info.set_currency_context (G_orig_currency_context);
1303:
1304: return false;
1305:
1306: when others then

Line 1311: fnd_client_info.set_currency_context (G_orig_currency_context);

1307: fa_srvr_msg.add_sql_error(calling_fn => 'fa_invoice_pvt.inv_engine');
1308:
1309: -- reset GL sob id to original value
1310: fnd_profile.put('GL_SET_OF_BKS_ID', G_profile_set_of_books_id);
1311: fnd_client_info.set_currency_context (G_orig_currency_context);
1312:
1313: return false;
1314:
1315: END invoice_engine;

Line 1727: fnd_client_info.set_currency_context (G_orig_currency_context);

1723: l_adj.account_type := 'ASSET_CLEARING_ACCT';
1724: end if;
1725:
1726: fnd_profile.put('GL_SET_OF_BKS_ID', G_profile_set_of_books_id);
1727: fnd_client_info.set_currency_context (G_orig_currency_context);
1728:
1729:
1730: -- post the primary rows
1731: for i in 1..p_payables_cost_tbl.count loop

Line 1795: fnd_client_info.set_currency_context(to_char(l_sob_tbl(l_sob_index)));

1791: -- post reporting rows one reporting book at a time
1792: FOR l_sob_index in 1..l_sob_tbl.count LOOP
1793:
1794: fnd_profile.put('GL_SET_OF_BKS_ID', l_sob_tbl(l_sob_index));
1795: fnd_client_info.set_currency_context(to_char(l_sob_tbl(l_sob_index)));
1796:
1797: for i in 1..p_payables_cost_mrc_tbl.count loop
1798:
1799: if (p_payables_cost_mrc_tbl(i).set_of_books_id = l_sob_tbl(l_sob_index)) then

Line 1849: fnd_client_info.set_currency_context (G_orig_currency_context);

1845:
1846: end loop; -- mrc
1847:
1848: fnd_profile.put('GL_SET_OF_BKS_ID', G_profile_set_of_books_id);
1849: fnd_client_info.set_currency_context (G_orig_currency_context);
1850:
1851: return true;
1852:
1853: EXCEPTION

Line 1856: fnd_client_info.set_currency_context (G_orig_currency_context);

1852:
1853: EXCEPTION
1854: when error_found then
1855: fnd_profile.put('GL_SET_OF_BKS_ID', G_profile_set_of_books_id);
1856: fnd_client_info.set_currency_context (G_orig_currency_context);
1857: fa_srvr_msg.add_message(calling_fn => 'fa_invoice_pvt.post_clearing');
1858: return false;
1859:
1860: when others then

Line 1862: fnd_client_info.set_currency_context (G_orig_currency_context);

1858: return false;
1859:
1860: when others then
1861: fnd_profile.put('GL_SET_OF_BKS_ID', G_profile_set_of_books_id);
1862: fnd_client_info.set_currency_context (G_orig_currency_context);
1863: fa_srvr_msg.add_sql_error(calling_fn => 'fa_invoice_pvt.post_clearing');
1864: return false;
1865:
1866: END;