]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#978095 Fixed SQL query
authorLiam Whalen <liam.whalen@bc.libraries.coop>
Thu, 5 Nov 2015 19:33:17 +0000 (11:33 -0800)
committerLiam Whalen <liam.whalen@bc.libraries.coop>
Thu, 5 Nov 2015 19:33:17 +0000 (11:33 -0800)
commit5277da83513016dad2772144bea7b0fa1a6b1a32
treef80827ef7326999ad3d4b193e69468090152090c
parent5b33f1c56f1a45297080356ad6a1e5c09d0f6e9a
LP#978095 Fixed SQL query

The SQL query was not gathering the correct data from the
acq.lineitem_detail and acq.lineitem tables.  We needed to add
acq.cancel_reason to the query and test for the presence of no cancel
reasons or the presence of cancel reasons with
acq.cancel_reason.fund_debits of true because we do not want to mark a
lineitem as canceled if it has a cancel reason with fund_debits on it.

Signed-off-by: Liam Whalen <liam.whalen@bc.libraries.coop>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm