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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

An unexpected error occurred after a database command was cancelled..

(1) ShareShare
ReportReport
Posted on by 4
 
I'm trying to calculate total amount of amount section of /Posted Sales Invoices/ and put it in cue box. 
Here is my code:
Table extension: 
Page extension:
I also tried the normal cue layout still got same error. And tried making FieldClass = Normal then adding this to page extension:

And I still keep getting this error.
 
I have the same question (0)
  • ManishS Profile Picture
    86 on at
    Have you added this field in a particular role center, if yes then are you trying to calculate all sales invoice amount or for a specific period.
     
    I don't see any date filter in you calcformula.
  • Suggested answer
    Mohana Yadav Profile Picture
    61,242 Super User 2026 Season 1 on at
    Please try with the Sales Invoice Line. Amount field.
     
  • BB-27040929-0 Profile Picture
    2 on at
    Exchange CALCSUM to CALCFIELDS.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 649 Super User 2026 Season 1

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 447 Most Valuable Professional

#3
YUN ZHU Profile Picture

YUN ZHU 388 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans