https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31606
Aleisha Amohia <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #184121|0 |1 is obsolete| | --- Comment #35 from Aleisha Amohia <[email protected]> --- Created attachment 190529 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=190529&action=edit Bug 31606: Add option to ignore the incoming fund on newly staged files This enhancement adds the option to ignore the fund specified in newly staged records when adding orders to a basket. To test: 1) Configure the MarcFieldsToOrder syspref so that Koha knows to map a MARC field in the staged record to a budget. It may look something like this: budget_code: 942$e 2) Make sure you have a MARC file where your configured MARC field contains a fund code that exists in your Koha. You could follow these steps: a) Create an active budget b) Attach a fund with code FUND c) Edit a record d) If using the mapping configured in MarcFieldsToOrder above, add FUND to the 942$e of your record e) Download the record in MARCXML format 3) Go to Acquisitions. Create a vendor and a basket if you don't already have them. 4) Add an order to the basket 5) Choose 'From a new file' 6) Upload the MARCXML you just downloaded and stage for import 7) In the 'job enqueued' box, notice there is a sceond button to 'Add staged files and ignore incoming fund'. Click the normal button to Add staged files to basket 8) Open the record you just staged by clicking on it/the checkbox. Confirm the fund pre-selected is the FUND from your budget_code field i.e. 942$e. Go to the Default accounting details tab, there may or may not be a different fund selected there. 9) Click Cancel, you'll be redirected back to the basket. 10) Repeat steps 4-7, except this time, check the new second button to 'Add staged files and ignore incoming fund' 11) Repeat step 8 and confirm there is no fund pre-selected, for both the staged record and under the Default accounting details tab. 12) Click Cancel, you'll be redirected back to the basket. 13) Repeat steps 4-7, except this time, click the 'View detail of the enqueued job' link 14) Confirm both buttons are there to add staged files to basket, with or without incoming fund, and they work as expected. Sponsored-by: Friends of Round Rock Library Signed-off-by: Rhonda Kuiper <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
