Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Performance Management
Lawson Business Intelligence/Reporting/Crystal
Need a report that shows previous pay rate
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Kyle P.
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5177
People Online:
Visitors:
206
Members:
0
Total:
206
Online Now:
New Topics
Lawson Landmark
Spreadsheet Designer Error "Unknown state selection"
9/20/2024 3:19 PM
I am looking for assistance, I am trying to upload
Lawson S3 Procurement
Adding Std Comments to all PO's
9/17/2024 7:06 PM
Does anyone know of a way to get trailing comments
Lawson S3 Procurement
Missing po info
9/4/2024 3:34 PM
We are experiencing an issue where freight account
Lawson S3 Procurement
We need to charge multiple items to 1 dept no mattter who orders the items. Our POs are out of company 1000 and cost centers are set up in company 1300. Does anyone else have this issue and have a way around it?
8/16/2024 1:55 PM
We have 3 items that need to be charged to the lab
Infor CloudSuite
Dbimport - only importing 1st record of file
8/13/2024 3:51 PM
In FSM Cloudsuite, I've got a file containing
Lawson S3 Procurement
How does everyone charge an item to 1 dept no matter who orders the item?
8/12/2024 6:20 PM
We have 3 items that need to be charged to the lab
IPA/ProcessFlow
WFWORKUNIT table, WF-STATUS field value set
7/25/2024 8:51 PM
documentation I can find has values for this field
Lawson S3 HR/Payroll/Benefits
Benefit change/termination rules
7/23/2024 2:22 PM
Can old benefit change/termination rules be delete
IPA/ProcessFlow
this.bean is null
7/19/2024 5:42 PM
Getting this error when my IPA gets to the second
IPA/ProcessFlow
Converting UTC Date to EST Date using Javascript
7/16/2024 2:53 PM
I'm looking for how others are performing a co
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1360
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Performance Management
Lawson Business Intelligence/Reporting/Crystal
Need a report that shows previous pay rate
Please
login
to post a reply.
2 Replies
1
Subscribed to this topic
137 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Frank Z
Advanced Member
Posts: 32
6/2/2010 5:11 PM
I am building a report that shows current pay rates, effective date, reason for the change, as well as the previous rate. I have everything except the previous rate working, and I keep hitting the wall. My logic has been to use a nthLargest=2 on the PRRATEHIST.BEG_DATE field. To pull the previous pay rate I then use the formula:
if {PRRATEHIST.BEG_DATE} =
NthLargest (2, {PRRATEHIST.BEG_DATE}, {EMPLOYEE.EMPLOYEE})
then {@Pay Rate}
Even though the {NthLargest (2, {PRRATEHIST.BEG_DATE}, {EMPLOYEE.EMPLOYEE})} field returns a value that is equal to the 2nd most recent begin date, it is returning values of 0. Can anyone lead me in the right direction to get this report up and running?
TIA
John Henley
Posts: 3353
6/2/2010 6:07 PM
In order to show "previous" values on the same detail line as the "current" value, you either need to create a subreport (passing it the company, employee, and NthLargest (2, {PRRATEHIST.BEG_DATE}, {EMPLOYEE.EMPLOYEE}) ) to retrieve the correct record, or use SQL a command that includes a subquery. I have found the latter option to be much more efficient as well as reliable (remember that multiple changes could exist for the same day, so you might have multiple seq-nbr values for the same date). Here are a couple of samples that do similar things:
Shane Jones
Veteran Member
Posts: 460
6/2/2010 7:47 PM
I built a database view that shows each pay record with the previous value. It shows everything on one line. When the associate is a new hire it just shows a null for the the previous value. This has been used for pay rates and other HRHistory table items. However, to John's point, the seq-nbr has caused some issues with the output and I am still trying to make sure that it works correctly everytime. (garbage-in garbage-out)... *the issue is more with corrections that do not display correctly.
Please
login
to post a reply.