Hi list,

I am trying to understand all code related to barcodes.

1.  It appears that C4::Barcodes is only used in additem.pl.  Additem.pl appears not to be involved in batch processing. 
2.  952$p (barcode) does not appear in the Add Item Koha screen, so the plugin is not callable.

If all this is true, then whey is there a barcode.pl value_builder?  When would it be called?

Is the barcode.pl value_builder only invoked when AutoBarcode type is "NONE"?  In which case the code in barcode.pl value_builder effectively replaces that in C4::Barcodes? (the logic of the various barcode types appears to be duplicated in barcode.pl).

Can I just customize barcode.pl to effectively solve the problem of assigning barcodes leaving C4::Barcodes, and C4/Barcodes/* untouched? -or- are is modification of both methods necessary for some reason?

Thanks,
Pete.