137: for i in 1..l_thid.count loop
138:
139: --Added for bug# 5213257
140: fnd_profile.put('GL_SET_OF_BKS_ID', l_set_of_books_id(i));
141: fnd_client_info.set_currency_context (l_set_of_books_id(i));
142:
143: -- call the cache
144: if not (fa_cache_pkg.fazcbc(x_book => l_book_type_code(i))) then
145: raise error_found;
187: end if;
188:
189: /* commented for bug# 5213257
190: fnd_profile.put('GL_SET_OF_BKS_ID', l_set_of_books_id(i));
191: fnd_client_info.set_currency_context (l_set_of_books_id(i)); */
192:
193: l_sum_payables_cost := 0;
194:
195: -- process invoices first
464: for i in 1..l_thid.count loop
465:
466: -- Added for bug# 5213257
467: fnd_profile.put('GL_SET_OF_BKS_ID', l_set_of_books_id(i));
468: fnd_client_info.set_currency_context (l_set_of_books_id(i));
469:
470: -- call the cache
471: if not (fa_cache_pkg.fazcbc(x_book => l_book_type_code(i))) then
472: raise error_found;
511: end if;
512:
513: /* commented for bug# 5213257
514: fnd_profile.put('GL_SET_OF_BKS_ID', l_set_of_books_id(i));
515: fnd_client_info.set_currency_context (l_set_of_books_id(i)); */
516:
517: l_sum_payables_cost := 0;
518:
519: -- process invoices first
1017:
1018: for i in 1..l_transaction_header_id_tbl.count loop
1019:
1020: fnd_profile.put('GL_SET_OF_BKS_ID', l_set_of_books_id_tbl(i));
1021: fnd_client_info.set_currency_context (l_set_of_books_id_tbl(i));
1022:
1023: -- call the cache
1024: if not (fa_cache_pkg.fazcbc(x_book => l_book_type_code_tbl(i))) then
1025: raise error_found;
1422:
1423: for i in 1..l_transaction_header_id_tbl.count loop
1424:
1425: fnd_profile.put('GL_SET_OF_BKS_ID', l_set_of_books_id_tbl(i));
1426: fnd_client_info.set_currency_context (l_set_of_books_id_tbl(i));
1427:
1428: -- call the cache
1429: if not (fa_cache_pkg.fazcbc(x_book => l_book_type_code_tbl(i))) then
1430: raise error_found;