Who's Online
0 registered (), 1 Guest and 6 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
Abseces in oracle hrms, super user: how to do I:
by tovia123
Today at 01:18 PM
Update EIT in SSHR
by Sahir
Yesterday at 03:45 PM
End of Year Legislation Patch for 11i
by delboy
Yesterday at 01:35 PM
Interfacing iRec and external sites
by DanC
09/02/12 11:42 PM
Capturing, Storing, & Paying Banked Overtime
by Paul
09/02/12 08:51 PM
Time and Labour & Oracle Projects
by Paul
09/02/12 07:34 PM
Search Engine Optimizers
by delboy
09/02/12 01:30 PM
Function for getting retropay-maintained balances
by CT
08/02/12 12:21 PM
Grade End Date
by Chris
03/02/12 10:46 AM
OLM Mandatory Enrolments
by bcooper
01/02/12 12:23 PM
Top Posters (30 Days)
CT 26
delboy 24
bcooper 14
Sahir 5
Gus 5
tovia123 5
Tim Bailey 3
SBi 3
christm 3
Simon_Mc 3
(Views)Popular Topics
Family Pack K issues thread 18240
CREATE_GRADE api returns:PLS-00306: wrong number o 13772
Still trying to locate... 12214
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 10658
Viewing Output of another user 9137
HR_PF.K RUP4 8851
Review of my Release 12 laptop 8500
Adding a taskflow button to a form 7861
Enhanced Retro & Release 12 7689
Family Pack K 7127
Topic Options
Rate This Topic
#4362 - 09/04/09 09:14 AM Elements Post Termination Rule Change
kp_rapolu Offline
claiming squatters rights

Registered: 15/11/07
Posts: 213
Loc: U.K
Hi,

One of consultants previosuly setup some deduction elements with Post Termination rule as 'Final Close'.

Because of that deductions are processed even after the employees termination dates (upto final close as date mentioned in the Termination details).

Now we want the element post termination rule to be changed to 'Last Standard Process'. (Note : These deduction elements have already processed by payroll run)

How can we change/update the post termination Rule of the existing element?

OR

Do we need to re-create the whole setups with correct post termination rule?


Please do advice.

Thanks in Advance
KP/..


Edited by kp_rapolu (09/04/09 09:15 AM)
_________________________
Krishna Prasad Rapolu
Oracle HRMS Consultant

Top
#4369 - 14/04/09 07:59 AM Re: Elements Post Termination Rule Change [Re: kp_rapolu]
kp_rapolu Offline
claiming squatters rights

Registered: 15/11/07
Posts: 213
Loc: U.K
Any ideas.......
_________________________
Krishna Prasad Rapolu
Oracle HRMS Consultant

Top
#4371 - 14/04/09 09:31 AM Re: Elements Post Termination Rule Change [Re: kp_rapolu]
bcooper Offline

Guru
*****

Registered: 11/03/05
Posts: 1095
Loc: Earth, Europe, England, here
Hi KP

We have hit this many many times during the last year or so on the NHS project.

We have "a script" that amends the termination rule against the element definition.
In the stictest sense, this is not a supported option in the eyes of Oracle, however we have not encountered any issues whatsoever with doing this. Given the complexity and volume of payroll processing that goes on here i am confident that if there were any issues we would have hit them by now.

If you do go down the script route you will need to set the HR_GENERAL.G_DATA_MIGRATOR_MODE flag to 'Y' so that certain core triggers are disabled (otherwise you will not be able to update the termination rule).

Hope this helps.

B
_________________________
HCM Aces is for sale! Please contact me if you are interested.
Also my random musings courtesy of Twitter

Top
#4372 - 14/04/09 09:52 AM Re: Elements Post Termination Rule Change [Re: bcooper]
kp_rapolu Offline
claiming squatters rights

Registered: 15/11/07
Posts: 213
Loc: U.K
Hi,

thanks for advice, I have prepared the following script to change the element termination rule from 'Final Close' to 'Last Stadrd'

==

SET VERIFY OFF;
WHENEVER OSERROR EXIT FAILURE ROLLBACK;
WHENEVER SQLERROR EXIT FAILURE ROLLBACK;

