Hi all,
In the vendor invoice journal we have a useful view pressing in the button "View distributions". There we can see per invoice line the postings that would be done or were done for each invoice line. Also there info about the taxes.
I need to access to this information in code with a query but I find the table structure a little confusing. The tables are AccountingDistribution, SourceDocumentHeader, SourceDocumentLine, AccountingEvent, ...
Anyone have any idea how create a query that gives from an invoice all the information per invoice line that we can see in the tree that is on the left side of the Accounting Distribution form?
Thanks!