136:
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
186: l_adj.account_type := 'ASSET_CLEARING_ACCT';
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:
463:
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
510: l_adj.account_type := 'ASSET_CLEARING_ACCT';
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:
1016: l_rows_processed := l_transaction_header_id_tbl.count;
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
1421: l_rows_processed := l_transaction_header_id_tbl.count;
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