Human Capital Management - EBS (MOSC)

MOSC Banner

Status of the Absence history of an employee (SQL)

edited Dec 4, 2023 5:01PM in Human Capital Management - EBS (MOSC) 3 commentsAnswered ✓

Good day,

I have the below script for which I want to also pick the status of the absence record of the employee (Approved, Pending, Rejected).

So my question is which table should I join to be able to pick the status of the absence entry.

#OracleEBS

#HRMS

#APPS12.2.5


SELECT 

 A.EMPLOYEE_NUMBER      StaffNumber,

 a.PERSON_ID,

 A.FULL_NAME         StaffName,

 o.name            Department,

 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,

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center