[Home] [Help]
485: || l_proc, 10);
486: end if;
487:
488: -- M.Bhammar - Bug:5107665
489: -- hr_session_utilities.insert_session_row (TO_DATE (SYSDATE,'YYYY/MM/DD'));
490: -- hr_session_utilities.insert_session_row (SYSDATE); /* Bug 6024976 */
491:
492: IF (hxt_util.accrual_exceeded (
493: p_tim_id,
486: end if;
487:
488: -- M.Bhammar - Bug:5107665
489: -- hr_session_utilities.insert_session_row (TO_DATE (SYSDATE,'YYYY/MM/DD'));
490: -- hr_session_utilities.insert_session_row (SYSDATE); /* Bug 6024976 */
491:
492: IF (hxt_util.accrual_exceeded (
493: p_tim_id,
494: -- M.Bhammar - bug 5214727
535: );
536: g_errtab.DELETE(c_39335_exceeded_accrued_hrs);
537: END IF;
538:
539: -- hr_session_utilities.remove_session_row; /* Bug 6024976 */
540: if g_debug then
541: hr_utility.set_location ( 'Leaving:'
542: || l_proc, 100);
543: end if;
2007: -- and reassign g_start_sysdate.
2008:
2009: IF g_start_sysdate <> TRUNC(SYSDATE)
2010: THEN
2011: hr_session_utilities.insert_session_row (SYSDATE);
2012: g_start_sysdate := TRUNC(SYSDATE);
2013: END IF;
2014:
2015: perform_day_validations (
2020: );
2021:
2022: -- Bug 6785744
2023: -- No need to remove the session row after each timecard.
2024: -- hr_session_utilities.remove_session_row; /* Bug 6024976 */
2025:
2026: /* M.Bhammar - bug 5214727
2027: excess_pto (
2028: p_batch_id=> p_batch_id,
2095:
2096: -- Bug 6785744
2097: -- Insert a new row in fnd_sessions before processing this batch.
2098:
2099: hr_session_utilities.insert_session_row (SYSDATE);
2100: <
2101: FOR rec_tcs_in_batch IN csr_tcs_in_batch (p_batch_id)
2102: LOOP
2103: set_tc_error_level(p_tc_error_level => 0);
2180:
2181: -- Bug 6785744
2182: -- Remove the session row after processing this batch.
2183:
2184: hr_session_utilities.remove_session_row;
2185:
2186: if g_debug then
2187: hr_utility.set_location ( 'Leaving:'
2188: || l_proc, 100);