on 12-04-2014 6:40 PM
Guys,
I have designed the following PCR to pay attendance bonus for the employees who work for entire month without any paid/unpaid leave.
The above PCR is been inserted in ZT00 of Payroll schema as shown below
When I run payroll, I cannot see wagetype 2005 (for att bonus) in the log.. below u can see the input, processing and output screen shots for PCR ZAT5 in the payroll log.
INPUT
PROCESSING
OUTPUT
Am unable to understand why the PCR is failing to process.. If u guys can help me out in achieving the results.
regards
Tahir
Hi Tahir,
Is the issue resolved? Plz suggest as what have you done to close it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Experts,
This thread is still active and am waiting for more replies.
plz reply
regards
Tahir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tahir,
Click on + in the your pcr line.
then you will be getting
Input
Processing
Output
Now if you will click on the input then you will get to know that what are those wage types are present in input table and which will be proceed by your PCR and it's logic.
If WT2005 is present in the Input table then only your PCR will work because you have designed current your pcr on that way.
Hope so you got it.
Regards,
Sankarsan
Hi Venkatesh,
Am looking to give away attendance bonus (during payroll run) to the employees who work for all the working days in a month (for the employees who dont take any paid or unpaid leaves). And for the same I have designed a PCR (you can see the screen shots posted in this same thread).
Tahir
Hi Venkatesh,
ILLUSTRATING THE FORMULA::
(1000+1006+1016 ) / number of working days in a month = X (say)
now attendance bonus = X * 2
where: 1000, 1006 and 1016 are the wagetypes
Number of working days = total days in a month excluding weekoffs
If the employee avails any leave, then no bonus shud be gives (Meaning if there is any entry in IT2001, the PCR shud not work)
regards
Tahir
Hi Tahir,
If your PCR is not proceed that means it's not getting input details based on the logic you have been written in the PCR.
Are you using time evaluation for actual working days calculation or else you are calculating in Payroll?
Change is your pcr like below.
Use /001 instead of WT2005 and after
PPPAR U
*
ADDWT *
Rest logic you add on which you have writtem already and at last you are using ADDWT * . There you will change with ADDWT 2005.
Check and tell me.
Regards,
Sankarsan
The way of your approach which you are following is not correct.
Since requirement is saying that you have to bring the value to one wage type where it is 1000,1006,1016 then cumulate it in one XXXX wage type or cumulation class etc now value is ready then you query this wage type XXXX then calculate XXXX/TADIVI = which is nothing but amount of XXXX(1000,1006,1016)/working days = rate and multiply it with 2 then you will get bonus amount
assume 1000+1006+1016 = 30000 then 30000/30 =1000*2 =2000 place it in variable and XXXX.
Then later query XXXX since it is available in IT with 2000(Bonus amount )
query unpaid absences and paid absences and subtract it from TADIVI then you will get a value i.e RTE=0 TADIVI TADIVI-unpaid, paid assume 30-(5+5) = 20 RTE =20 RTE?TADIVI =,> then just write AMT= Variable and addwt yyyy then show it on payslip.
we are calculating bonus amount separately and storing it in variable then later with another rule we are checking whether he is absent or not if not then pass the variable to wage type show it on the payslip else absent which is less than TADIVI then do not pass variable to wage type.
Regards
Venkatesh
Venkatesh,
Plz let me know if I have understood it correctly. You want me to write 2 PCRs.
PCR1: Add the 3 WTs and do the further calculations. (shud be insterted in payroll schema)
PCR2: Shud query if there is any leave/absence, if no then PCR1 shud be called and processed.
Am I correct?
Also plz let me know how can I sum up the 3 WTs and store the result in 4th WT
plz help
Tahir
Yes create 2 PCR's where you create 1 st one to calculate your attendance bonus amount i.e 1000+1006+1016/30 *2 and store it in one wage type and in variable.
Then in 2nd PCR you query the wage type which is out put of 1 st PCR then you write your logic whether employee is absent or not if yes do not do any thing else pass the amount from variable to another wage type and show it in the payslip.
Regards
Venkatesh
You are not supposed to query 2005 since it is not coming to out put table where we have to pass values to 2005 use peration WGTYP
WGTYP
1000
ADDWT 2005
1006
ADDWT 2005
1016
ADDWT 2005
Now you query wage type 2005
then you write logic what ever the way you wanted since it is available in out put table it can be queried further.
Regards
Venkatesh
Hi Tahir,
You have used PIT function and in the PCR called WT 2005. Where this WT it's not coming to input table then PCR will not be calling further.
So in the PCR you have to call different wage type which is present in input table and in the pcr as resultant will pass the WT2005 as ADDWT2005 operation.
I think you got it.
Regards,
Sankarsan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's very easy to know.
Suppose you have insert your custom PCR after ZLIT function line in XT00 subschema.Now when you will be running payroll log and details display payroll schema process then ZLIT function Output details would be Input for your next line PCR calculation.
Hope so you got it.
Regards,
Sankarsan
Waiting for more replies experts..
Tahir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you please check the wage type characteristic .
May be wagetype is not processing class you need to check ...
Revert me
If still problem there then we change the PCR ..
Regards
Sandeep Turkar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Wage type 2005 is not there in input table so it is not processing.
if you wanted to calculate 2005 it should be there in input table. Are you maintaining "2005" wage type in any of the Info type 0008, 0014,0015,0267 if not then you can not query wage type 2005 directly, You have to calculate the amount then you have to pass it to the "2005" then it works.
Regards
Venkatesh
Waiting for replies guys.. Plz do help as this is critically required.
regards
Tahir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.