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:
TomV
Past 24 Hours:
1
Prev. 24 Hours:
2
Overall:
5186
People Online:
Visitors:
195
Members:
0
Total:
195
Online Now:
New Topics
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
Infor ION
ION vs IPA
2/29/2024 1:24 AM
We had a person new to Lawson and Infor go to Info
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
1348
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 Business Intelligence/Reporting/Crystal
Looking for the SQL behind a Lawson report
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
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
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
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
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
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
Interesting idea Tom. I'll have to give that a try myself.
Tomwise
Advanced Member
Posts: 32
7/15/2010 10:07 AM
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
You are not authorized to post a reply.