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
Looking for the SQL behind a Lawson report
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Brady
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5274
People Online:
Visitors:
464
Members:
0
Total:
464
Online Now:
New Topics
Lawson S3 Financials
Applying credits to open AP invoices
4/28/2025 1:26 PM
Hello, I am new to the Lawson system and after ru
Lawson S3 Financials
Lawson APIA
4/28/2025 1:22 PM
Has anybody recently installed Lawson's APIA m
Lawson S3 Procurement
Tolerance Settings
3/31/2025 2:01 PM
I've been trying to set a tolerance for some t
Dealing with Lawson / Infor
Printing Solutions other than MHC
3/27/2025 1:00 PM
What are others using for printing solutions besid
Lawson S3 Procurement
Green check marks in Lawson 9.0.1
3/20/2025 4:55 PM
Hi, How to remove green check mark on items when o
Lawson S3 HR/Payroll/Benefits
Pay Rate History to Show All Positions
2/26/2025 3:34 PM
Does anyone know how to modify payratehistory.htm
Infor CloudSuite
How to build a Pre-Prod tenant
2/7/2025 1:28 AM
After we finished our implementation and ended our
Lawson S3 Procurement
Browser issue with RQC Shopping
1/28/2025 5:49 PM
Since the recent Chrome/Edge updates, our RQC shop
Lawson S3 Procurement
S3-Procurement New Company
1/22/2025 10:38 PM
My Accounting Department has created a new Company
S3 Customization/Development
JUSTIFIED RIGHT
1/15/2025 7:41 PM
Is there a way in Lawson COBOL to make a character
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
1375
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
Looking for the SQL behind a Lawson report
Please
login
to post a reply.
6 Replies
0
Subscribed to this topic
22 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Wade-T
Veteran Member
Posts: 54
7/14/2010 12:32 PM
Hello,
I need to write a Crystal report that is similar to the AP265 but with some adjustments. I was wondering where you could find the SQL behind the existing Lawson report to use as my begining point.
Is this how you would start?
Thank you,
Wade
Chris Martin
Veteran Member
Posts: 277
7/14/2010 12:54 PM
Split
Unfortunately, the backend of a Lawson program is COBOL, not SQL. If you can read COBOL, then this will be easy. If you can't, take a look at the AP Technical Text for AP265. This will get you started as it lists the tables referenced in the code. Beyond that, you are looking at reverse engineering the COBOL code.
Tomwise
Advanced Member
Posts: 32
7/14/2010 1:51 PM
Split
You could have your dba run a trace on your session while you run the AP265 app. It will capture all the SQL statements that you are generating. You could also use Toad or Oracle OEM to capture the SQL.
Wade-T
Veteran Member
Posts: 54
7/14/2010 2:18 PM
Split
I have the AP technical text and will also give the trace option a try.
Thanks for the info.
Ruma Malhotra
Veteran Member
Posts: 412
7/14/2010 4:45 PM
Split
The AP265 is the payment register report and I built it using 4 tables which are APPAYMENT, APINVOICE, APVENMAST and CBBANKINST. The Payment status which is a derived field in Lawson will need to built in crystal since this is not a field in the database.
Chris Martin
Veteran Member
Posts: 277
7/14/2010 7:24 PM
Split
Interesting idea Tom. I'll have to give that a try myself.
Tomwise
Advanced Member
Posts: 32
7/15/2010 10:07 AM
Split
Chris,
We do this all the time. It's how we figured out Lawson Applications didn't work with their Time Managment application that they where selling and we bought (4 years ago). We saw that Lawson was looking for five blanks in a field and Time Management was looking for one blank, so the intergration would never work. We had to tell Lawson how to fix their procedures and triggers in Time Management to work with Lawson, they put our patch as one of their releases.
Tom
Please
login
to post a reply.