528:
529: IF(l_user_person_id = p_resource_id)
530: -- Bug 8676961
531: -- Added the call to new profile here
532: AND (NVL(FND_PROFILE.VALUE('HXC_ALLOW_TERM_SS_TIMECARD'),'N') = 'N')
533: THEN
534: is_self_service := TRUE;
535: ELSE
536: is_self_service := FALSE;
649: ,p_person_id => p_resource_id);
650:
651: exception
652: when others then
653: l_operating_unit_id := fnd_profile.value('ORG_ID');
654: end;
655:
656: -- now set the operating unit context
657: