Use current fiscal year for PO creation (API) user/miker/po-upload-default-to-fiscal-year
authorBill Erickson <berick@esilibrary.com>
Wed, 5 Sep 2012 18:39:36 +0000 (14:39 -0400)
committerMike Rylander <mrylander@gmail.com>
Wed, 5 Sep 2012 19:50:46 +0000 (15:50 -0400)
commitef54d14252453cfb7d2d402c7a5be506718636dd
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>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm