Koha/acqui
Frédérick Capovilla 327be442bd Bug 6963: Corrects a problem when a new order is created with a duplicate barcode.
If the AcqCreateItem preference is set to "ordering" and the barcode for
the new item is already in use, no error is returned, but an invalid
itemnumber is saved in the aqorders_items table and the item is never
created.

This patch adds a duplicate barcode verification in neworderempty.pl
_koha_add_item is also modified so it won't return an invalid ID when
an item can't be added.

http://bugs.koha-community.org/show_bug.cgi?id=6963
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Test plan on second patch.
2011-11-04 10:22:28 +01:00
..
pdfformat Bug 5970: Adds the ability to use a free delivery address for basket 2011-04-05 15:10:17 +12:00
acqui-home.pl bug 6834 followup removing param_map 2011-09-03 06:39:24 +12:00
addorder.pl Bug 5680: Order cancelling improvement : delete attached items & biblio if avalaible 2011-10-19 16:58:46 +13:00
addorderiso2709.pl BZ6074: setting import flag when staged file imported in aqbasket 2011-10-07 10:08:41 +13:00
basket.pl Bug 5680: Order cancelling improvement : delete attached items & biblio if avalaible 2011-10-19 16:58:46 +13:00
basketgroup.pl Bug 6076: acqui pdf error when marcxml wrong 2011-10-07 10:20:13 +13:00
basketheader.pl Fix FSF address in directory acqui/ 2010-03-16 20:17:51 -04:00
booksellers.pl Bug 6390: Implement 'see mine/my branches/all baskets'-syspref 2011-10-18 09:39:45 +13:00
check_budget_total.pl Bug 5385: POD Cleanups (part 1) 2010-11-12 10:06:55 +13:00
check_duplicate_barcode_ajax.pl Bug 6963: Corrects a problem when a new order is created with a duplicate barcode. 2011-11-04 10:22:28 +01:00
currency.pl Fix FSF address in directory acqui/ 2010-03-16 20:17:51 -04:00
finishreceive.pl Fix FSF address in directory acqui/ 2010-03-16 20:17:51 -04:00
histsearch.pl Bug 6807 - Add ISBN filter to advanced order search. 2011-10-14 10:57:30 +13:00
lateorders.pl Bug5063: C4::Bookseller Changes 2011-03-12 08:42:26 +13:00
neworderbiblio.pl Bug 5415 Let calls of SimpleSearch utilize considtent interface 2011-04-08 13:52:57 +12:00
neworderempty.pl Use unitprice in neworder so that the value is saved in the database and so it will be the same field used as to receive shipments 2011-11-04 08:02:54 +01:00
newordersuggestion.pl Bug5063: C4::Bookseller Changes 2011-03-12 08:42:26 +13:00
orderreceive.pl Bug5063: C4::Bookseller Changes 2011-03-12 08:42:26 +13:00
parcel.pl Bug 5680: Follow Up for Order cancelling improvement : the same for parcel.pl 2011-10-19 16:59:12 +13:00
parcels.pl Bug 6072: fixing permission inconsistencies MT5306 2011-04-08 13:10:12 +12:00
supplier.pl Bug 6072: fixing permission inconsistencies MT5306 2011-04-08 13:10:12 +12:00
uncertainprice.pl Fix FSF address in directory acqui/ 2010-03-16 20:17:51 -04:00
updatesupplier.pl 5936: Remove some obsolete db columns from aqbooksellers and aqbudgets if needed 2011-04-07 16:30:16 +12:00
z3950_search.pl Bug 5445: Nicer breadcrumbs when ordering from different sources 2011-04-27 16:10:46 +12:00