Notifications
Announcements
No record found.
Need to show the total number of items added in sales order in sales order list page.
Please provide the solution for this question
Sum of quantity or count of lines?
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
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
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 2,606
YUN ZHU 931 Super User 2025 Season 2
Jainam M. Kothari 773 Super User 2025 Season 2