Koha/installer/data/mysql
Jared Camins-Esakov 2d47b85692 Bug 10366: Alert librarian if an invoice number is duplicated
Some vendors ship materials from the same invoice in multiple packages.
In those cases, it would be good to notify the librarian when they enter
a duplicate invoice number, so that they can continue receiving on the
previously-created invoice, rather than creating an invoice with a
duplicate number.

To test:
1) Apply patch and run database update.
2) Make sure that you have created at least one invoice on
   acqui/parcels.pl and take note of the invoice number.
3) Try to create an invoice with the same invoice number.
4) Note that without changing your configuration this works exactly
   the same as before.
5) Turn on the AcqWarnOnDuplicateInvoice system preference.
6) Try to create a new invoice with the same number as the one you
   noted earlier.
7) Make sure you get a warning about a duplicate invoice.
8) Choose to receive on the existing invoice.
9) Confirm that you are receiving on said existing invoice.
10) Start the receiving process over, and this time choose "Create new
    invoice anyway."
11) Confirm that you are now receiving on a new invoice.

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script.

I have followed the test plan, but also checked some more things:
- Checking the duplicate check works when you have the entered
  invoice number in your database multiple times already.
- Checking that no duplicate message is shown if you enter the
  invoice number and it's already been used for an invoice from
  another vendor.

Looks all good. I think the only thing we could argue about here
is if this could be activated by default for new installations.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-07-06 17:13:45 +00:00
..
atomicupdate Bug 7475: Update configuration 2012-09-19 17:15:25 +02:00
de-DE Bug 10474: Translate some English strings in German sample notices 2013-07-05 07:00:55 -07:00
en Bug 10488: Followup replacing DELETEs by more restricted INSERTs 2013-07-03 04:20:40 -07:00
es-ES Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
fr-FR Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
it-IT Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
nb-NO Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
pl-PL Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
ru-RU Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
uk-UA Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
backfill_statistics.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
kohastructure.sql Bug 9987: Remove DB field aqorders.biblioitemnunmber 2013-07-02 15:18:50 -07:00
labels_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
patroncards_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
sample_only_param_tables.sql
sysprefs.sql Bug 10366: Alert librarian if an invoice number is duplicated 2013-07-06 17:13:45 +00:00
update22to30.pl Bug 8289 Upgrading from 2.2 does not work anymore 2012-06-25 16:15:42 +02:00
updatedatabase.pl Bug 10366: Alert librarian if an invoice number is duplicated 2013-07-06 17:13:45 +00:00