Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Financial Management
Lawson S3 Financials
Add Image Link in AP150 Output
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Saef
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5226
People Online:
Visitors:
293
Members:
1
Total:
294
Online Now:
sreeP
New Topics
User Group Announcements
Carolina User Group Meeting
12/20/2024 3:15 PM
Date & Time: February 6, 2025, 8:30am - 4:00pm
S3 Systems Administration
ADFS certificate - new cert
12/3/2024 9:38 PM
The certificates on the windows boxes expired and
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 S3 HR/Payroll/Benefits
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
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
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
1372
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
Financial Management
Lawson S3 Financials
Add Image Link in AP150 Output
Please
login
to post a reply.
6 Replies
0
Subscribed to this topic
43 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Giulia
Basic Member
Posts: 12
7/4/2014 2:33 PM
We use Image Express by MHC to scan and store all of our AP Invoices. We would like to add a link/hyperlink to the AP150 output report so that a user can see the scanned image when they click on an invoice number in the report. I have been trying to figure out a way to do this via Smart Reports Designer but have been unsuccessful. Has anybody else been able to do this either through Smart Reports Designer, or through any other approach. Or has anybody been successful in re-creating the AP150 output in a Crystal Report?
Some background, we run a job hourly that creates the image links and stores them in a custom table in Lawson. The table also has company, vendor and invoice as columns. So the image data is ready to be joined to the AP150 report data, but I can't seem to figure out how to do this.
Ari
Veteran Member
Posts: 49
7/9/2014 12:02 AM
If you have LBI\Reporting Services this would be fairly straight forward.
First you need to set you AP150 program config file to generate an XML output. Next create your Crystal Report using the OLE DB Query Builder for Database access. Connect the Query Builder to Reports and find the AP150 report with the XML output. After you have established the connection pick the fields and format you want on the report. Next create a second Database connection either with OLE DB or ODBC(If you use OLE DB you will have had to have added the Custom Table in the Lawson Metadata). Select the Custom Table you store the URL Link in and add it to you Database connections. Now Link the first connection to the second by some unique identifying field(s). You can now add the URL field to your report output. Be sure to set URL field as a Hyperlink in Crystal. Now add the report in Reporting Services. If you set an override ID and Password you will need to do it for both the OLE DB and ODBC links.
Giulia
Basic Member
Posts: 12
7/11/2014 12:51 PM
This is great! Thank you so much. I will try it out. I have one question though. How will the report be refreshed with the latest AP150 XML data?
Ari
Veteran Member
Posts: 49
7/11/2014 6:35 PM
OK. The assumption here is that the AP150 report generating job is scheduled or that someone runs the job before the Crystal report is run. The report needs to be refreshed because the Crystal report is looking at the XML data that is essentially report data for the last time it ran. Also, remember that the Crystal Data Connection is going to a specific print directory to get the AP150 XML file. That means that each time the AP150 job is run it needs to go to the same print directory. (In other words the same user must run the same job.) Also, when you are saving the Crystal report in the Designer, remember to click off the option to save data with report.
Giulia
Basic Member
Posts: 12
7/14/2014 1:58 PM
Sorry, one more issue to mention. We are an iSeries shop. So a users print directory is not static. The path is static to a certain point but then the actual print files are saved in dynamically created and named folders. So for example, if our AP Manager runs AP150 twice in one day the files are not over written but rather saved in two separate folders. The folder directories for the two jobs would like: \\cai501\LAW9\law\print\ACCGS\kg150\1\331161\AP150.xml and \\cai501\LAW9\law\print\ACCGS\kg150\1\331912\AP150.xml. Do you know if the OLE DB connection will know which is the latest file and pick it up?
Ari
Veteran Member
Posts: 49
7/14/2014 7:19 PM
OK. I didn't realize you were an AS400 shop. In Windows the User Print directories do not change if the Job is the same name. The print and XML files just get overridden. The 331161 and 331912 directories do not exist. This would be a problem because I don't think the OLE DB connection can be dynamically redirected to a different directory for the AP150 XML file. I think the only way around this would be to change the AP150 job(kg150) to a multi-step job where the second step is a script that copies the latest PA150 XML file to a static directory where the OLE DB connection is pointed to.
Giulia
Basic Member
Posts: 12
7/15/2014 1:27 PM
Ok, that makes sense. Thank you so much for all your help!!!!! WAY way more helpful then Infor Support!!!
Please
login
to post a reply.