Who's Online
1 registered (Chris Abraham), 2 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
P11d's
by Chris Abraham
0 seconds ago
Oracle eBsuiness HRMS Trusted Recon Query Help
by CT
Today at 02:24 PM
Concurrent Request - running slow
by CT
Today at 12:48 PM
Pension Auto Enrolment
by delboy
Today at 12:13 PM
Oracle eBsuiness HRMS Trusted Reconcilaition Help
by Mani
Today at 07:35 AM
Element to recover value in balance on leaving
by jkavia
Yesterday at 11:04 AM
Assignment EIT not displaying in Self Service
by CT
Yesterday at 06:45 AM
Vehicle Mileage Setup
by Chris Abraham
21/05/12 12:24 PM
In which table is external learning data stored
by DMC
21/05/12 08:45 AM
Oracle Payroll and Cash Management
by Gus
20/05/12 11:27 AM
Top Posters (30 Days)
CT 40
delboy 39
Vigneswar Battu 15
pat.woodall 10
Mani 6
Gus 4
bcooper 4
Ryan 3
Jan 3
DMC 3
(Views)Popular Topics
Family Pack K issues thread 20170
CREATE_GRADE api returns:PLS-00306: wrong number o 15200
Still trying to locate... 13855
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 11907
Viewing Output of another user 10324
HR_PF.K RUP4 10298
Review of my Release 12 laptop 9747
Enhanced Retro & Release 12 9402
Adding a taskflow button to a form 9140
Family Pack K 7910
Page 1 of 2 1 2 >
Topic Options
Rate This Topic
#7170 - 15/12/11 09:02 AM First processing period/year for an assignment?
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1188
Loc: Bath
Hail payroll geeks

Before I go traipsing off to write a UDF for this, can anyone tell me a more obvious way (within a payroll formula) to discern the first period/year that an employee assignment was processed in a payroll run?

Ta much.

Edited to add: no, emp_hire_date is not a reliable indicator in this situation!


Edited by CT (15/12/11 09:14 AM)
Edit Reason: Further clarification
_________________________
L&K
CT

Remember: A dog is for life, not just for Christmas... unless you're in Korea

Top
#7171 - 15/12/11 11:27 AM Re: First processing period/year for an assignment? [Re: CT]
PeterP Offline
hacker
*****

Registered: 08/03/07
Posts: 94
Loc: Manchester, UK
If you have some idea of what date the person was first processed, then you can use "GET_PAYROLL_PERIOD".

Top
#7172 - 15/12/11 12:43 PM Re: First processing period/year for an assignment? [Re: CT]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1188
Loc: Bath
Thanks for your response Peter, however the problem I have is that I don't necessarily know that date either.

This issue is around someone who is hired very late on in the pay period, and thereby gets processed for the first time in the following pay period.

However, I think I have a cunning plan for avoiding the need for a UDF - in normal situations I am looking for a balance at the appropriate date, which ordinarily is the period in which the employee was hired. That balance can be relied on to be non-zero, except when there was no processing done in that period - therefore, if I encounter a zero figure in that situation, I merely have to get the balance as at the following period.
_________________________
L&K
CT

Remember: A dog is for life, not just for Christmas... unless you're in Korea

Top
#7173 - 15/12/11 01:02 PM Re: First processing period/year for an assignment? [Re: CT]
delboy Offline

veteran

Registered: 15/03/05
Posts: 597
Loc: Somewhere in Berkshire
Hi CT,

How are you referring to the balance in your formula? Do you only need to determine this in the first period they are processed?

Delboy

Top
#7174 - 15/12/11 01:57 PM Re: First processing period/year for an assignment? [Re: CT]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1188
Loc: Bath
Del Boy,

Every month the formula looks for the balance as at the start of their hire date - most of the time we use a UDF to pass in the specified period end date. The only exception to this normally is where the employee is processed for the first time in the same period as the hire date, whereupon the function won't find an in-memory balance - in this case we refer to the DB item.
_________________________
L&K
CT

Remember: A dog is for life, not just for Christmas... unless you're in Korea

Top
#7175 - 15/12/11 02:18 PM Re: First processing period/year for an assignment? [Re: CT]
delboy Offline

veteran

Registered: 15/03/05
Posts: 597
Loc: Somewhere in Berkshire
Ok...I was perhaps thinking you could use ASG_LAST_PROC_PERIOD_NUMBER (The period number the assignment was last processed) in some way? But that would only work in the first month of processing.

Delboy

Top
#7176 - 15/12/11 02:22 PM Re: First processing period/year for an assignment? [Re: CT]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1188
Loc: Bath
Correct! :-D

Actually, given that this is loosely connected with the impending Civil Service Pension Reforms coming in April, you might have a kind of interest in this yer good self like!
_________________________
L&K
CT

