Bug 14677 - Inventory: Compare Barcodes List to Result function
Summary: Inventory: Compare Barcodes List to Result function
Status: RESOLVED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: 3.20
Hardware: PC Windows
: P5 - low enhancement (vote)
Assignee: Galen Charlton
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-13 17:01 UTC by kleinpastec
Modified: 2023-06-10 20:30 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kleinpastec 2015-08-13 17:01:45 UTC
I am trying to use the "Compare Barcodes List to Result" function in Koha 3.20.  From my understanding, this should compare the list of barcodes that I scan from the shelf to the shelf list of what should be there and will let me know of any misshelved books.  However, when I check the box for this function, it creates the following error message:

Software error:

Can't locate object method "ymd" via package "dateformat" (perhaps you forgot to load "dateformat"?) at /usr/share/koha/lib/Koha/DateUtils.pm line 206, <fh00001barcode test 2.txt> line 91.
For help, please send mail to the webmaster ([no address given]), giving this error message and the time and date of the error.

Here is what I am doing:
Log into the staff client.
Click "Tools"
Click "Inventory/stocktaking"
Choose a file to upload (I'm using a .txt file with  90 real book barcodes in order, skipping one book on the shelf, having one book out of order, and scanning one ISBN instead of our barcode to make sure it catches all issues)
Set inventory date to: current date
Select "Home Library"
For Library, choose Main Campus (Our branch)
Do not select a shelving location
For Item callnumber between ...and enter "300" and "400" (Dewey decimal segment that I pulled these barcodes out of so it isn't searching the entire catalog)
Do not select any Item statuses
Inventory date: current date
Select "skip items on loan" "export to csv file" and "compare barcodes list to results"
Click "Submit"

We have found through experimenting that the only options that impact this error message are the ones under items.notforloan.  If you have one of these selected, it creates the report, but nothing is different about it than if you don't have "compare barcodes" selected.
Comment 1 Katrin Fischer 2023-06-10 20:30:54 UTC
I believe this has been fixed since it was reported in 2015 for 3.2. I just ran some tests and all worked as expected.