251: );
252:
253: -- Absences start
254:
255: IF (nvl(fnd_profile.value('HR_ABS_OTL_INTEGRATION'), 'N') = 'Y') THEN
256: hr_utility.trace('ABS:Checking status of BEGIN_APPROVAL');
257: hr_utility.trace('ABS:l_messages.COUNT = '||l_messages.COUNT);
258:
259: if l_messages.COUNT > 0
392: hr_utility.trace('ABS: hxc_retrieve_absences.g_stop_time '||hxc_retrieve_absences.g_stop_time);
393:
394: END IF;
395:
396: IF (NVL(fnd_profile.value('HR_ABS_OTL_INTEGRATION'), 'N') = 'Y') THEN
397: hxc_retrieve_absences.insert_absence_summary_row;
398: END IF;
399:
400:
644: ).object_version_number;
645:
646:
647: -- OTL-Absences Integration (Bug 8779478)
648: IF (nvl(fnd_profile.value('HR_ABS_OTL_INTEGRATION'), 'N') = 'Y') THEN
649: IF (p_timecard_id > 0 and hxc_timecard_message_helper.noerrors
650: and p_blocks(hxc_timecard_block_utils.find_active_timecard_index(p_blocks)).SCOPE <> hxc_timecard.c_template_scope) THEN
651:
652: IF g_debug THEN
843: hr_utility.trace('ABS: hxc_retrieve_absences.g_stop_time '||hxc_retrieve_absences.g_stop_time);
844:
845: END IF;
846:
847: IF (NVL(fnd_profile.value('HR_ABS_OTL_INTEGRATION'), 'N') = 'Y') THEN
848: hxc_retrieve_absences.insert_absence_summary_row;
849: END IF;
850:
851:
1149: hxc_timecard_message_helper.processerrors
1150: (p_messages => p_messages);
1151:
1152: -- OTL-Absences Integration (Bug 8779478)
1153: IF (nvl(fnd_profile.value('HR_ABS_OTL_INTEGRATION'), 'N') = 'Y')
1154: THEN
1155: IF (p_timecard_id > 0 and hxc_timecard_message_helper.noerrors
1156: and p_blocks(hxc_timecard_block_utils.find_active_timecard_index(p_blocks)).SCOPE <> hxc_timecard.c_template_scope)
1157: THEN
1227: (p_messages => p_messages);
1228:
1229: -- Absences start
1230:
1231: IF (nvl(fnd_profile.value('HR_ABS_OTL_INTEGRATION'), 'N') = 'Y') THEN
1232: hr_utility.trace('ABS:Checking status of BEGIN_APPROVAL');
1233: hr_utility.trace('ABS:p_messages.COUNT = '||p_messages.COUNT);
1234:
1235: if p_messages.COUNT > 0 then