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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

How to find out total number of items in sales order in sales order list page

(0) ShareShare
ReportReport
Posted on by 50

Need to show the total number of items added in sales order in sales order list page.

Please provide the solution for this question

I have the same question (0)
  • KTA Profile Picture
    1,200 on at

    Sum of quantity or count of lines?

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,111 Moderator on at

    You need to add a flowfield on the sales header table that sum the quantity from the sales line table.

    Please refer to the documentation for defining flowfield

    learn.microsoft.com/.../devenv-flowfields

  • Suggested answer
    DAnny3211 Profile Picture
    11,397 on at

    hello

    you need to create a flow field on the order header with the following formula:

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

    check my answer if it was helpful, thanks

    DAniele

  • Suggested answer
    YUN ZHU Profile Picture
    95,697 Super User 2025 Season 2 on at

    Hi, I've done a similar test in BC, just on the Sales Order page, hope this can give you some hints.

    How to add new fields to Total Area on the Document Subform page (View Total Quantity, Number of Lines on the Sales Order)

    https://yzhums.com/25033/

    Thanks.

    ZHU

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,606

#2
YUN ZHU Profile Picture

YUN ZHU 931 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans