AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • Rolodex
    • Podcast
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AUG Forums
Acumatica Report De...
Printing Product La...
 
Notifications
Clear all

Questions Printing Product Labels from Purchase Receipt

 
Acumatica Report Designer
Last Post by Retha 3 months ago
6 Posts
4 Users
2 Reactions
7,654 Views
RSS
Nwood
Posts: 33
 Nwood
Topic starter
September 12, 2017 4:36 pm
(@nwood)
Trusted Member
Joined: 6 years ago

I have a report design that prints a product barcode, product code, expiry date, and lot number. This works fine for single items or items with unique batches/serials. But I would like it to print 10 labels if 10 units are receipted on the same batch.

Any idea on report configuration to achieve this?


5 Replies
Tim Rodman
Posts: 3195
 Tim Rodman
Admin
September 12, 2017 9:50 pm
(@timrodman)
Famed Member
Joined: 10 years ago

It's a good question. I'm not sure how to do it with customization. The problem is that Report Designer will only generate multiple rows if there are multiple rows in the database table. But 10 units of one lot or not lots will all be one row in the table with a value of 10 in the quantity column. We need a way to turn that one row into 10 rows. I'm not sure how to do it without doing some kind of DAC customization.


Reply
Kurt Bauer
Posts: 45
 Kurt Bauer
September 20, 2017 7:31 am
(@kurtybauer)
Trusted Member
Joined: 6 years ago

I had a similar request from a client who wanted to print price labels for orders, but wanted to print a label for each item so we had to multiply the item by the quantity.  I did this with a customization, as Tim has suggested.  The basic idea is you need a SQL numbers table (google it) to multiply out your quantity and produce the number of lines needed.  Here is a brief overview of what I did, but if it doesn't make sense I may be able to put together a customization.

1. Create a numbers table in SQL.  This is a simple table that has a number column that counts up.  The table below allows you to work with quantities up to 1000.  If you have larger order quantities then increment the number

SELECT TOP 1000 IDENTITY(int,1,1) AS Number INTO NumbersTable FROM sys.objects s1 CROSS JOIN sys.objects s2 ALTER TABLE NumbersTable ADD CONSTRAINT PK_NumbersTable PRIMARY KEY CLUSTERED (Number)

2. Create a SQL view to pull together the data based on the SQL select below. I believe this will work, but it may need some tweaking. I also use CompanyID > 1 to limit the view to real companies and not snapshots.

SELECT CompanyID,Number,ShipmentNbr,LineNbr,SplitLineNbr,InventoryID,LotSerialNbr,ExpireDate FROM SOShipLineSplit INNER JOIN NumbersTable ON Number <= SOShipLineSplit.Qty WHERE CompanyID > 1

3. Create a new customization package and create your new DAC based off your view in Step 2.

4. Publish and then the DAC will be accessible to the report.

Thanks,

Kurt


Reply
Tim Rodman reacted
Tim Rodman
Posts: 3195
 Tim Rodman
Admin
March 19, 2019 7:51 pm
(@timrodman)
Famed Member
Joined: 10 years ago

I just noticed this on GitHub which might be pretty useful for printing multiple product labels:

https://github.com/Acumatica/Acumatica-InventoryLabelReportPerQty


Reply
Tim Rodman
Posts: 3195
 Tim Rodman
Admin
April 23, 2021 12:00 pm
(@timrodman)
Famed Member
Joined: 10 years ago

@lauraj46 just solved this without a Customization Project and solved it in style. It's a brilliantly creative solution that is simple and clean. I'm adding it to this Discussion Topic on her behalf:

https://www.linkedin.com/pulse/acumatica-tips-tricks-how-print-multiple-product-labels-laura-jaffe


Reply
AhmedBahar reacted
Retha
Posts: 11
 Retha
September 9, 2025 11:40 am
(@retha)
Active Member
Joined: 6 years ago

I have read the article on the How to print multiple product labels based on a line item- Very nice. Question will this also work for the scenario:

Batch Labels to be able to split qty’s as preferred.

Example: Qty Received = 1000

Will be packaged in packages of 20 x items.

Conclusion:  50 x labels to be printed indicating 20 x per label.

 


Reply
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 40 Online
  • 2,411 Members
Our newest member: thollings
Latest Post: Generic inquiry with information from Audit history(CT301000)
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

 No online members at the moment

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2025 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×