3563: -- Commenting this IF condition to retain the old functionality
3564: -- in 11.5.5. Refer bug 3823876 FP fix for 3762086.
3565: -- IF (l_comp_cnt > 0) THEN
3566:
3567: ENG_GLOBALS.g_who_rec.org_id := org_id;
3568: ENG_GLOBALS.g_who_rec.user_id := FND_PROFILE.value('USER_ID');
3569: ENG_GLOBALS.g_who_rec.login_id := FND_PROFILE.value('LOGIN_ID');
3570: ENG_GLOBALS.g_who_rec.prog_appid := FND_PROFILE.value('RESP_APPL_ID');
3571: ENG_GLOBALS.g_who_rec.prog_id := NULL;
3564: -- in 11.5.5. Refer bug 3823876 FP fix for 3762086.
3565: -- IF (l_comp_cnt > 0) THEN
3566:
3567: ENG_GLOBALS.g_who_rec.org_id := org_id;
3568: ENG_GLOBALS.g_who_rec.user_id := FND_PROFILE.value('USER_ID');
3569: ENG_GLOBALS.g_who_rec.login_id := FND_PROFILE.value('LOGIN_ID');
3570: ENG_GLOBALS.g_who_rec.prog_appid := FND_PROFILE.value('RESP_APPL_ID');
3571: ENG_GLOBALS.g_who_rec.prog_id := NULL;
3572: ENG_GLOBALS.g_who_rec.req_id := NULL;
3565: -- IF (l_comp_cnt > 0) THEN
3566:
3567: ENG_GLOBALS.g_who_rec.org_id := org_id;
3568: ENG_GLOBALS.g_who_rec.user_id := FND_PROFILE.value('USER_ID');
3569: ENG_GLOBALS.g_who_rec.login_id := FND_PROFILE.value('LOGIN_ID');
3570: ENG_GLOBALS.g_who_rec.prog_appid := FND_PROFILE.value('RESP_APPL_ID');
3571: ENG_GLOBALS.g_who_rec.prog_id := NULL;
3572: ENG_GLOBALS.g_who_rec.req_id := NULL;
3573:
3566:
3567: ENG_GLOBALS.g_who_rec.org_id := org_id;
3568: ENG_GLOBALS.g_who_rec.user_id := FND_PROFILE.value('USER_ID');
3569: ENG_GLOBALS.g_who_rec.login_id := FND_PROFILE.value('LOGIN_ID');
3570: ENG_GLOBALS.g_who_rec.prog_appid := FND_PROFILE.value('RESP_APPL_ID');
3571: ENG_GLOBALS.g_who_rec.prog_id := NULL;
3572: ENG_GLOBALS.g_who_rec.req_id := NULL;
3573:
3574: FND_GLOBAL.apps_initialize(user_id => ENG_GLOBALS.g_who_rec.user_id,
3567: ENG_GLOBALS.g_who_rec.org_id := org_id;
3568: ENG_GLOBALS.g_who_rec.user_id := FND_PROFILE.value('USER_ID');
3569: ENG_GLOBALS.g_who_rec.login_id := FND_PROFILE.value('LOGIN_ID');
3570: ENG_GLOBALS.g_who_rec.prog_appid := FND_PROFILE.value('RESP_APPL_ID');
3571: ENG_GLOBALS.g_who_rec.prog_id := NULL;
3572: ENG_GLOBALS.g_who_rec.req_id := NULL;
3573:
3574: FND_GLOBAL.apps_initialize(user_id => ENG_GLOBALS.g_who_rec.user_id,
3575: resp_id => FND_PROFILE.value('RESP_ID'),
3568: ENG_GLOBALS.g_who_rec.user_id := FND_PROFILE.value('USER_ID');
3569: ENG_GLOBALS.g_who_rec.login_id := FND_PROFILE.value('LOGIN_ID');
3570: ENG_GLOBALS.g_who_rec.prog_appid := FND_PROFILE.value('RESP_APPL_ID');
3571: ENG_GLOBALS.g_who_rec.prog_id := NULL;
3572: ENG_GLOBALS.g_who_rec.req_id := NULL;
3573:
3574: FND_GLOBAL.apps_initialize(user_id => ENG_GLOBALS.g_who_rec.user_id,
3575: resp_id => FND_PROFILE.value('RESP_ID'),
3576: resp_appl_id => ENG_GLOBALS.g_who_rec.prog_appid
3570: ENG_GLOBALS.g_who_rec.prog_appid := FND_PROFILE.value('RESP_APPL_ID');
3571: ENG_GLOBALS.g_who_rec.prog_id := NULL;
3572: ENG_GLOBALS.g_who_rec.req_id := NULL;
3573:
3574: FND_GLOBAL.apps_initialize(user_id => ENG_GLOBALS.g_who_rec.user_id,
3575: resp_id => FND_PROFILE.value('RESP_ID'),
3576: resp_appl_id => ENG_GLOBALS.g_who_rec.prog_appid
3577: );
3578:
3572: ENG_GLOBALS.g_who_rec.req_id := NULL;
3573:
3574: FND_GLOBAL.apps_initialize(user_id => ENG_GLOBALS.g_who_rec.user_id,
3575: resp_id => FND_PROFILE.value('RESP_ID'),
3576: resp_appl_id => ENG_GLOBALS.g_who_rec.prog_appid
3577: );
3578:
3579: --Initializing the Error Handler
3580: ERROR_HANDLER.Initialize;