Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2022 Release Wave 1 PlanDynamics 365 release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.
2022 release wave 1 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
Is it possible to automate the running of reports in NAV? We want to save out a PDF for all of our posted sales invoices... but there are way too many to do this by hand. Surely there is some way to automate reports / run them as a batch??
I have seen some people suggest the REPORT.RUNMODAL() - I'm not 100% fluent with the code in NAV, so it would take some research (like, how to supply the RUNMODAL() function with a list of invoices I want to pass to it).
Is this possible with or without code?
You need to filter the sales invoice header with respective filters and use SAVEASPDF
SalesInvoiceHeader.SETRANGE("Sell-to Customer No.",'abcdef');
FilePath += SalesInvoiceHeader."No." + '.pdf';
Thanks, I will try this.
About the first line - how can I supply a specific list of values? Is there something in NAV that will let me store a list of values to iterate over? I have the list of values already and I would just need to store them (do I use a table for this? that seems like overkill)
What values are those, sales invoice numbers ?
yes, Sales Invoice numbers and also some Credit Memo numbers
Actually it might be easier than that. They are all the documents from one single State. So the logic would be to loop over ALL sales invoices (and credit memos) and run the report when the document is for a specific state.
In that case you just filter the state and loop through the invoices or print one PDF with all invoices or credit memos
Business Applications communities