https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41785

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|                            |This enhancement adds a new
      release notes|                            |cataloging plugin/value
                   |                            |builder:
                   |                            |stocknumberAV_spacing.pl
                   |                            |(for use in 952$i (MARC21)
                   |                            |or 995$j(UNIMARC)).
                   |                            |
                   |                            |This is similar to the
                   |                            |existing stocknumberAV.pl
                   |                            |cataloging plugin, but with
                   |                            |these changes:
                   |                            |1. Requires creating an
                   |                            |INVENTORY_SPACING
                   |                            |authorized value category.
                   |                            |2. It generates an
                   |                            |inventory number with the
                   |                            |prefix from the authorized
                   |                            |value category without the
                   |                            |leading zeros, for example:
                   |                            |ABC 1
                   |                            |2. It lets you chose the
                   |                            |prefix from a dropdown list
                   |                            |of authorized values.
                   |                            |
                   |                            |(The existing
                   |                            |stocknumberAV.pl adds a 10
                   |                            |digit number with leading
                   |                            |zeros, for example: ABC
                   |                            |0000000001. There is no
                   |                            |dropdown list to choose the
                   |                            |authorized value from, you
                   |                            |need to enter this
                   |                            |manually.)
                 CC|                            |[email protected]
           Assignee|[email protected] |[email protected]
                   |ity.org                     |m

--- Comment #8 from David Nind <[email protected]> ---
Added assignee 8-)

I've tested, and signed off, but just wanted to clarify my understanding of
what the new plugin/value builder does.

The difference between the existing stocknumberAV.pl and the
stocknumberAV_spacing.pl is:

1. stocknumberAV.pl = ABC 0000000001 (leading 0s after the authorized value
code)

2. stocknumberAV_spacing.pl = ABC 1 (no leading 0s after the authorized value
code)

3. An enhancement with the new stocknumberAV_spacing.pl cataloging plugin is
that it gives you a dropdown list of the authorized category values to choose
from, instead of you having to know what code to use.

Also, I've added a follow-up to amend the description in the plugin to reflect
that you need to create an INVENTORY_SPACING authorized value category (not
INVENTORY).

Testing notes (using KTD and a MARC21 instance):
1. Apply the patch.
2. Restart everything: restart_all
3. Update a framework to use the new stocknumberAV_spacing.pl cataloging
   plugin/value builder:
   - BKS (Books, Booklets, Workbooks)
   - 952$i
   - Set the Plugins value to stocknumberAV_spacing.pl
   - Save changes
4. Add a new authorized value category:
   - Administration > Basic parameters > Authorized values > New category
   - Category: INVENTORY_SPACING
   - Add some authorized values:
     . ABC
     . XYZ
   - Create an additional authorized value that will start at a specific
number:
     . Authorized value: MNO
     . Description 500
5. Edit or add an item for a record.
6. For i - Inventory number:
   - Click on the icon to the right of the input box
   - Select ABC
   Result: populates the field with ABC 1
7. Repeat step 6 for a new item, inventory number is ABC 2
8. Repeat step 6 for a new item using the MNO authorized value, 
   inventory number is 501

Details for current inventory/stocknumber cataloging plugins/value builders:
https://koha-community.org/manual/latest/en/html/valuebuilder.html#stocknumber-library-code

- stocknumber.pl (library code and sequential number, for example: CPL_1
- stocknumberam123.pl (manually entered prefix, space and a 10-digit number,
for example: ABC 0000000001)
- stocknumberAV.pl (prefix from authorized value category INVENTORY (need to
create) - need to enter manually (not chosen from a dropdown list), space, and
a 10-digit number, for example: XYZ 0000000001)

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to