DBA Data[Home] [Help]

APPS.FA_RETIREMENT_PUB dependencies on FND_CLIENT_INFO

Line 387: fnd_client_info.set_currency_context (to_char(l_asset_hdr_rec.set_of_books_id));

383: -- populate rec_types that were not provided by users
384:
385: -- set the sob_id and currency context
386: fnd_profile.put('GL_SET_OF_BKS_ID', l_asset_hdr_rec.set_of_books_id);
387: fnd_client_info.set_currency_context (to_char(l_asset_hdr_rec.set_of_books_id));
388:
389: -- BUG# 2376085, 2487707
390: -- store the sob_id value for later use.
391: fnd_profile.get ('GL_SET_OF_BKS_ID',l_orig_set_of_books_id);

Line 810: fnd_client_info.set_currency_context (l_orig_currency_context);

806:
807: -- BUG# 2376085, 2487707
808: -- reset GL sob id to original value before moving to next book
809: fnd_profile.put('GL_SET_OF_BKS_ID', l_orig_set_of_books_id);
810: fnd_client_info.set_currency_context (l_orig_currency_context);
811:
812: /* if book is a corporate book, process cip assets and autocopy */
813:
814: -- start processing tax books for cip-in-tax and autocopy

Line 899: fnd_client_info.set_currency_context (l_orig_currency_context);

895:
896: -- BUG# 2376085, 2487707
897: -- reset GL sob id to original value before moving to next book
898: fnd_profile.put('GL_SET_OF_BKS_ID', l_orig_set_of_books_id);
899: fnd_client_info.set_currency_context (l_orig_currency_context);
900:
901: end if;
902:
903: end loop;

Line 973: fnd_client_info.set_currency_context (g_orig_currency_context);

969: );
970:
971: -- set back to original environment when the procedure is finished
972: fnd_profile.put('GL_SET_OF_BKS_ID', g_orig_set_of_books_id);
973: fnd_client_info.set_currency_context (g_orig_currency_context);
974:
975: -- return the status.
976: x_return_status := FND_API.G_RET_STS_SUCCESS;
977:

Line 1003: fnd_client_info.set_currency_context (g_orig_currency_context);

999: ,p_data => x_msg_data
1000: );
1001: -- set back to original environment when the procedure is finished
1002: fnd_profile.put('GL_SET_OF_BKS_ID', g_orig_set_of_books_id);
1003: fnd_client_info.set_currency_context (g_orig_currency_context);
1004:
1005: when FND_API.G_EXC_UNEXPECTED_ERROR then
1006:
1007: ROLLBACK TO do_retirement;

Line 1018: fnd_client_info.set_currency_context (g_orig_currency_context);

1014: ,p_data => x_msg_data
1015: );
1016: -- set back to original environment when the procedure is finished
1017: fnd_profile.put('GL_SET_OF_BKS_ID', g_orig_set_of_books_id);
1018: fnd_client_info.set_currency_context (g_orig_currency_context);
1019:
1020: when others then
1021:
1022: ROLLBACK TO do_retirement;

Line 1033: fnd_client_info.set_currency_context (g_orig_currency_context);

1029: ,p_data => x_msg_data
1030: );
1031: -- set back to original environment when the procedure is finished
1032: fnd_profile.put('GL_SET_OF_BKS_ID', g_orig_set_of_books_id);
1033: fnd_client_info.set_currency_context (g_orig_currency_context);
1034:
1035: END do_retirement;
1036:
1037: FUNCTION do_all_books_retirement

Line 1138: fnd_client_info.set_currency_context(to_char(l_asset_hdr_rec.set_of_books_id));

1134: l_asset_hdr_rec.set_of_books_id := fa_cache_pkg.fazcbc_record.set_of_books_id;
1135:
1136: -- set the sob_id and currency context
1137: fnd_profile.put('GL_SET_OF_BKS_ID', l_asset_hdr_rec.set_of_books_id);
1138: fnd_client_info.set_currency_context(to_char(l_asset_hdr_rec.set_of_books_id));
1139:
1140: -- pop asset_fin_rec
1141: -- get fa_books row where transaction_header_id_out is null
1142: if g_log_level_rec.statement_level then fa_debug_pkg.add(l_calling_fn, 'pop asset_fin_rec', '', p_log_level_rec); end if;

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

1535: if g_log_level_rec.statement_level then fa_debug_pkg.add(l_calling_fn, 'in sob_id loop', '', p_log_level_rec); end if;
1536:
1537: -- set the sob_id and currency context for reporting book(sob)
1538: fnd_profile.put('GL_SET_OF_BKS_ID', l_sob_tbl(l_sob_index));
1539: fnd_client_info.set_currency_context(to_char(l_sob_tbl(l_sob_index)));
1540:
1541: if not fa_cache_pkg.fazcbcs(x_book => l_asset_hdr_rec.book_type_code
1542: ,p_log_level_rec => p_log_level_rec) then
1543: fa_srvr_msg.add_sql_error(calling_fn => l_calling_fn

Line 1677: fnd_client_info.set_currency_context(to_char(l_asset_hdr_rec.set_of_books_id));

1673: -- ***************************
1674:
1675: -- set the sob_id and currency context
1676: fnd_profile.put('GL_SET_OF_BKS_ID', l_asset_hdr_rec.set_of_books_id);
1677: fnd_client_info.set_currency_context(to_char(l_asset_hdr_rec.set_of_books_id));
1678:
1679: -- pop asset_fin_rec
1680: -- get fa_books row where transaction_header_id_out is null
1681: if g_log_level_rec.statement_level then fa_debug_pkg.add(l_calling_fn, 'pop asset_fin_rec', '', p_log_level_rec); end if;

Line 3238: fnd_client_info.set_currency_context (to_char(l_asset_hdr_rec.set_of_books_id));

3234: end if; -- book_type_code
3235:
3236: -- set the sob_id and currency context
3237: fnd_profile.put('GL_SET_OF_BKS_ID', l_asset_hdr_rec.set_of_books_id);
3238: fnd_client_info.set_currency_context (to_char(l_asset_hdr_rec.set_of_books_id));
3239:
3240: -- BUG# 2376085, 2487707
3241: -- store the sob_id value for later use.
3242: fnd_profile.get ('GL_SET_OF_BKS_ID',l_orig_set_of_books_id);

Line 3290: fnd_client_info.set_currency_context (l_orig_currency_context);

3286:
3287: -- BUG# 2376085, 2487707
3288: -- reset GL sob id to original value before moving to next book
3289: fnd_profile.put('GL_SET_OF_BKS_ID', l_orig_set_of_books_id);
3290: fnd_client_info.set_currency_context (l_orig_currency_context);
3291:
3292: /* if book is a corporate book, process cip assets and autocopy */
3293:
3294: -- start processing tax books for cip-in-tax and autocopy

Line 3349: fnd_client_info.set_currency_context (l_orig_currency_context);

3345:
3346: -- BUG# 2376085, 2487707
3347: -- reset GL sob id to original value before moving to next book
3348: fnd_profile.put('GL_SET_OF_BKS_ID', l_orig_set_of_books_id);
3349: fnd_client_info.set_currency_context (l_orig_currency_context);
3350:
3351: end if;
3352:
3353: end loop;

Line 3373: fnd_client_info.set_currency_context (g_orig_currency_context);

3369: );
3370:
3371: -- set back to original environment when the procedure is finished
3372: fnd_profile.put('GL_SET_OF_BKS_ID', g_orig_set_of_books_id);
3373: fnd_client_info.set_currency_context (g_orig_currency_context);
3374:
3375: -- return the status.
3376: x_return_status := FND_API.G_RET_STS_SUCCESS;
3377:

Line 3403: fnd_client_info.set_currency_context (g_orig_currency_context);

3399: ,p_data => x_msg_data
3400: );
3401: -- set back to original environment when the procedure is finished
3402: fnd_profile.put('GL_SET_OF_BKS_ID', g_orig_set_of_books_id);
3403: fnd_client_info.set_currency_context (g_orig_currency_context);
3404:
3405: when FND_API.G_EXC_UNEXPECTED_ERROR then
3406:
3407: ROLLBACK TO undo_retirement;

Line 3418: fnd_client_info.set_currency_context (g_orig_currency_context);

3414: ,p_data => x_msg_data
3415: );
3416: -- set back to original environment when the procedure is finished
3417: fnd_profile.put('GL_SET_OF_BKS_ID', g_orig_set_of_books_id);
3418: fnd_client_info.set_currency_context (g_orig_currency_context);
3419:
3420: when others then
3421:
3422: ROLLBACK TO undo_retirement;

Line 3433: fnd_client_info.set_currency_context (g_orig_currency_context);

3429: ,p_data => x_msg_data
3430: );
3431: -- set back to original environment when the procedure is finished
3432: fnd_profile.put('GL_SET_OF_BKS_ID', g_orig_set_of_books_id);
3433: fnd_client_info.set_currency_context (g_orig_currency_context);
3434:
3435:
3436: END undo_retirement;
3437: -----------------------------------------------------------------------------

Line 3518: fnd_client_info.set_currency_context(to_char(l_asset_hdr_rec.set_of_books_id));

3514:
3515:
3516: -- set the sob_id and currency context
3517: fnd_profile.put('GL_SET_OF_BKS_ID', l_asset_hdr_rec.set_of_books_id);
3518: fnd_client_info.set_currency_context(to_char(l_asset_hdr_rec.set_of_books_id));
3519:
3520: -- pop current period_rec info
3521: if g_log_level_rec.statement_level then fa_debug_pkg.add(l_calling_fn, 'pop period_rec', '', p_log_level_rec); end if;
3522: if not FA_UTIL_PVT.get_period_rec

Line 3588: fnd_client_info.set_currency_context(to_char(sob_rec.sob_id));

3584: if g_log_level_rec.statement_level then fa_debug_pkg.add(l_calling_fn, 'in sob_id loop', '', p_log_level_rec); end if;
3585:
3586: -- set the sob_id and currency context for reporting book(sob)
3587: fnd_profile.put('GL_SET_OF_BKS_ID', sob_rec.sob_id);
3588: fnd_client_info.set_currency_context(to_char(sob_rec.sob_id));
3589:
3590: l_asset_hdr_rec.set_of_books_id := sob_rec.sob_id;
3591:
3592: if not fa_cache_pkg.fazcbcs(x_book => l_asset_hdr_rec.book_type_code

Line 4322: fnd_client_info.set_currency_context (to_char(l_asset_hdr_rec.set_of_books_id));

4318: l_asset_hdr_rec.set_of_books_id := fa_cache_pkg.fazcbc_record.set_of_books_id;
4319:
4320: -- set the sob_id and currency context
4321: fnd_profile.put('GL_SET_OF_BKS_ID', l_asset_hdr_rec.set_of_books_id);
4322: fnd_client_info.set_currency_context (to_char(l_asset_hdr_rec.set_of_books_id));
4323:
4324: -- BUG# 2376085, 2487707
4325: -- store the sob_id value for later use.
4326: fnd_profile.get ('GL_SET_OF_BKS_ID',l_orig_set_of_books_id);

Line 4451: fnd_client_info.set_currency_context (l_orig_currency_context);

4447:
4448: -- BUG# 2376085, 2487707
4449: -- reset GL sob id to original value before moving to next book
4450: fnd_profile.put('GL_SET_OF_BKS_ID', l_orig_set_of_books_id);
4451: fnd_client_info.set_currency_context (l_orig_currency_context);
4452:
4453:
4454: /* if book is a corporate book, process cip assets and autocopy */
4455:

Line 4537: fnd_client_info.set_currency_context (l_orig_currency_context);

4533:
4534: -- BUG# 2376085, 2487707
4535: -- reset GL sob id to original value before moving to next book
4536: fnd_profile.put('GL_SET_OF_BKS_ID', l_orig_set_of_books_id);
4537: fnd_client_info.set_currency_context (l_orig_currency_context);
4538:
4539: if g_log_level_rec.statement_level then fa_debug_pkg.add(l_calling_fn, 'passed do_all_books_reinstatement for tax book', '', g_log_level_rec); end if;
4540: end if;
4541:

Line 4575: fnd_client_info.set_currency_context (g_orig_currency_context);

4571: );
4572:
4573: -- set back to original environment when the procedure is finished
4574: fnd_profile.put('GL_SET_OF_BKS_ID', g_orig_set_of_books_id);
4575: fnd_client_info.set_currency_context (g_orig_currency_context);
4576:
4577: -- return the status.
4578: x_return_status := FND_API.G_RET_STS_SUCCESS;
4579:

Line 4605: fnd_client_info.set_currency_context (g_orig_currency_context);

4601: ,p_data => x_msg_data
4602: );
4603: -- set back to original environment when the procedure is finished
4604: fnd_profile.put('GL_SET_OF_BKS_ID', g_orig_set_of_books_id);
4605: fnd_client_info.set_currency_context (g_orig_currency_context);
4606:
4607: when FND_API.G_EXC_UNEXPECTED_ERROR then
4608:
4609: ROLLBACK TO do_reinstatement;

Line 4620: fnd_client_info.set_currency_context (g_orig_currency_context);

4616: ,p_data => x_msg_data
4617: );
4618: -- set back to original environment when the procedure is finished
4619: fnd_profile.put('GL_SET_OF_BKS_ID', g_orig_set_of_books_id);
4620: fnd_client_info.set_currency_context (g_orig_currency_context);
4621:
4622: when others then
4623:
4624: ROLLBACK TO do_reinstatement;

Line 4635: fnd_client_info.set_currency_context (g_orig_currency_context);

4631: ,p_data => x_msg_data
4632: );
4633: -- set back to original environment when the procedure is finished
4634: fnd_profile.put('GL_SET_OF_BKS_ID', g_orig_set_of_books_id);
4635: fnd_client_info.set_currency_context (g_orig_currency_context);
4636:
4637:
4638: END do_reinstatement;
4639: -----------------------------------------------------------------------------

Line 4726: fnd_client_info.set_currency_context(to_char(l_asset_hdr_rec.set_of_books_id));

4722: l_asset_hdr_rec.set_of_books_id := fa_cache_pkg.fazcbc_record.set_of_books_id;
4723:
4724: -- set the sob_id and currency context
4725: fnd_profile.put('GL_SET_OF_BKS_ID', l_asset_hdr_rec.set_of_books_id);
4726: fnd_client_info.set_currency_context(to_char(l_asset_hdr_rec.set_of_books_id));
4727:
4728: -- pop current period_rec info
4729: if g_log_level_rec.statement_level then fa_debug_pkg.add(l_calling_fn, 'pop period_rec', '', p_log_level_rec); end if;
4730: if not FA_UTIL_PVT.get_period_rec

Line 4845: fnd_client_info.set_currency_context(to_char(sob_rec.sob_id));

4841: if g_log_level_rec.statement_level then fa_debug_pkg.add(l_calling_fn, 'in sob_id loop', '', p_log_level_rec); end if;
4842:
4843: -- set the sob_id and currency context for reporting book(sob)
4844: fnd_profile.put('GL_SET_OF_BKS_ID', sob_rec.sob_id);
4845: fnd_client_info.set_currency_context(to_char(sob_rec.sob_id));
4846:
4847: l_asset_hdr_rec.set_of_books_id := sob_rec.sob_id;
4848:
4849: if not fa_cache_pkg.fazcbcs(x_book => l_asset_hdr_rec.book_type_code

Line 5015: fnd_client_info.set_currency_context(to_char(l_asset_hdr_rec.set_of_books_id));

5011: -- ***************************
5012:
5013: -- set the sob_id and currency context
5014: fnd_profile.put('GL_SET_OF_BKS_ID', l_asset_hdr_rec.set_of_books_id);
5015: fnd_client_info.set_currency_context(to_char(l_asset_hdr_rec.set_of_books_id));
5016:
5017: -- pop asset_fin_rec
5018: -- get fa_books row where transaction_header_id_out is null
5019: if g_log_level_rec.statement_level then fa_debug_pkg.add(l_calling_fn, 'pop asset_fin_rec', '', p_log_level_rec); end if;

Line 5639: fnd_client_info.set_currency_context (to_char(l_asset_hdr_rec.set_of_books_id));

5635: lv_asset_hdr_rec := l_asset_hdr_rec;
5636:
5637: -- set the sob_id and currency context
5638: fnd_profile.put('GL_SET_OF_BKS_ID', l_asset_hdr_rec.set_of_books_id);
5639: fnd_client_info.set_currency_context (to_char(l_asset_hdr_rec.set_of_books_id));
5640:
5641: -- BUG# 2376085, 2487707
5642: -- store the sob_id value for later use.
5643: fnd_profile.get ('GL_SET_OF_BKS_ID',l_orig_set_of_books_id);

Line 5668: fnd_client_info.set_currency_context (to_char(l_asset_hdr_rec.set_of_books_id));

5664: end if; -- book_type_code
5665:
5666: -- set the sob_id and currency context
5667: fnd_profile.put('GL_SET_OF_BKS_ID', l_asset_hdr_rec.set_of_books_id);
5668: fnd_client_info.set_currency_context (to_char(l_asset_hdr_rec.set_of_books_id));
5669:
5670: -- BUG# 2376085, 2487707
5671: -- store the sob_id value for later use.
5672: fnd_profile.get ('GL_SET_OF_BKS_ID',l_orig_set_of_books_id);

Line 5711: fnd_client_info.set_currency_context (l_orig_currency_context);

5707:
5708: -- BUG# 2376085, 2487707
5709: -- reset GL sob id to original value before moving to next book
5710: fnd_profile.put('GL_SET_OF_BKS_ID', l_orig_set_of_books_id);
5711: fnd_client_info.set_currency_context (l_orig_currency_context);
5712:
5713: /* if book is a corporate book, process cip assets and autocopy */
5714:
5715: -- start processing tax books for cip-in-tax and autocopy

Line 5779: fnd_client_info.set_currency_context (l_orig_currency_context);

5775:
5776: -- BUG# 2376085, 2487707
5777: -- reset GL sob id to original value before moving to next book
5778: fnd_profile.put('GL_SET_OF_BKS_ID', l_orig_set_of_books_id);
5779: fnd_client_info.set_currency_context (l_orig_currency_context);
5780:
5781: end if;
5782:
5783: end loop;

Line 5803: fnd_client_info.set_currency_context (g_orig_currency_context);

5799: );
5800:
5801: -- set back to original environment when the procedure is finished
5802: fnd_profile.put('GL_SET_OF_BKS_ID', g_orig_set_of_books_id);
5803: fnd_client_info.set_currency_context (g_orig_currency_context);
5804:
5805: -- return the status.
5806: x_return_status := FND_API.G_RET_STS_SUCCESS;
5807:

Line 5833: fnd_client_info.set_currency_context (g_orig_currency_context);

5829: ,p_data => x_msg_data
5830: );
5831: -- set back to original environment when the procedure is finished
5832: fnd_profile.put('GL_SET_OF_BKS_ID', g_orig_set_of_books_id);
5833: fnd_client_info.set_currency_context (g_orig_currency_context);
5834:
5835: when FND_API.G_EXC_UNEXPECTED_ERROR then
5836:
5837: ROLLBACK TO undo_reinstatement;

Line 5848: fnd_client_info.set_currency_context (g_orig_currency_context);

5844: ,p_data => x_msg_data
5845: );
5846: -- set back to original environment when the procedure is finished
5847: fnd_profile.put('GL_SET_OF_BKS_ID', g_orig_set_of_books_id);
5848: fnd_client_info.set_currency_context (g_orig_currency_context);
5849:
5850: when others then
5851:
5852: ROLLBACK TO undo_reinstatement;

Line 5863: fnd_client_info.set_currency_context (g_orig_currency_context);

5859: ,p_data => x_msg_data
5860: );
5861: -- set back to original environment when the procedure is finished
5862: fnd_profile.put('GL_SET_OF_BKS_ID', g_orig_set_of_books_id);
5863: fnd_client_info.set_currency_context (g_orig_currency_context);
5864:
5865: END undo_reinstatement;
5866: ----------------------------------------------------
5867:

Line 5944: fnd_client_info.set_currency_context(to_char(l_asset_hdr_rec.set_of_books_id));

5940: l_asset_hdr_rec.set_of_books_id := fa_cache_pkg.fazcbc_record.set_of_books_id;
5941:
5942: -- set the sob_id and currency context
5943: fnd_profile.put('GL_SET_OF_BKS_ID', l_asset_hdr_rec.set_of_books_id);
5944: fnd_client_info.set_currency_context(to_char(l_asset_hdr_rec.set_of_books_id));
5945:
5946: -- pop current period_rec info
5947: if g_log_level_rec.statement_level then fa_debug_pkg.add(l_calling_fn, 'pop period_rec', '', p_log_level_rec); end if;
5948: if not FA_UTIL_PVT.get_period_rec

Line 6013: fnd_client_info.set_currency_context(to_char(sob_rec.sob_id));

6009: if g_log_level_rec.statement_level then fa_debug_pkg.add(l_calling_fn, 'in sob_id loop', '', p_log_level_rec); end if;
6010:
6011: -- set the sob_id and currency context for reporting book(sob)
6012: fnd_profile.put('GL_SET_OF_BKS_ID', sob_rec.sob_id);
6013: fnd_client_info.set_currency_context(to_char(sob_rec.sob_id));
6014:
6015: l_asset_hdr_rec.set_of_books_id := sob_rec.sob_id;
6016: if not fa_cache_pkg.fazcbcs(x_book => l_asset_hdr_rec.book_type_code
6017: ,p_log_level_rec => p_log_level_rec) then