Hi Allen, The plugin looks for the biggest number in the database and adds 1. There is probably somewhere in your database a barcode that was added manually and doesn't match your regular barcodes. You can check the barcodes in your database by going into Reports, Create from SQL and paste the following query : SELECT barcode FROM items ORDER BY barcode DESC LIMIT 10 This will show you the 10 "largest" barcode numbers from your database. Good luck! Caroline Caroline Cyr La Rose, M.L.I.S. Librarian | Product Manager inLibro On 19-04-03 18 h 35, abrazier@buttepubliclibrary.info wrote:
We have always generated barcodes from within Koha and when we are adding items to the catalog, with the plugin (barcode.pl) for the barcode field (952$p), it is no longer populating with the desired barcode. It used to work fine set as "generating in the form 1,2,3". Now, it populates the field with a barcode that we do not want to use.
Note, if we do assign that reoccurring problem barcode (x) to an item, the next barcode generated is the next consecutive problem barcode (x+1). The behavior of the plugin works fine. But, if I manually assign the right barcode to an initial item (y), the next barcode that is auto-generated is not (y+1), but is back to the problem barcode (x).
Any ideas out there?
Allen _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha