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