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 NAV (Archived)

How to get the amount of the total price of a sales order.

(0) ShareShare
ReportReport
Posted on by 450

So I have a sales order and i'm trying to get the price that's inside of the order's "sales line". Now any field i seem to return it keeps giving me a value of 0,00. Any way i am able to retrieve the "Total Incl. VAT" price?

EDIT:

I found out the total price including VAT isn't a field but a Source Expression but that leaves me even more clueless on how to get the value.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    You need to call calcfields function if the field is a flowfield. For example SalesHeader.Calcfields("Amount Including VAT");

    Tero

  • InsertX Profile Picture
    450 on at

    I'll give this shot. Also i was wondering (it's to achieve the same but anyway) in "Sales Line" there is a function called "CalcVATAmountLines". Since someone told me i should take a look at this i was wondering as well in what way i would be able to use that function to get me there?

  • Verified answer
    Community Member Profile Picture
    on at

    CalcVATAmountLines is used to calculate the VAT amount per VAT Group. You may need this in reporting VAT breakdown on a sales document, but not here. Way too complicated as it returns you A bunch of lines.

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
TAHER_El_Mehdi Profile Picture

TAHER_El_Mehdi 2

#1
sliderxb Profile Picture

sliderxb 2

#1
broberts Profile Picture

broberts 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans