Docsity

ORACLE PAYROLL FUSION, Exercises of Computer Science

Toggle sidebar
bg1
9/8/2017 Communities
https://support.oracle.com/epmos/faces/CommunityDisplay?resultUrl=https%3A%2F%2Fcommunity.oracle.com%2Fthread%2F3969774&_afrLoop=55…
1/1
PowerView is Off
(0)
Harish (Available)
Contact Us Help
Give Feedback...
How to extract Salary Details(Annual Salary Amount, Salary Date To and Salary Date From) for Inactive Employees
How to extract Salary Details(Annual Salary Amount, Salary Date To and
Salary Date From) for Inactive Employees
This question has been Answered.
Hi,
Please sugget on below query.
There is a requirement to extract Salary details for Inactive employees like Terminated, Involuntary Terminations, Global Transfers etc,
action codes.
I have developed one extract which gives Annual Salary Amount for Active and Inactive employees but i am not getting Salary amount
for Inactive employees.
Here i am getting salary amount for few inactive employees for which Salary Date To end dated as '4712-12-31' or blank which is
defaulted to '4712-12-31'.
How to get salary amount values for which Salary Date To is end dated with work relationship termination dates other than '4712-12-
31'?
Regards,
Deekshith.
Correct Answer
by AjayHCM on Sep 8, 2016 3:41 PM
Hello
Please refer the below FF : -
DEFAULT FOR CMP_ASSIGNMENT_SALARY_AMOUNT IS 0
DEFAULT FOR PER_REL_ACTUAL_TERMINATION_DATE IS '1951/01/01 00:00:00'(date)
l_effective_date = '1951/01/01 00:00:00'(date)
l_effective_date = GET_CONTEXT(EFFECTIVE_DATE,'0001/01/01 00:00:00'(date))
IF PER_REL_ACTUAL_TERMINATION_DATE WAS DEFAULTED THEN
( RULE_VALUE = ' ')
ELSE
(
IF ( PER_REL_ACTUAL_TERMINATION_DATE <= l_effective_date ) THEN
(
CHANGE_CONTEXTS(EFFECTIVE_DATE= PER_REL_ACTUAL_TERMINATION_DATE)
(
RULE_VALUE = TO_CHAR(CMP_ASSIGNMENT_SALARY_AMOUNT)
)
)
ELSE (
RULE_VALUE = ' '
Copyright (c) 2017, Oracle. All rights reserved. Legal Notices and Terms of Use Privacy Statement
Dashboard Knowledge Service Requests Patches & Updates

Partial preview of the text

Download ORACLE PAYROLL FUSION and more Exercises Computer Science in PDF only on Docsity!

9/8/2017 Communities

https://support.oracle.com/epmos/faces/CommunityDisplay?resultUrl=https%3A%2F%2Fcommunity.oracle.com%2Fthread%2F3969774&_afrLoop=55… 1/

PowerView is Off Harish (Available)^ (0) Contact Us^ Help

Give Feedback... How to extract Salary Details(Annual Salary Amount, Salary Date To and Salary Date From) for Inactive Employees

How to extract Salary Details(Annual Salary Amount, Salary Date To and

Salary Date From) for Inactive Employees

This question has been Answered.

Deekshith Kalluri Sep 8, 2016 2:25 PM

Hi, Please sugget on below query.

There is a requirement to extract Salary details for Inactive employees like Terminated, Involuntary Terminations, Global Transfers etc, action codes.

I have developed one extract which gives Annual Salary Amount for Active and Inactive employees but i am not getting Salary amount for Inactive employees. Here i am getting salary amount for few inactive employees for which Salary Date To end dated as '4712-12-31' or blank which is defaulted to '4712-12-31'.

How to get salary amount values for which Salary Date To is end dated with work relationship termination dates other than '4712-12- 31'?

Regards, Deekshith.

Correct Answer by AjayHCM on Sep 8, 2016 3:41 PM

Hello

Please refer the below FF : -

DEFAULT FOR CMP_ASSIGNMENT_SALARY_AMOUNT IS 0 DEFAULT FOR PER_REL_ACTUAL_TERMINATION_DATE IS '1951/01/01 00:00:00'(date) l_effective_date = '1951/01/01 00:00:00'(date) l_effective_date = GET_CONTEXT(EFFECTIVE_DATE,'0001/01/01 00:00:00'(date))

IF PER_REL_ACTUAL_TERMINATION_DATE WAS DEFAULTED THEN

( RULE_VALUE = ' ')

ELSE

IF ( PER_REL_ACTUAL_TERMINATION_DATE <= l_effective_date ) THEN ( CHANGE_CONTEXTS(EFFECTIVE_DATE= PER_REL_ACTUAL_TERMINATION_DATE) ( RULE_VALUE = TO_CHAR(CMP_ASSIGNMENT_SALARY_AMOUNT) ) ) ELSE ( RULE_VALUE = ' '

Copyright (c) 2017, Oracle. All rights reserved. Legal Notices and Terms of Use Privacy Statement

Dashboard Knowledge Service Requests Patches & Updates