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

Announcements

No record found.

News and Announcements icon
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
    32,157 Super User 2026 Season 1 on at
    They will both have the same document no. 
     
  • YUN ZHU Profile Picture
    99,084 Super User 2026 Season 1 on at
    The standard associates them through Document No. and Posting Date.
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    Dynamics_Decoded_Gokul Profile Picture
    487 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
    22,128 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,946 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,177 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 555 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans