LP#1440114 Direct charge blanket orders
authorBill Erickson <berickxx@gmail.com>
Tue, 7 Apr 2015 19:47:10 +0000 (15:47 -0400)
committerBill Erickson <berickxx@gmail.com>
Tue, 18 Aug 2015 14:09:06 +0000 (10:09 -0400)
commitfc2b4c6cddfcc89ade8341bdcf947f0a0ca1c122
tree5dfbcb5b8060ea17d061af240d6741d43c9498be
parent94d1e2cfb1c5df67abc0660d6237a6f010420c85
LP#1440114 Direct charge blanket orders

Support "blanket" (long-lived, multi-invoice) orders via a new "blanket"
boolean on invoice item types.  Blanket charges can be invoiced multiple
times by creating a new fund_debit for each invoice item linked to a
blanket po_item.

This change also adds the amounts paid over time for blanket charges to
the Amount Paid summary information for purchase orders containing the
charges.

Adds a new Invoice Item Type of "Blanket Order".

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Financials.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Invoice.pm
Open-ILS/src/sql/Pg/200.schema.acq.sql
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.acq_blanket_orders.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/YYYY.data.acq_blanket_order.sql [new file with mode: 0644]