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.
  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 77,925 Super User 2025 Season 1 on at
    Relationships between tables Purch_ Inv_ Line + Item Ledger Entry
    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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans