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 :
Microsoft Dynamics AX (Archived)

PurchPurchaseOrder Report not showing VAT Amount by line?

(0) ShareShare
ReportReport
Posted on by 1,813

Hii,

I run this report after Purchase Order confirmation from AP -> PO -> Purchase Tab -> Purchase order confirmations -> Preview/Print -> Original.

We have customized the design of this report in VS. After the new requirement, I added new column TaxAmount at the line level. 

I added another row in the summary area at the bottom for SumTax from PurchPurchaseOrderDS and its showing correct value of VAT sum.

But VAT is not showing at Line level.

Can I get TaxAmount from TaxJournalTrans table in class PurchPurchaeOrderDP -> setPurchPurchaseOrderDetails  and assign to purchPurchaseOrderTmp.TaxAmount =  (TaxJournalTrans).SourceRegulateAmountCur    but im not getting the relation.  Cant find this table PurchLineAllVersions in AOT. 

Any idea how to get TaxAmount  at line level.

Thanks,

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    István Orosz Profile Picture
    2,137 on at

    Hi Rana,
    PurchLineAllVersions is a view, which gathers data from two other views, PurchLineArchivedVersions and PurchLineNotArchivedVersions (which goes back to PurchLine and PuchLineHistory tables). TaxJournalTrans table has a client static Amount taxAmount() method, isn't it something you can use?

    Kind regards,

    István

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans