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...
Suggested Answer

How to Link Posted Purchase Invoice Lines with General Ledger Entries

(1) ShareShare
ReportReport
Posted on by 6
Hi everyone, I am trying to merge the posted purchase invoice lines with general ledger entries, but I could not find a key to merge. I know that there are line no in the posted purchase invoice lines, and I can find ledger entry no in the g/l entries. Unfortunately, the order of line no does not match the order of ledger entry no.
 
I know they have the same document no, but I need to combine these two tables in the lines level. If I only use the document no as the key, then I cannot make sure each line is combined correctly.
 
Under this situation, how should I merge these two tables in Power BI? Please note that I want to combine posted purchase invoice LINES instead of posted purchase invoices.
 
Thanks!
 
 
I have the same question (0)
  • Valentin Castravet Profile Picture
    31,481 Super User 2025 Season 2 on at
    They will both have the same document no. 
     
  • YUN ZHU Profile Picture
    95,720 Super User 2025 Season 2 on at
    The standard associates them through Document No. and Posting Date.
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    Dynamics_Decoded_Gokul Profile Picture
    463 on at
    Hi, 
     
    If you have some posted purchase lines just navigate to the Value entries from value entries we have action called View G/L entries. 
     
    Table in the back end is G/L - Item Ledger Relation
    With help of this table we can map the relationships. 
     
    Thanks 
    Gokulnath
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,441 Super User 2025 Season 2 on at
    Unique combination of Document No., Posting Date you could use these fields to align lines between the two tables.

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,664

#2
YUN ZHU Profile Picture

YUN ZHU 960 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans