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
general reporting question
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Raju
Past 24 Hours:
1
Prev. 24 Hours:
2
Overall:
5205
People Online:
Visitors:
291
Members:
0
Total:
291
Online Now:
New Topics
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Lawson S3 Procurement
ED501 Error: Map 850 not supported by /law/c15vda/lawson/test10/edi/bin/laws_out_91
11/12/2024 3:47 PM
Tried runnning ED501 and getting the atathced erro
Lawson Smart Office
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor CloudSuite
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:39 PM
Hi, I need help with an error on syteline while us
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Dealing with Lawson / Infor
Implementing Lawson v10 with Cerner Surginet, Case Cart Picking, and Quick Adds for the OR
10/29/2024 4:20 PM
Hi Everyone, I am wondering if there is any org
Lawson S3 HR/Payroll/Benefits
Canada Tax Calculation (Federal and Provincial) Issue
10/23/2024 5:00 AM
Initially, we had problem with CPP2 calculation is
Lawson S3 HR/Payroll/Benefits
CA Section 125 401k Plan
10/22/2024 10:13 PM
Does anyone have any recommendations on how to fac
S3 Systems Administration
Running AC120 deleted records from ACMASTER table
10/22/2024 3:40 PM
We recently ran the AC120 as normal and somehow it
Lawson S3 Procurement
RQ13 Approval Info
10/17/2024 2:12 PM
When a Requisition is approved on RQ13, what table
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
1369
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
general reporting question
Please
login
to post a reply.
5 Replies
0
Subscribed to this topic
22 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Phil Simon
Veteran Member
Posts: 135
7/12/2007 4:43 PM
I really enjoyed the series on reporting. Let me make sure that I understand XI's limitations with Lawson's OLEDB connector. While you get the benefit of security, you have the disadvantage of reporting on only "Lawson-approved"
relationships). As a result, more complex reports aren't possible without some creativity. You wrote about the benefits of doing Crystal Reports based on SQL queries. For this to work through Crystal Enterprise for light users (i.e., not hard core developers on their desktops), these "queries" would really have to be views stored in the dB, right?
Thanks in advance.
John Henley
Posts: 3353
7/12/2007 5:21 PM
Phil,
If you need to create relationships outside the "Lawson-approved" relationships, the way to do it is to use multiple OLEDB datasources within the same report, and link them together on the appropriate fields. I demonstrate this on one of the articles:
https://www.lawsonguru.co...ries-in-Crystal.aspx
So, you could theoretically create all of your reports using the Lawson OLEDB provider. Depending on the data volume, the tradeoff then becomes security vs. performance. Since the Lawson OLEDB provider has to go through more layers, it's slower than using a native database provider. In most cases if you're intimately familiar with Lawson data structures, conditional indexes, etc. you will gain tremendous performance advantages using native SQL. If performance is absolutely a requirement, use straight SQL and use another mechanism for security.
One suggested way to do that--using either LBI or Crystal Enterprise (BOE) XI--is to bind the selection parameters to the Lawson OLEDB provider which will limit the values which a user can select from (based on their Lawson security), and then use the native SQL provider to retrieve the actual data--using the selection criteria which you've limited based on their Lawson security. You can't do this with Crystal Enterprise 8, 9 or 10, since you can't bind the parameter selections to a database--you have to be using XI.
With Crystal, you can either report against the tables--in which case Crystal generates the SQL when retrieving the data, or you can write the SQL yourself and the datasource(s) for the report are called "commands". Once the reports are published to the Crystal Enterprise (or LBI) server, there is no interaction required on the part of the user to understand SQL--presumably a "report developer" or DBA would be the one to put the SQL together. The SQL is then embedded as commands in the .rpt file. It does NOT become a view in the database.
Views are useful if you have users who are creating reports (using the Crystal Designer NOT Enterprise) who don't need to understand the table relationships. A great simple example of this is the relationship between EMPLOYEE and PAEMPLOYEE. I cannot tell you how many times I've seen people join these two tables on just EMPLOYEE...which results in a table scan!
By putting together some simple views, report creators can then just pick their fields from a simple list.
Will
Veteran Member
Posts: 39
7/12/2007 5:22 PM
Phil,
As for your first statement about OLEDB and the benefit of security, all depends on what context you run reports. If end-users all have CR on their machine and enter logins at run time, they yes, Lawson security is enforced. If you publish reports through say LBI, then report will have to run under one logon, no matter who runs the report, hence the bursting capabilities with LBI.
You are right about Lawson OLEDB though, it is far from being flexible, it is slow but is definitely user-friendly, should you want end-users to develop their own reports.
As for non-Lawson OLEDB based reports, usually, it is easier to have stored procedures at the DB server level that are called by the report itself during run-time.
Phil Simon
Veteran Member
Posts: 135
7/12/2007 6:10 PM
Thanks, guys. Your series on reporting (and my own personal experience with the Lawson OLDEB connector confirms this). However, I know reporting is as much an art as a science, and I think about the best way to maximize performance and security concurrently.
To that end, John - you wrote:
One suggested way to do that--using either LBI or Crystal Enterprise (BOE) XI--is to bind the selection parameters to the Lawson OLEDB provider which will limit the values which a user can select from (based on their Lawson security), and then use the native SQL provider to retrieve the actual data--using the selection criteria which you've limited based on their Lawson security. You can't do this with Crystal Enterprise 8, 9 or 10, since you can't bind the parameter selections to a database--you have to be using XI.
***
So I completely understand, you're talking about having multiple versions of the same report, right?
If LAUA security gives person A access to all employees in Company 1 on EMPLOYEE, then report_A would have a parameter of company = 1.
If LAUA security gives person B access to all employees in Company 2 on EMPLOYEE, then report_B would have a parameter of company = B.
John Henley
Posts: 3353
7/12/2007 6:30 PM
No, it would be a single version of the report. The selection criteria would have COMPANY = {parameter}. The values that are available to whomever is logged in to run the report would be based on that user's Lawson security.
Phil Simon
Veteran Member
Posts: 135
7/12/2007 6:36 PM
Oh, I think that I got it.
You initial connect to the data source via LAWSON OLEDB and then write the SQL (using the native SQL provider) to maximize performance and apply Lawson security simulanteously, right?
Thanks.
Please
login
to post a reply.