Remember: A dog is for life, not just for Christmas... unless you're in Korea

Top
#7177 - 15/12/11 02:31 PM Re: First processing period/year for an assignment? [Re: CT]
delboy Offline

veteran

Registered: 15/03/05
Posts: 597
Loc: Somewhere in Berkshire
Aaaah...I would defo be interested. Keep me up to date with your findings.

Delboy

Top
#7178 - 15/12/11 02:36 PM Re: First processing period/year for an assignment? [Re: CT]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1188
Loc: Bath
Will do fella. Given the somewhat 'fluid' nature of the requirement (still not agreed, and the deadline is still 1st April, how appropriate is that) we are intending to break it up into 2 bits - First, is 'steady state and new starters', second bit is 'in year changes that trigger a recalculation' (that's the bit we don't know for sure yet).

We are hoping to be 'legal' by delivering the first bit in time for April, and the rest of it will be taken care of via retropay as and when we are able to deliver.
_________________________
L&K
CT

Remember: A dog is for life, not just for Christmas... unless you're in Korea

Top
#7179 - 15/12/11 04:45 PM Re: First processing period/year for an assignment? [Re: CT]
Gus Offline
nothin' better to do

Registered: 16/03/05
Posts: 146
Loc: Lapenne
Just been checking the DB Items, all refer to previous or last period (the same) so nothing for first period, so I think you are off to UDF territiory

Top
#7180 - 16/12/11 07:02 AM Re: First processing period/year for an assignment? [Re: CT]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1188
Loc: Bath
Nah mate, we've cracked it without the need for a (new) UDF, cheers anyway.
_________________________
L&K
CT

Remember: A dog is for life, not just for Christmas... unless you're in Korea

Top
#7182 - 19/12/11 06:25 AM Re: First processing period/year for an assignment? [Re: CT]
Gus Offline
nothin' better to do

Registered: 16/03/05
Posts: 146
Loc: Lapenne
Do tell

Top
#7183 - 19/12/11 08:33 AM Re: First processing period/year for an assignment? [Re: CT]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1188
Loc: Bath
See page 1 of this thread, from about half way down!
_________________________
L&K
CT

Remember: A dog is for life, not just for Christmas... unless you're in Korea

Top
#7185 - 19/12/11 06:07 PM Re: First processing period/year for an assignment? [Re: CT]
Gus Offline
nothin' better to do

Registered: 16/03/05
Posts: 146
Loc: Lapenne
being totally purist about this.....there is no danger that somoneone could be missed or suspended for a period

So they don't get paid period 1 so balance is zero

Is there a danger that they may not get paid in another period for some reason and the balance could also be zero in that period?

Sorry don't know the dimensions of the balance you are looking at

Top
#7186 - 19/12/11 09:55 PM Re: First processing period/year for an assignment? [Re: CT]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1188
Loc: Bath
Hmm, you make a fair point, young man...

Basically the background is this:

Come April 2012, our Civil Service friends are being invited to cough up an extra wedge towards their pensions - the basis for the calculation in any given year is the annualised FTE salary + appropriate allowances as at the end of the previous year. So we have an annualised figure that somewhat perversely is held (on my current site anyway) as a _ASG_PROC_PTD balance; this gets recalculated every month (it's also used for the calculation of the employer's percentage every month, so has already been configured that way).

That's all well and good, but of course we need to cover new starters in-year also, who won't have a figure as at the previous 31st March - hence, we need to obtain the annualised figure as at their hire date - or, if they weren't paid in that period, then the following one.

I would think it highly unlikely (but not impossible) that someone could be on a suspended assignment their first full month, but by the same token it is possible that someone who was already an employee could just so happen to be suspended as at 31st March. So, I shall make appropriate enquiries on that matter.
_________________________
L&K
CT

Remember: A dog is for life, not just for Christmas... unless you're in Korea

Top
#7187 - 20/12/11 07:53 AM Re: First processing period/year for an assignment? [Re: CT]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1188
Loc: Bath
As a follow-up to that post, I have now been able to confirm that they don't use 'suspend' type assignment statuses here.
_________________________
L&K
CT

Remember: A dog is for life, not just for Christmas... unless you're in Korea

Top
Page 1 of 2 1 2 >



Moderator:  CT, delboy 
Forum Stats
792 Members
48 Forums
1584 Topics
7663 Posts

Max Online: 67 @ 14/04/12 05:38 PM
Today's Birthdays
No Birthdays
Recent vacancies
Top Posters
CT 1188
bcooper 1112
delboy 597
Geoff Dixon 369
SBi 356
vkumar 223
kp_rapolu 213
cbrookes 197
Gavin Harris 163
Gus 146
May
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 30 31