274: end if;
275:
276: -- OTL - ABS Integration
277:
278: IF NVL(FND_PROFILE.VALUE('HR_ABS_OTL_INTEGRATION'),'N') = 'Y'
279: THEN
280: hxc_preference_evaluation.resource_preferences(p_resource_id => l_timecard_info_rec.resource_id,
281: p_preference_code => 'TS_ABS_PREFERENCES',
282: p_start_evaluation_date => l_timecard_info_rec.start_date,
496:
497: END IF;
498:
499: -- Raise an error when absence integration is enabled.
500: IF (NVL(FND_PROFILE.VALUE('HR_ABS_OTL_INTEGRATION'),'N') = 'Y') AND
501: (NVL(l_absences_integration,'N') = 'Y') THEN
502:
503: hxc_timecard_message_helper.adderrortocollection (
504: p_messages => p_messages