on 05-25-2015 8:13 AM
Hi Friends,
Below is the requirement for the quota accrual.
To check employee has worked more than 30 days after 1stJuly 2015 to start accrual.
a. If yes, then check for whether employee has worked 30 hours. If not, wait for 30 hours to complete.
b. And accordingly it has to add “1”Hour for every 30 hours worked .
e.g. if Employee has crossed 30 days as on from 1 st July, system has to check whether emp. has greater than or equal to 30 hours, then accrual has to happen as per Payroll period (Biweekly). if not wait for 30 hours to complete.
c. When next time, time evaluation runs it should not check the hours for which accrual has already happened and it should check for next 30 hours, if yes accrual of quota, if not no accrual.
My issue is, it first checks for 30 days and checks whether 30 hours or more for first time accrual. But when next time, it runs again it includes hours from the beginning for quota calculation.
Regards,
Srikanth
Hi Srikanth,
Your requirement isn't clear to me.
What is the basis of taking 01st Jul as the cut off date? What happens before 01-Jul?
What is the definition of day worked? If the employee works for 5 hours in a 8 hours shift, is it considered as day worked? Are you in positive time management or negative time management?
Do you consider attendance in IT2002 towards day worked?
Kindly explain.
Regards,
Vivek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vivek,
1. 1st July is the cut off start date and any hours entered before should not be considered.
2. For Students & Contractors, Planned hours is "0" and there is no fixed time/minimum time to consider as full day. Any hours entered in a day is considered as full day.
3. We use negative time management and we consider from ITT2002 for attendance.
4. Currently, we are using copy of TQTA schema, for Salaried employees for their quota accrual (Vacation & Sick).
Please let me know if you need further information.
Regards,
Srikanth
Hi Srikanth,
I am sorry to say that I am lost in your requirements explanation.
To check employee has worked more than 30 days after 1stJuly 2015 to start accrual.
a. If yes, then check for whether employee has worked 30 hours. If not, wait for 30 hours to complete.
b. And accordingly it has to add “1”Hour for every 30 hours worked .
e.g. if Employee has crossed 30 days as on from 1 st July, system has to check whether emp. has greater than or equal to 30 hours, then accrual has to happen as per Payroll period (Biweekly). if not wait for 30 hours to complete.
c. When next time, time evaluation runs it should not check the hours for which accrual has already happened and it should check for next 30 hours, if yes accrual of quota, if not no accrual.
What do you mean by if the employee has completed 30 days on 01-Jul-2015?
You are also talking about accrual happening by payroll period (biweekly)? How will this logic work next year because the biweekly payroll period won't have end date exactly as 30-Jun-2016?
Also if it is biweekly, then you don't need to consider attendance at all?
Regards,
Vivek
Hi Vivek,
The reason I said is as per US Law it should start from 1st July 2015. For students and contractors till now, there is no quota and its a new bill which has been declared by US and it is mandatory.
1. Thats the reason I said, it should start from 1 st july 2015.
2. It is calendar based. It will start from 1st july 2015 till 31st december 2015. And from next year onwards it is from January 2016 to December 2016.
3. Only first time after 1st July 2015, we need to check whether employee has crossed 30 days or not, after that only based on hours accrual should happen. If employee has been rehired, then again we need to check for 30 days completed for accrual.
4. Sorry, accrual is not on biweekly basis, it is based on weekly basis.
5. We are using Copy of TQTA for quota accrual for Salaried employees.
6. Carry forward of max 24 hours to next year.
Attached a scenario for your reference. Please check and let me know if you need further information.
Regards,
Srikanth
Hi Srikanth,
As per my understanding that there few points are there in the requirment.
1. 1st July 2015 onwards.
2. Should check 30 days completion and accumulate the hours simultaneously.
3. Once 30days has been completed then you will be checking next every 7days working and there after have the completion of 30 hours or not.If its not then it will carry forward to next week and adding with the current week work hours. (Having the confusion becuase in the sheet is the uneven work days after 30 days completion)- Clarify.
To design that you should go with TM04 schema and attendance should be captured through IT2002.
1st Point no 1.
For this you please create an constant like ZJULD and maintain like below in the constant table T511K.
ZJULD 01.01.2015 30.06.2015 1
ZJULD 01.07.2015 31.12.9999 2
Now write the below PCR to check the calculation will start once system is on and after 01.07.2015.
ZJUL
*
****
NUM=CZJULD
NUM?1
*
SCOND= F IF
2
SCOND=T IF
2nd Point.
ZPRN
*
****
VARSTFREE
Y
LEAVE
N
VARSTHOLCL
*
HRS=1
ADDDB1000Z
1
LEAVE
Here 1000 is the time type where period balance should be ticked for this Ttype1000.
ZACT
*
****
OUTTPORIGS
E
COLOP *
P
COLOP *
HRS=PNUM
ADDDB1010Z
Here Ttype 1010 is carrying the actual working hours.
ZWRK
*
****
HRS=M1000
HRS?30
*
LEAVE
=
HRS=M1010
HRS/M1000
ADDDB1020Z
HRS=0
ADDMB1000Z
ADDMB1010Z
Here Time type 1020 is quota type base entitlement time type. Which will be passing to employee's IT2006 against quota type.
Design your schema like this and will add after P2002 function
IF ZJUL
PTIP ZACT GEN
ACTIO ZPRN
ENDIF
ACTIO ZWRK will be add after CUMBT function in the tiem schema.
*** Upto point no 1 & 2 is completed.
Point 3.
Cab only provide once get the cleart picture on the point no 3.
Regards,
Sankarsan
Hi Sankarsan,
For Students & Contractors, there is no planned hours and it is "0". They may work in a week either 1 day / 5 days / 7days or they wont work in a week.
That's the reason I mentioned different days in a week as an example.
Once 30 days is completed, then it has to check for hours from July whether 30 hours is completed to start accrual. Once quota is accrued for initial 30 hours, then it should not consider again for next accrual.
Timesheet approval happens every Monday and it has to run after that to check for previous week timesheet for 30 hours.
Week starts from Sunday to Saturday.
Let me know if you need further information.
Regards,
Srikanth
Hi Sankarsan,
When I checked your rule for ZPRN, need a clarification.
ZPRN
*
****
VARSTFREE
Y
LEAVE
N
VARSTHOLCL
*
HRS=1
ADDDB1000Z
1
LEAVE
Here 1000 is the time type where period balance should be ticked for this Ttype1000.
Here, you mentioned above as Varstfree, if Y then Leave.
For Students & Contractors, Planned hours is always "0"and it wont proceed further.
Srikanth
Hi,
For the point no 3,
What should i check for it?
Am i check the weeks. Suppose on the particular week he has worked for 5days and orked for 25 hours and in next week 1st two day's he has worked 10 hours then before completing the week he had worked more than 30hours so shall i calculate that time or i should calculate once week will be completed.
1st week 5 days 25 hours
2nd week 2 days 10 hours ----> shall i calculate this point =(35/30)
2nd week 5 days 15 hours ----> shall i calculate in this point= (50/30)
Clarify my doubt and then i will try to give a solution.
Regards,
Sankarsan
Hi Sankarsan,
Thankyou very much for the document and it was really helpful.
As per your above PCR ZWRK it will check for whether employee has worked 30 days or not for first accrual. And once it is accrued from second time onwards, how do I check for next 30 hours and that's where I got confused.
Srikanth
Hi Srinkanth,
Are writing the PCR for Time? then why are you using the operation NUM here..
Use HRS and get the value, can you please share you PCR as well..
Thanks
Sriram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.