SQL Query not fetching the latest adjustment Amount in Salary change — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

SQL Query not fetching the latest adjustment Amount in Salary change

edited Sep 5, 2020 12:33AM in Payroll and Global Payroll Interface (GPI) 3 comments

Content

Hi

 

I used the following query to fetch the salary adjustment details which include component details. However, it does not fetch the latest salary change details. I am not sure what I am missing.

 

SELECT NAME.DISPLAY_NAME ,P.PERSON_NUMBER,SAL.ANNUAL_SALARY , SAL.SALARY_AMOUNT , SAL.ADJUSTMENT_PERCENT, SAL.ADJUSTMENT_AMOUNT,
CMP.COMPONENT_REASON_CODE AS COMPONENT_NAME ,CMP.CHANGE_AMOUNT AS COMPONENT_CHANGE_AMOUNT, CMP.CHANGE_PERCENTAGE AS COMPONENT_CHANGE_PERCENTAGE
FROM CMP_SALARY SAL , CMP_SALARY_COMPONENTS CMP , per_all_assignments_m M , PER_ALL_PEOPLE_F P ,PER_PERSON_NAMES_F NAME
WHERE SAL.ASSIGNMENT_ID = CMP.ASSIGNMENT_ID

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!