Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

Report Extension

Posted on by 5

We have an extension I am using to customize our reports.

I was wondering what people thought about combining multiple sales reports to use the same template with different headings. e.g. sales quote, sales order etc.

It looks like this is the default way reports are filtered in .al

DataItemTableView = SORTING("Document Type", "No.") WHERE("Document Type" = CONST(Quote));
I am thinking I can use this view to select a different document type.
Regardless if the above will work or not, is this a good approach or will I run into other issues. The documents I am combining are essentially the same, just with different Document Labels like "Order Confirmation" etc.
Categories:
  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 72,941 Super User 2024 Season 2 on at
    RE: Report Extension

    Theoretically yes, you could also remove this filter and let the user choose the type themselves.

    pastedimage1684195383951v1.png

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: Report Extension

    I think that as long as the layouts are all based on the same data  - like sales documents based on sales header and sales lines you found a good approach.  That means you can focus on maintaining one report and multiple layout. I think that is an efficient approach.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,113 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans