Skip to main content
Business Central forum
Suggested answer

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

editSubscribe (0) ShareShare
ReportReport
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?

Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 59,978 Super User 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,415 UG 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.

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,068 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,591 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans