Announcements for Payroll and OTL can now be found in the Announcements - Payroll and OTL - EBS (MOSC) subcategory. Follow to be sure you don't miss a thing!
OTL: How to get latest record from hxc_app_period_summary?
Hello,
We created and have been running an OTL timecard report for a number of years. We recently discovered a bug where, a timecard was rejected, then approved, but our report is reporting the rejected status. We are using the following clause to identify the latest timecard status from hxc_app_period_summary,
AND app_payroll.application_period_id =
(SELECT MAX (application_period_id)
FROM hxc_app_period_summary max_payroll
WHERE max_payroll.resource_id = app_payroll.resource_id
AND TRUNC (max_payroll.start_time) = TRUNC (app_payroll.start_time)
AND TRUNC (max_payroll.stop_time) = TRUNC (app_payroll.stop_time)