Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

CurrReport.CREATETOTALS , CurrReport.PageNo issues in AL Code in Business Centra

(1) ShareShare
ReportReport
Posted on by 121

Hello Guys,

I have Converted few Reports from Nav 2016 to AL Code.

In AL Code i have the following Code in Report 

CurrReport.CREATETOTALS(TaxAmount, ExtendedPrice, Qty, AmountExclInvDisc);
 and 
CurrReport.PageNo =1;
Im getting Warning Messages, these Methods are deprecated.
How to solve this issue?

*This post is locked for comments

  • Shivakumar. G Profile Picture
    121 on at
    RE: CurrReport.CREATETOTALS , CurrReport.PageNo issues in AL Code in Business Centra

    Thanks!! i will comment and Test.

  • Verified answer
    I Gusti Made Ari Profile Picture
    3,594 on at
    RE: CurrReport.CREATETOTALS , CurrReport.PageNo issues in AL Code in Business Centra

    in that case you can remove the code contain CurrReport.CREATETOTALS and CurrReport.PAGENO as it doesn't do anything useful when used in C/AL or AL code.

  • Shivakumar. G Profile Picture
    121 on at
    RE: CurrReport.CREATETOTALS , CurrReport.PageNo issues in AL Code in Business Centra

    Hi , I Gusti Made Ari Permadi

    Thanks for the reply.

    I have made few changes to standard reports and saved as customized,In this reports i have above methods in Code. So, as per my knowledge there should not be any errors or warnings in my Application to submit the App to microsoft( before publishing in  Appsource) and if any errors or warnings are there, they will reject.  So are you saying that these won't effect me submitting App to Microsoft? Could you please explain? Thanks in Advance!!!!

  • Suggested answer
    I Gusti Made Ari Profile Picture
    3,594 on at
    RE: CurrReport.CREATETOTALS , CurrReport.PageNo issues in AL Code in Business Centra

    You can just ignore the warnings (there is no harm for it)  , CREATETOTALS is used for classic report (2009 below) but in new version the code is still there for some standard report. Now is using RDLC layout , so that code has no effect .

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 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…

Leaderboard > Microsoft Dynamics NAV (Archived)

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2

#1
mmv Profile Picture

mmv 2

#1
Amol Salvi Profile Picture

Amol Salvi 2

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans