Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Infor / Lawson Platforms
S3 Systems Administration
Finding Employee 'active' groups during a time period
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Wayne Willis
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5190
People Online:
Visitors:
316
Members:
0
Total:
316
Online Now:
New Topics
Lawson Landmark
Executing IPA from PR160
5/3/2024 2:46 PM
We're facing a situation where we need to upda
IPA/ProcessFlow
Executing IPA from PR160
5/3/2024 2:46 PM
We're facing a situation where we need to upda
S3 Customization/Development
Cobol - Extract Current Time
4/24/2024 7:21 PM
How do you extract just the Current System Time in
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
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
1354
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 Systems Administration
Finding Employee 'active' groups during a time period
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
oregon
New Member
Posts: 4
7/15/2009 10:43 PM
Hi..
I am new to Lawson and I have a question that is probably pretty obvious to most Lawson users.
Question: What Lawson database tables do I need to use in order to get a group of ‘Active’ employees during a specific time period.
Example:
The time period might be from 2007 to 2009, and I need all the acitve employees during that time period.
I am having a hard time finding history and period where a group of employees were active.
If anyone could help me out, I would be very appreciative of their time.
Take care…
John Henley
Senior Member
Posts: 3349
7/16/2009 12:45 AM
Oregon, there are several parts to the answer.
First, historical "as of" data is stored in the HRHISTORY table, which has records for each employee, effective date of the change, and the new field value effective on that date. One of the elements used to store that data is a field number.
In Lawson HR, each data element has a field number. So the second part of the answer is that it depends on your organization's definition of "active", i.e., is it based on an employee's status, or is it the absence of a term date? Depending on that, you would need to look at a different field stored in HRHISTORY.
Another aspect of this issue is that the "track history" flag needs to be turned on via HR10 for any fields you want to use for effective date reporting. If the flag is turned on post-implementation, history will only be kept for that field for changes made after the flag is set--Lawson has no way of going back in time and rebuilding it.
If you converted data into HR as part of your implementation, one of the conversion steps -should- have been the conversion of history--at least for the values current as of the conversion, and also ideally for values prior to the conversion. I have done conversions where we have converted some values such as status codes, pay rates, going back for decades!
So, once you know which fields to look at in HRHISTORY, the last part of the puzzle is to find the employee's value "as of" a given date.
That is the basis for how this report works:
https://www.lawsonguru.co...54096&id=3612826
It returns employee data "as of" a given date, and you would then use Crystal selection criteria to select whatever (status code, "blank" term date, etc) to include the desired employees.
oregon
New Member
Posts: 4
7/20/2009 2:29 PM
John...
Thank you for your time and advice.
This is a tough one for me, as a 'point in time' report from lawson (to me) was kinda tough.
My final solution was to use a pay perid and a check to find a active user. I guess my logic was: 1) If a person has a paycheck, they were active during that period they actually worked. (-14 days from the check date).
Our HR departments seem to like the report. (crossing my fingers they accept the report).
But thank you.... I have actually learned alot about Lawson looking at the HRHistory table. Thank you for pointing me in that direction.
riegerj
Veteran Member
Posts: 44
8/25/2009 7:42 PM
Oregon,
I know I am kind of late on this but I would say be careful using a paycheck as an indicator of a person being active. They could have been on a leave of absence or their paperwork could have been delayed and maybe they didn't get into the system in time so they were paid a period late. Maybe you don't have these issues at your organization, but it's something to watch for. The HRHISTORY on an emp-status or term date is probably a lot safer. Good luck!
Jen
You are not authorized to post a reply.