Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
User Experience
Lawson Add-Ins for Microsoft Office
Vendor Query
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Chris Radcliffe
Past 24 Hours:
0
Prev. 24 Hours:
1
Overall:
5187
People Online:
Visitors:
241
Members:
0
Total:
241
Online Now:
New Topics
Lawson Landmark
LPL INSTR Functions
4/5/2024 8:32 PM
I'm writing a simple report using the Create R
Infor SCM
Translating 856 to get the ~ REF^CN^ field
4/3/2024 8:24 PM
We are trying to get the tracking number which is
IPA/ProcessFlow
Sample XML file create Flow
4/3/2024 3:43 PM
Hello everyone, I am new to creating XML files
Lawson S3 HR/Payroll/Benefits
bn105 error message
3/26/2024 6:40 PM
I need to change some of the set ups in our Life I
IPA/ProcessFlow
IPA executing Job
3/13/2024 7:08 PM
New to the IPA world and was wondering, can an IPA
Lawson S3 HR/Payroll/Benefits
Life Age Reduction on benefits plans
3/12/2024 7:15 PM
For our optional life we have an age based coverag
Lawson S3 HR/Payroll/Benefits
BN53.1 Add-In
3/7/2024 3:31 PM
We are migrating to Solstice. They require a
Lawson Business Intelligence/Reporting/Crystal
Domain Name Change
3/5/2024 7:45 PM
Our domain name needs to change and was hoping I c
S3 Customization/Development
Cobol calling Shell Script
2/29/2024 1:27 PM
Has anyone created or modified a Lawson Cobol prog
Infor ION
ION vs IPA
2/29/2024 1:24 AM
We had a person new to Lawson and Infor go to Info
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 Add-Ins for Microsoft Office
Vendor Query
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Boyd
Advanced Member
Posts: 39
6/26/2009 2:49 PM
Does anyone have any thoughts on creating a Query that will Pull in Vendor, Vendor ID, GL coding (A/U, Acct. etc.) and Payment number? I have been able to pull in all the information I need except for the Payment number.
Boyd
Tom Keller
Advanced Member
Posts: 42
6/26/2009 3:21 PM
It depends on how you want to search. The most reliable searches use criteria from the originating table.
To create a query by ledger account start with the APDIST table and then add the invoice info from APINVOICE and the Vendor Info from the APVENDMST table. The only problem is you can't access any of the APPayment tables directly when you start at the distribution level.
If you start with the APINVOICE table to include the Payment information you can't use the ledger accounts as criteria for the search.
Sherry Shimek
Advanced Member
Posts: 43
6/26/2009 3:32 PM
Tom is right that the APINVOICE table is the best way to get both the APDIST and APPAYMENT data in your query. APINVOICE has the greatest number of related tables of the most common AP tables. You can use the APDIST gl accounts as criteria if you select the APDISTRIB DIS-ACCOUNT's etc as fields in the query. (For example if looking for our income statements accounts, I have the criteria as APDISTRIB.DIS-ACCOUNT >= 400000)
Boyd
Advanced Member
Posts: 39
6/26/2009 5:34 PM
Thank you for all the help. I am almost there. The last item I am looking to include is check number. Can you tell me what table/field has this informaiton?
Tom Keller
Advanced Member
Posts: 42
6/26/2009 5:47 PM
Use the TRANS-NBR for the payment number rom the APPAYMENT table. If you are looking for the check amount use the PMT AMT from the CBCHECK.TRAN table. The PMT AMT from the APPAYMENT table only gives you the Pmt amount for that invoice. If you want the total payment amount you need to query the CB tables.
You are not authorized to post a reply.