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
}
André Arnaud de Cal...
291,969
Super User 2025 Season 1
Martin Dráb
230,842
Most Valuable Professional
nmaenpaa
101,156