Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Getting from vendinvoiceinfotable to subledgerjournalentry

(0) ShareShare
ReportReport
Posted on by 5

I'm working on a report where i have to display information about vendor invoices, one of the requirements is to display related ledgeraccount for pending invoices. So i figured out that this info is im table subledgerjournalaccountentry or subledgerjournalentry. The thing is i can't figure out how to get the ledgeraccount starting from table vendinvoiceinfo table.

The only clue i got that i have to use the sourcedocument header or sourcedocumentline fields and from there probably go to accountingdistribution. I figured this out through excessive debugging of the form subledgerjournalaccountentry but the datasource is a tmp table (subledgerjournalaccountentrytmptable).

Any idea what i'm missing here?

Thanks in advance. 

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,430 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,043 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans