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

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Amount in the sales header

(0) ShareShare
ReportReport
Posted on by 4,824

Hi expert, Does the field amount in the sale header reflect the total amount field of the sales for the sales? In our system, the amount for most of the sales orders is correct, but some orders has zero in the amount in the sales header even though there are values in the sales line. Please advise! Thank you!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Alexander Ermakov Profile Picture
    28,094 on at
    RE: Amount in the sales header

    Usually release of the order and opening it back forces recalculation. Alex A mentioned this already, I support this idea.

  • Suggested answer
    Tharanga Chandrasekara Profile Picture
    23,118 on at
    RE: Amount in the sales header

    If the value goes as 0 then try releasing sales order as Alex mentioned.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Amount in the sales header

    If you want to see the Total Amount field of Sales Line, you can create new flow field as Order Amount in Sales Header with following expression.

    Sum("Sales Line"."Line Amount" WHERE (Document Type=FIELD(Document Type),Document No.=FIELD(No.)))

    Line Amount field in Sales Line would be always updated and hence you would always get the accurate result.

    Existing Amount field will only gets updates as mentioned by Alex and hence you would not see the Amount for few of the order, which are not yet released or posted.

  • Suggested answer
    Nareshwar Raju Vaneshwar Profile Picture
    5,596 on at
    RE: Amount in the sales header

    HI,

    Adding some more to what Alex have said, this technology is called SIFT and the Amount field is a FlowField. You still use Amount field on the Sales Header for report calculations, but you have to use CALCFIELDS method to calculate it.

    If your Sales Header Amount field is showing 0 then as Alex suggested, open the Statistics window and check.

    Hope it helps.

  • Suggested answer
    Alex A Profile Picture
    2,451 on at
    RE: Amount in the sales header

    It is used to calculate the invoice discount of the sales order. To preserve database performance during sales order entry, the Amount field is only updated when a calculation of the sales invoice discount is required, in the following situations:

    When you post (invoice) the sales order partially or fully.

    When you calculate the sales invoice discount manually.

    When you open the Sales Statistics window for the sales order.

    When you release the sales order.

    In fact, this field doesn't really exist in the table. If you want to calculate the Sales amount for reporting purposes, Sum the [Amount] or [Amount Including VAT] field from the Sales Order Line table.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans