web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Relationships between tables Purch_ Inv_ Line + Item Ledger Entry

(1) ShareShare
ReportReport
Posted on by 15
Hello!
I'm having trouble with two questions, please help:
1. How to find relationships between tables?
   How to join them?
   Purch_ Inv_ Header + Purch_ Inv_ Line + Item Ledger Entry
   I am joining them on document_no
   But for some reason, not all Purch_ Inv entries are appearing in the Item Ledger Entry
   Documents in Purch_ Inv look like PPINV-00000076
   In the Purch_ Inv_ Header table, I have 181 such documents, but only two have appeared in the Item Ledger Entry
   What could be the reason for this? Please advise.
I have the same question (0)
  • Verified answer
    YUN ZHU Profile Picture
    95,748 Super User 2025 Season 2 on at
    These two tables are not directly related because there is a one-to-many situation. Item Ledger Entries are the movement of items (Quantity), and Purchase_Inv_Line is the amount. Multiple invoices may be issued for a line of item receipt, or a Charge (Item) may exist.
    If you need to associate these two tables, you need to use Value Entire.
    Invoice No.
    Item Ledger Entry No.
     
    Hope this helps.
    Thanks.
    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,092

#2
YUN ZHU Profile Picture

YUN ZHU 663 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 515

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans