Serialization: Resetting Count Follow

0
Avatar
Legacy Poster

We are creating a shipping label for Jo-Ann which requires X of Y for each ITEM. Example, we receive order to ship 5 cases each for 3 items X.Y and Z.
When the 5 labels for item X print we need 1 of 5, 2 of 5, etc. When Item Y prints we need to restart the X of Y count.


We are using Bartender 9.4.

What is the VB Script to reset the serialization count based on a shared name field. The total cases for an item are stored in each record. I was thinking we could either reset when the item number field changes. Or, when the Serialized number equals the total case quantity. However, if the next item has more total cases I don't know if that would work.

Any help would be appreciated.

Thanks

Nick

3 comments

0
Avatar
Ian Cummings
Moderator
Comment actions Permalink

In the sample BarTender components in the Toolbox ("Components>Samples>Serialization") you will find a "Label X of Y" component example that can be dragged and dropped onto the label. This is a simple example for such a requirement. For your particular need, I would guess that you use the OnNewRecord event to set the value of the database field containing the quantity for the record.
0
Avatar
Legacy Poster
Comment actions Permalink

Hello,

I have the same issue but I don't see a components > samples > serialization? Maybe our bartender is too old? I can't seem to figure out how to get my serialization number to reset when the qty of that equals the qty of the amount of labels for that item which I have set for Y. 

0
Avatar
Domingo Rodriguez
Moderator
Comment actions Permalink

Does the below topic help? 

http://seagullscientific.invisionzone.com/index.php?/topic/1982-new-to-all-this-need-some-guidence/?hl=serialization

 

In previous versions of BarTender, for resetting a serial number once it has reached Y, you will need to use some VBScripting. In the latest version of BarTender (v10.1) it is pretty easy: you just enable the "Reset serial number after every print job" checkbox in the serial number configuration.

Please sign in to leave a comment.