Manager ID population logic using Peoplesoft PS_JOB data
We have a Oracle DWH built using Peoplesoft as a source system.
One of the key requirement is to populate Manager Lev1, Manager Lev2, Manager Lev3 using the PS_JOB data.
From PS_JOB based on emplid , effdt , hr_status, postion_nbr & reports_to ( Manager's position_nbr) columns we need to derive Manager Lev1, Manager Lev2, Manager Lev3 and their attributes like Dept, job band, supervisor level ID.
PS_JOB holds entire history of employee movments & transfers and we need to achieve above mentioned all the attributes for the historical data as well.
the only source table here to fetch all the above mentioned attributes is PS_JOB.