Line 506: dt_api.validate_dt_upd_mode(p_datetrack_mode => p_datetrack_mode);
502: hr_utility.set_location('Entering:'||l_proc, 5);
503: --
504: -- Ensure that the DateTrack update mode is valid
505: -- 506: dt_api.validate_dt_upd_mode(p_datetrack_mode => p_datetrack_mode); 507: -- set the start and end dates if not set
508: if p_rec.start_date is null then
509: p_rec.start_date := hr_api.g_date;
510: end if;