on 12-08-2016 8:53 AM
Dear Experts;
I need to compare the date of a field in IT0041 "03" with the termination date of the employee and check if the date in 41 is after the termination date then the employee should pay a specific amount based on the number of days difference.
Kindly help me know how can i do this.
Thanks in advance.
Regards;
Lobna
You should be able to use Payroll Operation NUM to identify the number of days between the termination and the end of the current Payroll Period and the number of days between the date 03 on IT0041 and the end of the current Payroll Period, transfer each of these values into a different Temporary WTs, and then identify the difference between these 2 Temporary WTs. As for the "specific amount", it could be assigned directly in the pcr (as in AMT=100) or through a constant from V_T511K.
Try to create the pcr, and if you have problems, post a screen capture of it and of the section of the Payroll Schema where you inserted it (so that it shows the Function calling the pcr and the values in Par2 and Par3).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lobna, please read the documentation attached. Maybe you can use the operation NUM reading type of date in IT0041.
Hope this helps
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.