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
AP Query
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
NonnieBear1776
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5162
People Online:
Visitors:
224
Members:
0
Total:
224
Online Now:
New Topics
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 S3 Financials
AP Query
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Boyd
Advanced Member
Posts: 39
2/1/2019 8:13 PM
I am looking to create a query that includes vendor #, vendor description, payment # and payment date. Any thoughts or help is appreciated.
JonA
Veteran Member
Posts: 1162
2/4/2019 8:26 PM
APPAYMENT for the vendor number, payment number and payment date. Link to APVENMAST for the vendor name.
O. Johnson
Basic Member
Posts: 8
2/5/2019 3:52 PM
Below SQL returns the data for one vendor for all checks cut in 2018:
SELECT ap.vendor AS vendor,
TRIM (v.vendor_vname) AS vendor_name,
TRIM (ap.invoice) AS invoice,
ap.tran_chk_amt AS check_amount,
ap.check_date AS check_date
FROM lawson.appayment ap, lawson.apvenmast v
WHERE ap.vendor = v.vendor
AND ap.void_seq <> 9999
AND TO_CHAR(ap.check_date, 'YYYY') = '2018'
AND ap.vendor = ' 36600'
Boyd
Advanced Member
Posts: 39
2/18/2019 1:52 PM
Thank you for the help. I have a query that is pulling total spend for an accounting unit for 2017. This results in many vendors being pulled into my query. Any thoughts on how to accomplish this from AP items coded to an accounting unit during a year.
O. Johnson
Basic Member
Posts: 8
2/18/2019 2:08 PM
Table APDISTRIB is going to have the coding, column DIS_ACCT_UNIT is the accounting unit it was coded to.
Boyd
Advanced Member
Posts: 39
2/18/2019 2:22 PM
Any idea where payment is stored so that it can be linked?
You are not authorized to post a reply.