Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Infor / Lawson Platforms
S3 Systems Administration
nightly job as pdf file
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
John Bonin
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5270
People Online:
Visitors:
51
Members:
0
Total:
51
Online Now:
New Topics
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
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
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
Infor / Lawson Platforms
S3 Systems Administration
nightly job as pdf file
Please
login
to post a reply.
6 Replies
0
Subscribed to this topic
27 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
hsuhsen
Basic Member
Posts: 23
10/29/2010 9:07 PM
My user would like to us to create a job that runs nightly, is distributed to two different users, and is a .pdf file by default.
Is there a way to do all of this using recdef? I know you can create and distribute the job, I'm just not sure about the file type.
Thanks!
Jimmy Chiu
Veteran Member
Posts: 641
10/30/2010 11:23 AM
Split
You can set the user option for "default report type" to PDF under portal. Then your distribute report will be viewed as PDF. If needed which i don't see a reason why, they can save it when viewing to a different location.
John Henley
Posts: 3351
10/30/2010 11:51 AM
Split
Also look into using bldxffiles as a step in a multi-step job to build PDF depending on how you have .cfg files set for PDF generation. =
Saurabh
Veteran Member
Posts: 94
10/31/2010 7:12 PM
Split
We have a vbscript which runs at a scheduled time. The vbscript calls the bldxffiles to create the pdf output and then saves it in a shared unc path which is accessible by the users.
Karen Sheridan
Veteran Member
Posts: 142
2/25/2011 2:06 PM
Split
We'd like to do this but create as CSV. It works correctly when typed at the command line, but is too long for tokendef.
It's been a while since I've done this and it was in WIndows. In Unix, can tokendef point to a "bat" file. Any gotcha's? Where do most folks store the file? Gendir/bin?
TIA,
Karen
hsuhsen
Basic Member
Posts: 23
2/25/2011 9:48 PM
Split
Here is the batch file that I run as a scheduled task on our Windows server. I'm not sure what the equivalent is on Unix. We run the job nightly using recdef, and this script runs after that to create the pdf file and move it to the directory.
echo off
rem This creates the .pdf file from the .prt file
D:\lsf90\gen\bin\bldxffiles SP lawson D:\lsf90\law\print\BVSD_LAWSON\ic233-10\1 IC233.prt
rem This moves the pdf file to the "pdffiles" directory (which I created on the server and granted aceess to for the users who wanted this)
cp D:\lsf90\law\print\BVSD_LAWSON\ic233-10\1\IC233.pdf d:\pdffiles\IC233\IC233%date:~-4,4%%date:~-10,2%%date:~-7,2%.pdf
you can use the bldxffiles C to create csv rather than the P for pdf.
EchoSchmidt
New Member
Posts: 2
8/13/2013 9:56 PM
Split
Saurabh,
We are trying to do something similar to this. Do you have an example vbscript that you have been using that I could use as a jumping off point for creating our own process?
Please
login
to post a reply.