Personalized Community is here!
Quickly customize your community to find the content you seek.
Check out the latest Business Central updates!Learn about the key capabilities and features of Dynamics 365 Business Central and experience some of the new features.
Download overview guide | Watch Business Central video
2021 Release Wave 2Discover the latest updates and new features releasing from October 2021 through March 2022.
2021 release wave 2 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
Number of Copies with Word Layout (Option II)
Some time ago, I found this post on Microsoft Dynamics Community about: “No. of Copies” doesn’t work in Word Layout reports, “No. of Copies” works only on RDLC reports.
Example: Report 1306 Standard Sales – Invoice, “N. Copies” on request page
Old Post about this topic: “How-to” implement a Copy Loop in Word report layouts” https://robertostefanettinavblog.com/2017/01/24/how-to-implement-a-copy-loop-in-word-report-layouts/
Option II (new workaround)
In this second post, i’m talking about managing the number of copies on documents created with Word Layout instead of the solution that Microsoft has already mentioned in the old post. (alternative solution).
In practice, you can enter and edit the standard NAV printing function (codeunit 9561) by modifying the calls insted of change the reports, If the user goes directly to printing it may be useful to use it.
In this case, it is best to handle a new field eg “Number of Copies” in the “Custom Report Layout (9650)” table because, in fact, the copying issue only applies to Documents made with Word Report Layout, those with RDLC format already work well as standard. If the field is inserted in the “Report Selection” table, the reports that are launched with the REPORT.RUN function could be excluded.
The concept of the number of copies remains that same of the RDLC reports (ex “0” = print of the original “1”, “2”, “3” copies etc. (Ex 1 = two prints an original and a copy) for the number of copies to follow.
Using the number of copies in the Custom Report Layouts table, you can also manage different copies for each company.
In this case (see image), the number of copies managed only applies to the “PRINT” option and not PREVIEW, SAVETOPDF, WORD, etc. is also possible for these properties if N-documents are generated in preview mode and SAVEAS mode.
Business Applications communities