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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

How to show sales invoice list amount field sum in dashboard custom decimal cue

(0) ShareShare
ReportReport
Posted on by

pastedimage1662370249284v1.png

I already tried the FlowField method and  AutoFormatExpression

Please help to solve this issue...

I have the same question (0)
  • Suggested answer
    Amit Baru Profile Picture
    3,037 on at

    Hi,

    Go to Sales Que table and Create Sales Invoice Amount field--> Nature of field is flowfield and Take Sales Invoice Line table--> Line Amount--> Quantity <> 0

    Regards

    Amit Sharma

    www.erpconsultors.com

    https://www.linkedin.com/in/amit-sharma-94542440/

  • D365 business central development community Profile Picture
    on at

    Hi Amit,

    Once I created the Custom field in the Cue table with the below code

    field(1041; "S.I.Amt"; Decimal)

    {

    CalcFormula = sum("Sales Header".Amount WHERE("Document Type" = FILTER(Order)));

    Caption = 'Ongoing Sales Orders';

    FieldClass = FlowField;

    }

    And, I am getting these errors in the dashboard

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

  • Suggested answer
    Amit Baru Profile Picture
    3,037 on at

    Hi,

    Pls use Sales Line table instead of Sales Header. Because Amount filed in Sales Header is also a flow field. That why you are getting error.

    Regards

    Amit Sharma

    Press Yes if info is useful.

  • D365 business central development community Profile Picture
    on at

    Hi,

    I Changed the table,

    field(1041; "S.I.Amt"; Decimal)

    CalcFormula = sum("Sales Line".Amount WHERE("Document Type" = FILTER(Order)));

    but I am getting the error in VS Code

    The request for path /v2.0/Sandbox/dev/apps?SchemaUpdateMode=synchronize&DependencyPublishingOption=default failed with code UnprocessableEntity. Reason: TableExtension 50112 CueTable :: The field 'S.I.Amt' cannot be located. Removing fields is not allowed.

  • Verified answer
    Amit Baru Profile Picture
    3,037 on at

    Hi,

    Pls change schemaupdatemode = Force. when it will compile and publish, then restore the schemaupdatemode = Synchronize mode.

    https://erpconsultors.com/schemaupdatemode-in-al-in-launch-json-in-d365-bc/

    Regards

    Amit Sharma

    www.erpconsultors.com

    Press Yes if info is useful.

  • D365 business central development community Profile Picture
    on at

    Hi Amit,

               Thank you so much... Once I update the schemaUpdateMode I got the Line Amount in the Cue...

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,986 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,071 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 975 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans