LP#1942220: add open-ils.acq.po_item.disencumber method
authorGalen Charlton <gmc@equinoxOLI.org>
Tue, 14 Dec 2021 01:59:11 +0000 (20:59 -0500)
committerGalen Charlton <gmc@equinoxOLI.org>
Tue, 14 Dec 2021 01:59:11 +0000 (20:59 -0500)
commitb89f4a014369e129f36c9735bea080ec8891f6a3
tree7c7096f1e0be2bd6deeedabbfe2472cb6f139c75
parent4b0b351f939a33ca1afd25f5171a06195a0c400c
LP#1942220: add open-ils.acq.po_item.disencumber method

This method disencumbers a PO item by setting its fund debit's amount
to zero. Note that this can be done only for encumbrances; if the
debit is an expenditure, it cannot be changed.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm