Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Human Capital Management
Lawson S3 HR/Payroll/Benefits
Reporting Hierarchy
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Chris Radcliffe
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5187
People Online:
Visitors:
250
Members:
0
Total:
250
Online Now:
New Topics
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
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
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
1351
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Lawson S3 HR/Payroll/Benefits
Reporting Hierarchy
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
mil0n023
Veteran Member
Posts: 63
8/30/2006 7:43 PM
In Crystal is it possibel to develop a reporting hierarchy for the organization (i.e. dept's flowing up through managers, directors, etc.)?
If so, where can I get this data?
John Henley
Senior Member
Posts: 3348
8/30/2006 9:22 PM
Assuming you've built out your supervisor structure in Lawson, this data can be retrieved from the HRSUPER table. The issues are 1) how many levels to go, 2) what to do about people who report to themselves or no one, 3) Lawson doesn't handle indirect supervisor/dotted lines, etc. To do it quickly, you could just left outer join xx number of levels, where xx is a reasonable number, like 5 or 8 or 10, etc. To do it really correctly, you'd want to created a stored procedure that recursively walks up the hierarchy until all levels are exhausted.
Travis Cox
Basic Member
Posts: 4
9/5/2006 5:13 PM
if you are using oracle for your db you can take advantage of the hierarchical query feature by adding the following as a crystal sql expression
select name-or-whatever
from employee
start with supervisor is null
connect by prior employee = supervisor;
John Henley
Senior Member
Posts: 3348
9/6/2006 10:21 AM
MSSQL 2005 has this feature now as well--search for "recursive queries". If you're using MSSQL 2000, you can simulate it by writing a procedure--search OnLine Library for "expanding hierarchies".
jbullman
New Member
Posts: 1
9/15/2006 2:54 PM
For several recent versions of Crystal you can also set up a hierarchy directly in the report design. Link the EMPLOYEE table to HRSUPER to another copy of EMPLOYEE. That last link should be a left outer join. Group on the employee's ID ({EMPLOYEE.EMPLOYEE}), and then choose Report/Hierarchical Grouping. Enter the parent of the employee ID from the second copy of the EMPLOYEE table.
I can spell this out more carefully if anyone needs.
You are not authorized to post a reply.