Skip to main content

Notifications

Announcements

No record found.

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

Report Extension

(0) ShareShare
ReportReport
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.
  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 75,561 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 993 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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans