Skip to main content

Notifications

Announcements

No record found.

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

Labels to print on the Quantity

(0) ShareShare
ReportReport
Posted on by 10

I got this report, Pick Labels.  It is setup to print on the Zebra Label printer.  It goes into the report and only print 1 label.  How do I get that report to print 14 labels?

PickLabels1.png  PickLabels2.png

  • Suggested answer
    MMatthewsJr Profile Picture
    MMatthewsJr 10 on at
    RE: Labels to print on the Quantity

    That was it. Thank you.

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Labels to print on the Quantity

    Hi,

    You need to customize the report, and insert a nested INTEGER table as per below statement on OnPredataItem of Integer Table.

    Setrange(Number,1,Warehoueline.count);

    Try this.

  • Suggested answer
    NAV_with_Narang Profile Picture
    NAV_with_Narang 2,236 Super User 2024 Season 1 on at
    RE: Labels to print on the Quantity

    Hi - It will require some software development effort. However, do factor in what will happen if there is more than 1 line in the Wh. Pick

    1. If it's a default report, copy the report and create on the 50000 ID range. Now if the report you copied has "No of Copies" feature already in place (you can see that via the Report Request page), just make sure that whatever quantity is available on the lines, assign the value to the "no of copies" variable minus 1. This way you'll be able to print the no of pages equal to your line qty

    2. If the report does not have "no of copies" feature already built in, you can build that feature in by following the blogs available 

    https://divyeshchittenavbc.wordpress.com/2019/11/22/how-to-print-multiple-copies-in-report-in-al-of-microsoft-dynamics-365-business-central-msdyn365bc/

    https://forum.mibuso.com/discussion/28607/print-multiple-copies-of-report-solved 

    https://stackoverflow.com/questions/71768937/print-multiple-reports-on-business-central 

    Note: Reports like sales invoices and posted purchase invoice have the "no of copies" feature enabled. When you print these reports, if the value in No of Copies field on the report request page is 0, the print will have 1 page. If the field value is 2, the print will have 3 pages and so on. 

    It is better to re-use/recycle features than re-inventing the wheel

    pastedimage1673077536255v1.png

    Hope it helps

    Do verify my answer by clicking "YES" for "Did this answer your question" - if it helped you in anyway. This way others can benefit out of it too. Thankyou very much for taking out time to read

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans