Get Started with Redwood for Oracle Cloud HCM Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
Need an Correct SQL Query to get updated start time and stop time from OTL Submitted time entries
Below is the reference query which is pulling duplicates becuase of confusion between range and measures types.
SELECT
papf.person_number,
htc.start_time,
htc.stop_time
FROM
per_all_people_f papf,
hwm_tm_rec htc,
hwm_tm_rec_grp_usages htrgu,
hwm_tm_rec_grp htrg,
hwm_grp_type hgt
WHERE
htc.resource_type = 'PERSON'
AND htc.latest_version = 'Y'
AND htc.layer_code = 'TIME_RPTD'
AND htc.tm_rec_id = htrgu.tm_rec_id
AND htc.tm_rec_version = htrgu.tm_rec_version
AND htrgu.latest_version = 'Y'
AND htrgu.tm_rec_grp_id = htrg.tm_rec_grp_id
Tagged:
0