Comment 13 for bug 978095

Revision history for this message
Jason Etheridge (phasefx) wrote :

For testing, this is what I did with a fresh concerto dataset:

Web Client -> Acquisitions -> Purchase Orders -> Search -> 2 -> Copies(2) on lineitem #3
on copy ACQ0001, cancel, Delayed: Backordered, Cancel Copy, OK
on copy ACQ0002, cancel, Canceled: By Vendor, Cancel Copy, OK
the UI should refresh and show lineitem #3 as Backordered

For refreshing the data for iterative testing, I used the following SQL in the database:

BEGIN;

TRUNCATE acq.fund CASCADE;
TRUNCATE acq.fund_allocation CASCADE;
TRUNCATE acq.fund_debit CASCADE;
TRUNCATE acq.funding_source CASCADE;
TRUNCATE acq.funding_source_credit CASCADE;
TRUNCATE acq.lineitem CASCADE;
TRUNCATE acq.lineitem_detail CASCADE;
TRUNCATE acq.provider CASCADE;
TRUNCATE acq.provider_holding_subfield_map CASCADE;
TRUNCATE acq.purchase_order CASCADE;

\i ~/git/Evergreen/Open-ILS/tests/datasets/sql/acq.sql

COMMIT;