6c0aa43ee1
Bugzilla description (from delaye): 1 / Create a list of authorised values(INVENTORY_NUMBER). In which the code is the prefix and the description the last number assigned. 2/A space between the prefix and number. 3 / From a holding record, after indicate the prefix when you click on the plugin -> koha search the last number from authorised values assigned in the list and increment n +1 level meter Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> Works as advertised (see provisos below). Tested the following: 1) INVENTORY category has only authorised value 'PR' => PR prefix filled in, everything else gives an error. 2) INVENTORY category has two authorised values, both work. 3) INVENTORY category has no authorised values, nothing is incremented 4) Barcode contains numbers, nothing is changed. Two potential gotchas (neither of them significant enough to warrant changing, in my opinion): 1) Prefixes must consist only of uppercase alphabetical characters. 2) Negative numbers are padded with zeros to the left of the negative sign. Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com> |
||
---|---|---|
.. | ||
barcode.pl | ||
barcode_manual.pl | ||
callnumber-KU.pl | ||
callnumber.pl | ||
dateaccessioned.pl | ||
labs_theses.pl | ||
macles.pl | ||
marc21_field_003.pl | ||
marc21_field_005.pl | ||
marc21_field_006.pl | ||
marc21_field_007.pl | ||
marc21_field_008.pl | ||
marc21_field_008_authorities.pl | ||
marc21_field_040c.pl | ||
marc21_field_040d.pl | ||
marc21_field_245h.pl | ||
marc21_leader.pl | ||
marc21_leader_authorities.pl | ||
marc21_leader_book.pl | ||
marc21_leader_computerfile.pl | ||
marc21_leader_video.pl | ||
marc21_linking_section.pl | ||
normarc_field_007.pl | ||
normarc_field_008.pl | ||
normarc_leader.pl | ||
stocknumber.pl | ||
stocknumberam123.pl | ||
stocknumberAV.pl | ||
unimarc_field_4XX.pl | ||
unimarc_field_010.pl | ||
unimarc_field_100.pl | ||
unimarc_field_105.pl | ||
unimarc_field_106.pl | ||
unimarc_field_110.pl | ||
unimarc_field_115a.pl | ||
unimarc_field_115b.pl | ||
unimarc_field_116.pl | ||
unimarc_field_117.pl | ||
unimarc_field_120.pl | ||
unimarc_field_121a.pl | ||
unimarc_field_121b.pl | ||
unimarc_field_122.pl | ||
unimarc_field_123a.pl | ||
unimarc_field_123d.pl | ||
unimarc_field_123e.pl | ||
unimarc_field_123f.pl | ||
unimarc_field_123g.pl | ||
unimarc_field_123i.pl | ||
unimarc_field_123j.pl | ||
unimarc_field_124.pl | ||
unimarc_field_124a.pl | ||
unimarc_field_124b.pl | ||
unimarc_field_124c.pl | ||
unimarc_field_124d.pl | ||
unimarc_field_124e.pl | ||
unimarc_field_124f.pl | ||
unimarc_field_124g.pl | ||
unimarc_field_125.pl | ||
unimarc_field_125a.pl | ||
unimarc_field_125b.pl | ||
unimarc_field_126.pl | ||
unimarc_field_126a.pl | ||
unimarc_field_126b.pl | ||
unimarc_field_127.pl | ||
unimarc_field_128a.pl | ||
unimarc_field_128b.pl | ||
unimarc_field_128c.pl | ||
unimarc_field_130.pl | ||
unimarc_field_135a.pl | ||
unimarc_field_140.pl | ||
unimarc_field_141.pl | ||
unimarc_field_210c.pl | ||
unimarc_field_210c_bis.pl | ||
unimarc_field_225a.pl | ||
unimarc_field_686a.pl | ||
unimarc_field_700-4.pl | ||
unimarc_leader.pl |