cancel
Showing results for 
Search instead for 
Did you mean: 

Calculate number of Days through PCR in Time Management

raghu_c
Active Contributor
0 Kudos
49

Dear All,

The following is the scanerio,

if an employee joins on any day other than 01.01.yyyy, then the number of days from this day to 31.12.yyyy should be calculated, how can this scanerio be handled through PCR.

Thanks in advance

Raghu

Edited by: Raghu C on Jun 22, 2011 7:26 AM

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member193210
Active Contributor
0 Kudos

Using a time type as a "counter", you would look if the time type existed yesterday (HRS+Lxxxx).

If so, add 1 to it (HRS+1) and save it (using operation ADDDBxxxx),

and if not check to make sure that it is a new hire before you create the counter time type with number 1.

Former Member
0 Kudos

Can you tell us the complete requirement.