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
joining these 2 tables
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:
53
Members:
0
Total:
53
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
joining these 2 tables
Please
login
to post a reply.
3 Replies
1
Subscribed to this topic
45 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
wally
Basic Member
Posts: 11
1/13/2016 12:25 AM
I am trying to join two tables, APINVOICE and APDISTRIB. Can you please help me understand the following below which is posted on
https://www.lawsonguru.co...ables/APINVOICE.html
Scroll down to the "one to many relationships" then to the APDISTRIB part.
Is that saying I need to join API-OBJ-ID to both APD-API-OBJ-ID and APD-DIST-SEQ-NBR or is it saying I have a choice between the two?
Kwane McNeal
Veteran Member
Posts: 479
Helpful Replier
Thanks for being such a helpful replier!
MVP
You're an MVP!
1/13/2016 12:49 AM
Split
The link is with OBJ-ID. The reason SEQ-NBR is also needed is that it's possible that there are multiple distributions for a single invoice, usually when you have partial pays, or recurring invoices and the like.
wally
Basic Member
Posts: 11
1/13/2016 12:54 AM
Split
so then I link API-OBJ-ID to "both" APD-API-OBJ-ID AND APD-DIST-SEQ-NBR?
John Henley
Posts: 3366
New Poster
Congrats on posting!
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader art thou!
1/13/2016 12:26 PM
Split
No, you left outer join from APINVOICE (API) to APDISTRIB (APD) by joining API.OBJ_ID to APD.API_OBJ_ID.
You do not include APD-DIST-SEQ-NBR in the join.
Please
login
to post a reply.