Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

"No. of Copies" on a Report

(0) ShareShare
ReportReport
Posted on by 380

Hello,

Can anyone help me figure out how to implement the ability to print x copies of a report? I am making an item label report that I want operations to be able to enter in how many labels to print out. Future states as well will allow them to print the quantity on the warehouse receipt lines.

I do not have the ability to see base NAV code, and all forums I find say to look at report 206.

Thanks,

  • ChazKimRP Profile Picture
    ChazKimRP 380 on at
    RE: "No. of Copies" on a Report

    That’s what I’m struggling with doing. I can only figure out to pass values in the header

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    Teddy Herryanto (Th... 13,042 Moderator on at
    RE: "No. of Copies" on a Report

    If you want to get the records that you selected on the page, use SetSelectionFilter method to get the records and then pass it to the report by calling the report function.

    docs.microsoft.com/.../setselectionfilter-function

  • ChazKimRP Profile Picture
    ChazKimRP 380 on at
    RE: "No. of Copies" on a Report

    I have to ability to write the code, I just can't figure out how to pass the value from the selected warehouse receipt line, put away line etc, to the report that I added to the page.

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    Teddy Herryanto (Th... 13,042 Moderator on at
    RE: "No. of Copies" on a Report

    As far as I know, you can't do that without coding.

  • ChazKimRP Profile Picture
    ChazKimRP 380 on at
    RE: "No. of Copies" on a Report

    Hi Teddy,

    Our partner doesn’t allow us to see source code, so I literally create all my code from trial error and learning online. I was able to get the No. of Copies to work with looping and the integer table.

    Now I’m struggling to figure out how to pass a value on a selected line in the warehouse receipt to the report on that page. I.e it’s a product label report.

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    Teddy Herryanto (Th... 13,042 Moderator on at
    RE: "No. of Copies" on a Report

    If you can't see the code, how are you able to create the report ?

    Basically, you need to use table called integer to loop through the data and print it.

    If you want to print it twice, you need to filter the integer table so the data will loop twice.

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

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans