EDI response honor lineitem-level status; debit cleanup
authorBill Erickson <berick@esilibrary.com>
Mon, 3 Dec 2012 19:51:41 +0000 (14:51 -0500)
committerDan Scott <dscott@laurentian.ca>
Wed, 23 Jan 2013 05:17:21 +0000 (00:17 -0500)
commitd9696c69dcc014fd430e1208c8123a5da8f44e9e
treef214c976666ccc029dab6f2a38180c3862942a32
parente125711a8b6de594705f2c7169eb5182fffef650
EDI response honor lineitem-level status; debit cleanup

* Honor lineitem-level order status info (FTX+LIN) which indicates, in
  some cases, that all ordered copies should be cancelled because the LI
  as a whole is cancelled

* Delete fund debits for cancelled lineitem details when appropriate

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/EDI.pm
Open-ILS/src/perlmods/lib/OpenILS/Utils/EDIReader.pm
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.acq_cancel_not_accepted.sql [new file with mode: 0644]