web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Print multiple report and download

(0) ShareShare
ReportReport
Posted on by 135

Hi experts

I am working on report and below are the requirement:

Select multiple invoices and print them. All files download into single zip file.

Problem: I have setup print mgmt as FILE and below code working file. but later on I came to know already setup Email on PRINT MGMT in PROD.

So when I am setup EMAIL and FILE on PRINT mgmt. Below code sending email as well.

How we can handle only FILE from print mgmt without affecting the EMail part? 

Solution: I have created menu item and wrote below code

public static void main(Args _args)
{

custInvoiceJour_ds = _args.callerFormControl().formRun().dataSource(); 
caller = _args.caller();

helper  = MultiSelectionHelper::createFromCaller(caller); 

// Multi select logic

while(custInvoiceJour.RecId != 0)
{
   _args.record(custInvoiceJour);
    new MenuFunction(menuitemOutputStr(SalesInvoice), MenuItemType::Output).run(_args);

  // Some logic
}

I have the same question (0)

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 836 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 452 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 349 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans