Repeat print of data record.

Stimulsoft Ultimate discussion
Post Reply
stiebert
Posts: 3
Joined: Wed Jan 17, 2024 2:43 am

Repeat print of data record.

Post by stiebert »

We are using an ERP software to make tags for inventory. The inventory is tracked by a "Heat Number" that can have multiple quantities associated with it. When the material is received, we want to print a label that is attached to each piece for tracking.

I have been researching this forum for several days working on this project and it has been of great help. I've managed to get the labels to print (1) copy for each heat number OR print the "Quantity" for one heat number. What I really need to do is combine these two.

For example, if I have the following heat number and quantity this is what should happen:
- HEAT 0101, Quantity: 1: Print 1 labels
- HEAT 9191, Quantity: 5: Print 5 labels
- HEAT 9501, Quantity: 3: Print 3 labels

I have attached my current label design.

I appreciate any help.
Attachments
UDR_ntoryLabel.mrt
(27.64 KiB) Downloaded 166 times
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Repeat print of data record.

Post by Lech Kulikowski »

Hello,

Please send us test data for your report.

Thank you.
stiebert
Posts: 3
Joined: Wed Jan 17, 2024 2:43 am

Re: Repeat print of data record.

Post by stiebert »

I can't provide the data because it is locked behind the ERP's software API.

I have attached a photo of the results where I can print one label for each material type. I have attached a photo where I can print the quantity required for (1) one material type. What I need to be able to do is print the quantity shown in "Print 1" attachment for the first label and then move onto the next label and print the quantity for that label.

I have also attached the .mrt file for the labels I can print the correct quantity but only on the first label.
Attachments
Stimulsoft - Print 2.jpg
Stimulsoft - Print 2.jpg (118.51 KiB) Viewed 1593 times
Stimulsoft - Print 1.jpg
Stimulsoft - Print 1.jpg (75.42 KiB) Viewed 1593 times
UDR_ntoryLabel.mrt
(27.67 KiB) Downloaded 159 times
stiebert
Posts: 3
Joined: Wed Jan 17, 2024 2:43 am

Re: Repeat print of data record.

Post by stiebert »

Actually, I was able to export an XML file. I'm not sure if this is what you need though.

Thank you for the help.
Attachments
Inventory_20240118_092912.xml
(2.55 KiB) Downloaded 154 times
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Repeat print of data record.

Post by Lech Kulikowski »

Hello,

You can use the Blockly code to repeat labels. Please check the sample report in the attachment.

Thank you.
Attachments
CounDataForDetailsBlockly.mrt
(25.7 KiB) Downloaded 140 times
Post Reply