alter trigger PAY_ELEMENT_TYPES_T1 disable;

update pay_element_types_f
set POST_TERMINATION_RULE ='L'
where ELEMENT_NAME =<<'***Element Name****'>>
and POST_TERMINATION_RULE ='F';

alter trigger PAY_ELEMENT_TYPES_T1 enable;


==

I belive this script will not cause any other problems.


Cheers
KP/.
_________________________
Krishna Prasad Rapolu
Oracle HRMS Consultant

Top
#4373 - 14/04/09 11:20 AM Re: Elements Post Termination Rule Change [Re: kp_rapolu]
delboy Offline
veteran

Registered: 15/03/05
Posts: 500
Loc: Somewhere in Berkshire
Sharp intake of breath!!!!

As a payroll funkie, not a method I would encourage but I bow to Barry's superior knowledge.

Anyhow, not being a sql expert doesn't your script update every element from Final Close to Last Standard Process? Surely, you have some elements you want to remain as Final Close?

Delboy

Top
#4374 - 14/04/09 11:45 AM Re: Elements Post Termination Rule Change [Re: delboy]
bcooper Offline

Guru
*****

Registered: 11/03/05
Posts: 1095
Loc: Earth, Europe, England, here
Good spot Del smile

By the way KP - our script is within PL/SQL - we check the current setting first and only update if needed.
Also, rather than disabling specific triggers we set the g_data_migrator flag.
If you disable the trigger and other users are on the system then you have the possibility of another users action going through with the trigger not set!!!

By embedding the lot within pls and setting the flag you control it all at session level.

Regards

Barry
_________________________
HCM Aces is for sale! Please contact me if you are interested.
Also my random musings courtesy of Twitter

Top
#4375 - 14/04/09 02:04 PM Re: Elements Post Termination Rule Change [Re: bcooper]
kp_rapolu Offline
claiming squatters rights

Registered: 15/11/07
Posts: 213
Loc: U.K
I have copied this script from one of Oracle's patch.

Don't know how they have given this script.
_________________________
Krishna Prasad Rapolu
Oracle HRMS Consultant

Top
#5469 - 31/05/10 07:40 PM Re: Elements Post Termination Rule Change [Re: kp_rapolu]
ALERO Offline
lurker

Registered: 02/09/09
Posts: 6
Hi ,


The termination rule on about 300 of are elements have been set up with the wrong termination rule. I have come across this thread were some of you have managed to overcome the problem without having to recreate element. Can you please advice on how to go about it. I have limited technical knowledge.

I will appreciate if you can share your script and experiences with me.

Thanks in advance
Alero


Edited by ALERO (31/05/10 07:42 PM)

Top
#5470 - 31/05/10 08:31 PM Re: Elements Post Termination Rule Change [Re: ALERO]
PeterP Offline
hacker
*****

Registered: 08/03/07
Posts: 92
Loc: Manchester, UK
It is possible to do this through the front end using Help -> Diagnostics -> Examine.

This uses the API to update a specific Element.

Top
#5471 - 01/06/10 09:23 AM Re: Elements Post Termination Rule Change [Re: PeterP]
ALERO Offline
lurker

Registered: 02/09/09
Posts: 6
Hi,

I have tried updating the termination rule on one the element from last standard process to Final Close via Help ->

Diagnostics -> Examine.
When I try to save the record a message is displayed.
APP-PAY-060909: Processing fields cannot be updated if run results exist.

I guess the only alternative is to update via the pl/sql script.

I will also like to know if anyone has experienced any problems later after updating termination rules on element definition via a PL/SQL script ?


Thanks in advance
Alero

Top



Moderator:  bcooper, CT 
Forum Stats
756 Members
48 Forums
1517 Topics
7287 Posts

Max Online: 63 @ 24/11/10 07:21 AM
Today's Birthdays
No Birthdays
Recent vacancies
Tea boy available 4 basic chores & some! services
by Simon_Mc
19/01/12 03:59 PM
Top Posters
bcooper 1095
CT 1080
delboy 500
Geoff Dixon 369
SBi 344
vkumar 223
kp_rapolu 213
cbrookes 197
Gavin Harris 160
Gus 132
February
Su M Tu W Th F Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29