Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

After selecting multiple sales order how to show them in request page of report

Posted on by 45

After selection multiple sales order from sales order, i want to see that selected order number get display in request page filter of report and then data get displayed for those order numbers, for that what should i do?

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 71,565 Super User 2024 Season 2 on at
    RE: After selecting multiple sales order how to show them in request page of report

    Hi, I think there is a reason for Microsoft not to do this, because for customers, different Reports can be set.

    pastedimage1645748397580v1.png

    But this can be done with a simple customization.

    For example:

    pastedimage1645749134208v2.png

    Test Video:

    [View:/cfs-file/__key/communityserver-discussions-components-files/758/Test0225.mp4:845:634

    Source Code:

    pageextension 50133 MyExtension extends "Sales Order List"
    {
        actions
        {
            addfirst(Processing)
            {
                action(PrintSelected)
                {
                    Caption = 'Print Selected';
                    Image = Print;
                    Promoted = true;
                    PromotedCategory = Process;
                    PromotedIsBig = true;
                    ApplicationArea = All;
    
                    trigger OnAction()
                    var
                        SalesHeader: Record "Sales Header";
                    begin
                        SalesHeader.Reset();
                        CurrPage.SetSelectionFilter(SalesHeader);
                        if SalesHeader.FindSet() then
                            Report.Run(Report::"Standard Sales - Order Conf.", true, true, SalesHeader);
                    end;
                }
            }
        }
    }

    Hope this will help.

    Thanks.

    ZHU

  • Suggested answer
    Dallefeld Profile Picture
    Dallefeld 11,425 User Group Leader on at
    RE: After selecting multiple sales order how to show them in request page of report

    This will definitely take customization. It's also a great idea that you can suggest to Microsoft.

  • RE: After selecting multiple sales order how to show them in request page of report

    Hello Pooja,

    We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist. If you need assistance with debugging or coding I would recommend discussing this on one of our communities:

    https://www.yammer.com/dynamicsnavdev#/home

    I will open this up to the community in case they have something to add.

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... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,275 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans