Use current fiscal year for PO creation (API) user/berick/po-upload-default-to-fiscal-year
authorBill Erickson <berick@esilibrary.com>
Wed, 5 Sep 2012 18:39:36 +0000 (14:39 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 5 Sep 2012 18:39:36 +0000 (14:39 -0400)
commit4c61e2ec12d6cfaf7f6a59cad9d6b9a9275e510b
tree2828e85da74ffd351af2727d55ae2ddec7ef0039
parentc9fba6213431914723506ee666b5928522bd5094
Use current fiscal year for PO creation (API)

When creating a PO, if no fiscal_year is specified by the caller, use
the current fiscal year of the ordering agency.  This change primarily
affects the Open-ILS/src/support-scripts/acq_order_reader.pl script (and
any other direct API callers) which does not offer the user a chance to
set the fiscal year manually.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm