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
Vendor file read
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:
394
Members:
0
Total:
394
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
Financial Management
Lawson S3 Financials
Vendor file read
Please
login
to post a reply.
7 Replies
0
Subscribed to this topic
43 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
slm4
Basic Member
Posts: 13
2/25/2013 1:02 PM
I have never tried to read or use the vendor file before. I have been ask to create a file of all of the vendors for export. I need to know the coding to read file sequentially and any checks I would need to do in order to create that. Thanks.
Georgette
Veteran Member
Posts: 52
2/25/2013 2:35 PM
Split
Hi Sim,
I am assuming this is a one time use?
I am a power user who uses either the Excel Add-In (KnowledgeBase Article 5164650 on how to install) or I write a Crystal Report. Both can be saved as csv files.
The file name is APVENMAST. I would check for Active Status and also the VEN_CLASS field for EMP (employee) type since it will have the social security number as the vendor id. You may also want to inquire if they want to exclude any other classes.
If you need it as a constant feed, then I am assuming a COBOL 4GL needs to be written. Perhaps someone else can assist with that as I do not have access in my current position.
Hope this helps!
Georgette
Greg Moeller
Veteran Member
Posts: 1498
2/25/2013 2:49 PM
Split
What will you be using to read the file? Cobol, Perl, Shell Scripting, Add-Ins, others?
Greg Moeller
Veteran Member
Posts: 1498
2/25/2013 3:43 PM
Split
Here is a "sample" sql you could run.
[code] select trim(ven.vendor) vendor, trim(ven.vendor_vname) vname, trim(ven.vendor)||'-'|| trim(ven.vendor_vname) vname1, trim(ven.tax_id) taxid, trim(ven.vend_acct) vend_acct from apvenmast ven where ven.vendor_group = 1 and ven.ven_class = 'SUP' and ven.vendor_status = 'A' order by ven.vendor [/code][
slm4
Basic Member
Posts: 13
3/4/2013 2:21 PM
Split
Cobol
slm4
Basic Member
Posts: 13
3/4/2013 2:51 PM
Split
Hi Georgette,
This will be an ongoing pull of vendors, so I am writing it in cobol and will schedule the job.
Georgette
Veteran Member
Posts: 52
3/4/2013 3:49 PM
Split
Sorry sim4, it has been a while since I've used cobol. My present position does not require for me to have access. All I know is the files are defined in workdef.
slm4
Basic Member
Posts: 13
3/4/2013 7:30 PM
Split
That's okay, thanks anyway.
Please
login
to post a reply.