Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
S3 Customization/Development
PRTIME
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
TomV
Past 24 Hours:
1
Prev. 24 Hours:
2
Overall:
5186
People Online:
Visitors:
201
Members:
0
Total:
201
Online Now:
New Topics
Lawson Landmark
LPL INSTR Functions
4/5/2024 8:32 PM
I'm writing a simple report using the Create R
Infor SCM
Translating 856 to get the ~ REF^CN^ field
4/3/2024 8:24 PM
We are trying to get the tracking number which is
IPA/ProcessFlow
Sample XML file create Flow
4/3/2024 3:43 PM
Hello everyone, I am new to creating XML files
Lawson S3 HR/Payroll/Benefits
bn105 error message
3/26/2024 6:40 PM
I need to change some of the set ups in our Life I
IPA/ProcessFlow
IPA executing Job
3/13/2024 7:08 PM
New to the IPA world and was wondering, can an IPA
Lawson S3 HR/Payroll/Benefits
Life Age Reduction on benefits plans
3/12/2024 7:15 PM
For our optional life we have an age based coverag
Lawson S3 HR/Payroll/Benefits
BN53.1 Add-In
3/7/2024 3:31 PM
We are migrating to Solstice. They require a
Lawson Business Intelligence/Reporting/Crystal
Domain Name Change
3/5/2024 7:45 PM
Our domain name needs to change and was hoping I c
S3 Customization/Development
Cobol calling Shell Script
2/29/2024 1:27 PM
Has anyone created or modified a Lawson Cobol prog
Infor ION
ION vs IPA
2/29/2024 1:24 AM
We had a person new to Lawson and Infor go to Info
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
S3 Customization/Development
PRTIME
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Chesca
Veteran Member
Posts: 490
3/7/2014 7:04 PM
Does anybody know if I can use PRTIME to report a breakdown of salary information for an employee within a specific time period?
BarbR
Veteran Member
Posts: 306
3/7/2014 7:18 PM
Not sure what you mean by breakdown, but yes. Here is a sample SQL.
select employee, pay_sum_grp, job_code, hm_process_lev, process_level, hours, department, tr_date, per_end_date, date_stamp
from PROD.PRTIME prt where company=1000 and employee = 12345 AND
prt.date_stamp >= '01-JAN-2013' AND prt.date_stamp <= '31-DEC-2013'
order by per_end_date, pay_sum_grp
Chesca
Veteran Member
Posts: 490
3/7/2014 7:28 PM
Thank you, this is exactly what I am looking for. Actually I got an email from one of my users asking me to create a batch report program for requests recevied for a breakdown of salary information for an employee by pay types in X class. So I am assuming she wants a report by employee listing all the pay types that are in X class.
BarbR
Veteran Member
Posts: 306
3/7/2014 7:46 PM
Here is another example that relates to Pay Classes that you might find useful.
select emp.employee, (select TO_CHAR(sum(hours), '99999990.99')
from PROD.prtime prt where company = 1000 AND employee = 12345 AND (prt.date_stamp >= '26-JAN-2012' AND prt.date_stamp <= '08-FEB-2012')
AND pay_sum_grp IN (select psg.pay_sum_grp FROM PROD.psgrelate psg
WHERE psg.company = 1000 AND psg.pay_class = 'MRT' AND psg.wages_flag = 'I')) AS hours,
(select TO_CHAR(sum(wage_amount), '99999990.99')
from PROD.prtime prt where company = 1000 AND employee = 12345 AND (prt.date_stamp >= '26-JAN-2012' AND prt.date_stamp <= '08-FEB-2012')
AND pay_sum_grp IN (select psg.pay_sum_grp FROM PROD.psgrelate psg
WHERE psg.company = 1000 AND psg.pay_class = 'MRG' AND psg.wages_flag = 'I')) AS amount
from PROD.employee emp where emp.company=1000 and emp.employee = 12345
Chesca
Veteran Member
Posts: 490
3/7/2014 7:53 PM
Oh wow, this is one is even more helpful, thanks!!! I was actually trying to figure out how to select in 'RET' when I saw your post.
BarbR
Veteran Member
Posts: 306
3/10/2014 11:03 AM
You're welcome! I didn't know until your second post that you were looking for pay types within a pay class.
You are not authorized to post a reply.