[Koha] Barcode not being generated in new MARC records
ohiocore at gmail.com
Wed Sep 3 03:33:23 NZST 2008
All forms of barcode autogeneration except incremental are problematic. I
strongly recommend against using them.
"Home branch" or "hbyymmincr" style barcodes, in particular, are not
implemented in a widely applicable way. It should not be used by
multi-branch libraries, or libraries with more than 9999 items, or libraries
with non-4-character branch codes, or libraries with digits or underscores
in their branch codes... or basically anyone.
The query that obtains the next valid barcode for hbyymmincr is:
$query = "SELECT MAX(CAST(SUBSTRING(barcode,7,4) AS signed)) FROM
items WHERE barcode REGEXP ?";
In this case, year would be "08", but you can see the flaws in this query
result in the extreme limitations above.
You can print the branch and year directly on the barcode stickers and spine
labels you generate. That info does not need to be part of the barcode
On Mon, Sep 1, 2008 at 11:31 PM, Bruce Raymond <braymond at regisjesuit.com>wrote:
> Installation details: Koha 3.0 stable.
> Setting details: Automatic barcode generation using the home branch method
> is turned on.
> The automatic barcode generating has been working ok until a few days ago.
> Now no barcode is being generated. The automatic setting is still set on.
> Any suggestion about how to troubleshoot this problem?
> View this message in context:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Koha