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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

back original design sales order report

(0) ShareShare
ReportReport
Posted on by 2,050

Greeting everyone i did customization on sales order report and i was flow this steps

https://community.dynamics.com/365/financeandoperations/f/dynamics-365-for-finance-and-operations-forum/396915/how-modify-ssrs-reports-in-d365

anyway now i want back original design how can i retrieve as was before

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    Not sure what exactly you want. If you followed the official documentation (which is also mentioned in the discussion that you linked), you should see the standard design and your own design in the Print management setup. So, just change your print management setup to use the original design.

  • mohammed.mqi Profile Picture
    2,050 on at

    thanks for replay 

    here settings when i'm useing my customization report and it printing my customization report

     d365cutstmo.JPG

    and when i return settings to default still printing my customization report and not shown original report

    d365org.JPG

    also i try to print as you said print management setup i got this error as you see below

    d365mang.JPG

     

  • nmaenpaa Profile Picture
    101,166 Moderator on at

    Could you share all code that you developed when you were working with this report? Thanks!

  • Suggested answer
    Sukrut Parab Profile Picture
    71,710 Moderator on at

    Object reference is something coming from your custom code . If you have any custom code written  in print management classes comment it or if it not required remove  it , build your system and then try to  print report again.

  • mohammed.mqi Profile Picture
    2,050 on at

    sorry for late respond

    here's my project I've created 

    as you see here

    s1.JPG

    i've only created new design as i selected down here

    s11.JPG

    class

    s2.JPG

    menu item output

    7801.s3.JPG

    class

    5618.s4.JPG

    that's all 

  • Suggested answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    Delete all these objects and build your custom module. Then you can get rid of it.

  • Suggested answer
    vinitgoyal2005 Profile Picture
    6,332 on at

    Hi,

    Assuming you need both custom and original report do below. If you want to delete custom and get only original then as suggested by Nikolaos, delete all objects.

    Your Custom controller class should like below:

    class CustomSalesInvoiceController extends SalesInvoiceController
    {
    
        public static CustomSalesInvoiceController construct()
        {
            PgonSalesInvoiceController controller = new CustomSalesInvoiceController();
    
            return controller;
        }
    
        public static void main(Args _args)
        {
            SalesInvoiceController formLetterController = CustomSalesInvoiceController::construct();
            formLetterController.parmArgs(_args);
            formLetterController.parmReportName(ssrsReportStr(CustomSalesInvoice, Report));
            formLetterController.parmShowDialog(false);
            formLetterController.parmDialogCaption("@SYS22766");
            formLetterController.startOperation();
        }
    
    }

    You have created 2 objects, assigned value to 1, and used other to start the report execution.

    There is code missing to add the custom report to Print management. To do that check thread https://community.dynamics.com/ax/f/microsoft-dynamics-ax-forum/209395/print-management-adding-new-design?pifragment-96834=1

    In the screenshot, you added where you are setting a custom report name to be used in print management will give an error. 

    When you are using original/copy option to print it will take a custom report because that is what you set in getDefaultReportFormatDelegate method.

    When you use print management then whatever is set in print management will be used. 

  • mohammed.mqi Profile Picture
    2,050 on at

    ok i did but still printing my customization report and not shown original report

  • mohammed.mqi Profile Picture
    2,050 on at

    thanks for replay

    but how can i add the custom report to Print management

    i checked the link but i found nothing

    blogs.msdn.microsoft.com/.../

  • nmaenpaa Profile Picture
    101,166 Moderator on at

    Are you trying to get back the original design of the report, or add your custom design to Print management?

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 512 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 386

#3
Adis Profile Picture

Adis 259 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans