Here is the sample SQL Query for Oracle Fusion HCM. These queries will help to retrieve the basic information related to the employee payroll information.
This is the basic query, use this table accordingly and modify as per your requirements.
SQL Query :
SELECT
ppf.person_number,
ppf.full_name,
pap.assignment_number,
ppa.payroll_name,
ppa.element_entry_id,
ppa.salary_amount,
ppa.currency_code
FROM
pay_element_entries_f ppa
JOIN
per_all_assignments_f pap ON ppa.assignment_id = pap.assignment_id
JOIN
per_all_people_f ppf ON pap.person_id = ppf.person_id
WHERE
ppa.element_name = 'Salary'
AND SYSDATE BETWEEN ppa.effective_start_date AND ppa.effective_end_date;
No comments:
Post a Comment
Note: only a member of this blog may post a comment.