DBA Data[Home] [Help]

APPS.FA_INVOICE_PVT dependencies on FND_PROFILE

Line 144: fnd_profile.get('GL_SET_OF_BKS_ID', G_profile_set_of_books_id);

140:
141: -- store the current profile value and then use the definitive value
142: -- for the book in question and check whether this is a reporting book.
143:
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

Line 146: fnd_profile.put('GL_SET_OF_BKS_ID', px_asset_hdr_rec.set_of_books_id);

142: -- for the book in question and check whether this is a reporting book.
143:
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

Line 825: fnd_profile.put('GL_SET_OF_BKS_ID', l_sob_tbl(l_sob_index));

821: end if;
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

Line 1249: fnd_profile.put('GL_SET_OF_BKS_ID', px_asset_hdr_rec.set_of_books_id);

1245: end loop; -- end mrc sob loop
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

Line 1285: fnd_profile.put('GL_SET_OF_BKS_ID', G_profile_set_of_books_id);

1281: end if;
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

Line 1301: fnd_profile.put('GL_SET_OF_BKS_ID', G_profile_set_of_books_id);

1297: when error_found then
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:

Line 1310: fnd_profile.put('GL_SET_OF_BKS_ID', G_profile_set_of_books_id);

1306: when others then
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:

Line 1726: fnd_profile.put('GL_SET_OF_BKS_ID', G_profile_set_of_books_id);

1722: else
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

Line 1794: fnd_profile.put('GL_SET_OF_BKS_ID', l_sob_tbl(l_sob_index));

1790:
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:

Line 1848: fnd_profile.put('GL_SET_OF_BKS_ID', G_profile_set_of_books_id);

1844: l_adj.transaction_header_id := p_trans_rec.transaction_header_id;
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:

Line 1855: fnd_profile.put('GL_SET_OF_BKS_ID', G_profile_set_of_books_id);

1851: return true;
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:

Line 1861: fnd_profile.put('GL_SET_OF_BKS_ID', G_profile_set_of_books_id);

1857: fa_srvr_msg.add_message(calling_fn => 'fa_invoice_pvt.post_clearing');
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: