[open-ils-commits] r12879 - trunk/Open-ILS/src/support-scripts/test-scripts (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Apr 15 11:49:54 EDT 2009
Author: erickson
Date: 2009-04-15 11:49:51 -0400 (Wed, 15 Apr 2009)
New Revision: 12879
Modified:
trunk/Open-ILS/src/support-scripts/test-scripts/purge_po.sql
Log:
if we keep the li around, reset some other fields
Modified: trunk/Open-ILS/src/support-scripts/test-scripts/purge_po.sql
===================================================================
--- trunk/Open-ILS/src/support-scripts/test-scripts/purge_po.sql 2009-04-15 15:45:42 UTC (rev 12878)
+++ trunk/Open-ILS/src/support-scripts/test-scripts/purge_po.sql 2009-04-15 15:49:51 UTC (rev 12879)
@@ -20,7 +20,7 @@
DELETE FROM acq.lineitem_attr WHERE lineitem = li.id;
DELETE from acq.lineitem WHERE id = li.id;
ELSE
- UPDATE acq.lineitem SET purchase_order = NULL WHERE id = li.id;
+ UPDATE acq.lineitem SET purchase_order = NULL, eg_bib_id = NULL, state = 'new' WHERE id = li.id;
END IF;
END LOOP;
More information about the open-ils-commits
mailing list