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>
Wed, 19 Aug 2015 16:33:27 +0000 (12:33 -0400)
commit4144e25e10351cf4fd397a6dd3010b93e5d98c8d
treec7e8d56d11a6e0503d42c8bf25bb0736cca2a134
parentb34abf2a95296882452dbe5ed3df2fc1067f395a
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>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
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]