Wednesday, 2 November 2016

Query to find the Employee and his Leave Details

This Query will fetch the Employee Person id, Employee Number, Employee Name, Leave Start Date, Leave End Date, Leave Name, Employee Assignment Id.

Change the Query as Per your Need.


SELECT A.PERSON_ID PersonId,
B.ASSIGNMENT_ID AssignmentId,
A.EMPLOYEE_NUMBER StaffNumber,
A.FULL_NAME StaffName,
Y.NAME AbsenceName,
Y.ABSENCE_ATTENDANCE_TYPE_ID AbsenceId,
X.DATE_NOTIFICATION NotifyDate,
X.CREATION_DATE CreatedDate,
X.DATE_START LeaveStart,
X.DATE_END LeaveEnd,
X.ABSENCE_DAYS TotalDays
FROM   PER_ABSENCE_ATTENDANCES X,
PER_ABSENCE_ATTENDANCE_TYPES Y,
PER_ALL_PEOPLE_F A,
PER_ALL_ASSIGNMENTS_F B
WHERE   X.ABSENCE_ATTENDANCE_TYPE_ID = Y.ABSENCE_ATTENDANCE_TYPE_ID
AND     X.BUSINESS_GROUP_ID = Y.BUSINESS_GROUP_ID
AND     A.BUSINESS_GROUP_ID = Y.BUSINESS_GROUP_ID
AND     A.PERSON_ID = X.PERSON_ID
AND     A.PERSON_ID = B.PERSON_ID
AND     B.BUSINESS_GROUP_ID = Y.BUSINESS_GROUP_ID
AND     B.PERSON_ID = X.PERSON_ID
AND     SYSDATE BETWEEN A.EFFECTIVE_START_DATE AND  A.EFFECTIVE_END_DATE
AND     SYSDATE BETWEEN B.EFFECTIVE_START_DATE AND  B.EFFECTIVE_END_DATE
AND     X.DATE_START BETWEEN '01-JAN-2016' AND '31-JAN-2017' /* Duration */
AND   A.EMPLOYEE_NUMBER = 'XYZ' /* Employee Number */
AND Y.NAME = 'Unpaid Leave' /* Leave Name */
ORDER BY 6, 8; 

Tuesday, 1 November 2016

Wednesday, 31 August 2016

How to Process Payroll after Termination - Oracle EBiz


  1. Set Termination Rule to Last Standard Process for elements process on Normal Payroll Run.
  2. Set Termination Rule to Final Process for elements process on Late Payroll Run.
  3. Terminate the Employee and fill the Final Process Date as per your requirement. Ensure HR      system status of Terminate Assignment.
  4. Actual Date is the Employees  actual date of Termination, all the regular Payroll Elements will be end dated.
  5. Final Process date is the date where your process Final settlement, Late Payroll Run Elements will be processed.
  6. Eg. If an Employee Terminated on 25-May-2016, his Actual Date is 25-May-2016, LSP Date is 31-May-2016. If you give Final process date as 30-June-2016, you can run Elements(Final Process Elements- Refer Point 2) till 30-June-2016. The assignment screen can be opened and can run Quick Pay or Payroll for the employee till 30-June-2016. Later 30-June-2016 you can't open the Assignment screen of an Employee.

Monday, 4 July 2016

Salary Administration

Useful Oracle Metalink Id for Salary Administration

142548.1

392567.1