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:
Jeffin Joy
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
4988
People Online:
Visitors:
59
Members:
0
Total:
59
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
Roger French
1315
mark.cook
1244
Chris Martin
825
Forums
Filtered Topics
Unanswered
Unresolved
Active Topics
Most Liked
Most Replies
Search Forums
Advanced Search
Prev
Next
Forums
Financial Management
Lawson S3 Financials
Vendor file read
Please
login
to post a reply.
7 Replies
0
Subscribed to this topic
45 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
MVP
You're an MVP!
New Poster
Congrats on posting!
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader art thou!
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
MVP
You're an MVP!
New Poster
Congrats on posting!
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader art thou!
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.