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

issue on report

(0) ShareShare
ReportReport
Posted on by 70

my custom report gives 2 copies of the invoice, the first one is correct but the second one has the invoice total, subtotal doubled

could anyone please help me on this ASAP .

comparing the subtotal from the 1st copy to the second copy its getting doubled , someone please help me on this !!!

Thanks in advance .

Regards,
Yathish

I have the same question (0)
  • sVerme Profile Picture
    120 on at

    Probably something wrong with the calculation in the dataset.

    We need more information / code to help.

  • Suggested answer
    Nitin Verma Profile Picture
    21,698 Moderator on at

    Hi,

    You have to clear your Subtotal variable before you are creating your second copy of the report.

    Thanks.

  • Yathish JR Profile Picture
    70 on at

    subtotal has only caption and reference , no particular variable is defined in the code . i searched for it

    SubtotalCaptionLbl: Label 'Subtotal:';

    column(SubtotalCaption; SubtotalCaptionLbl)

                           {

                           }

    only these 2 lines come .

    Thanks.

  • Suggested answer
    Nitin Verma Profile Picture
    21,698 Moderator on at

    Apart from label, I meant how it calculating the values, also you need to clear that values before creating the second copy of the report.

  • Yathish JR Profile Picture
    70 on at

    when i searched for subtotal in my code , only those 2 lines are coming i dont know where its is getting calculated , Its not there

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

    The variable you got the sum in can have a different name. So i think you need to share the comple al code for your report.

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 3,226

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,047 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,257 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans