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

AL: Variable to Calculate Group Total for each line on page

(0) ShareShare
ReportReport
Posted on by 2,841

Hi Guys

I have page that shows sale order line records, and want to include a total quantity of the order for each line. Total will be repeated for for all lines of a given order as below:

Order No    Line No    Item Qty    Total Qty

10001          1000         A     10       30

10001           2000        B     20       30

10002           1000        A    100      100

Not sure how to achieve this and couldn't find an example in the base app

Thanks

  • Suggested answer
    JAngle Profile Picture
    89 on at
    RE: AL: Variable to Calculate Group Total for each line on page

    Pattern here makes sense: https://youtu.be/fXDxAM0ZrvU

    Use the calcsums on the sales line table for the qty. field based on a series of filters for the line.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

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

#1
YUN ZHU Profile Picture

YUN ZHU 311 Super User 2025 Season 1

#2
Mansi Soni Profile Picture

Mansi Soni 242

#3
Sagar_Dangar_MCP Profile Picture

Sagar_Dangar_MCP 186

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans