Created attachment 140860 [details] Full description of problem of end-of-year processing & possible solution. The topic of end-of-year processing has come up regularly in the koha-us Acquisitions SIG. Librarians would like to have a way to order things for the next year when still in the current year and have the items showing up on the next year's budget. Example: our library has a fiscal year that goes from Oct 1 to Sept 30. A popular book will release October 15. We want to order the book in August. We would like to have the item ordered on the new fiscal year starting October. How do we do that? I have attached a Word document that more fully explains the issue and I have suggested a solution that I think will work for both EDI and non-EDI vendors. Please look over the solution and share any problems or improvements.
I would love to have this functionality! Our library is in the same situation as Rhonda’s where we need to be able know the exact status of how much we’ve spent and how much is outstanding in our current fiscal year which goes through the end of September - but we also want to start pre-ordering materials for the next fiscal year. We’ve handled this in two ways over the years. One is to stop ordering anything that we aren’t sure will fill before the end of the current fiscal and wait to order it until the next fiscal year. That means we don’t get the newest materials on time and patrons are not happy about that. The other method is to go ahead and just keeping ordering but attempt to track how much of what is encumbered will actually fill during the current year in an Excel spreadsheet. This takes way too much time and is error prone. So +1 for this bug.
Agreed. Our library system is in a similar situation. This functionality sounds ideal.
What our libraries do here is create the budget for next year when they need to do that (before the end of year actions) and start odering there. You can have 2 and more active budgets in Koha and can still later close them and move the open orders. But maybe I am missing something?
I think this works in some cases. The problem comes when we create the order on the vendor site and upload that in Koha. The grids used on the vendor side contains the fund code but no indication of which budget. We have the same Fund code for both budgets to be able to roll over budgets at the end of the year. Koha doesn't have a way of knowing which budget to attach the orders to. That is why we want the ability to update the fund code in batch mode. In the case of EDI ordering (US), when Koha receives the orders, there is no way for Koha to know which budget to adjust. From my experience, it just uses the first budget code that it finds that matches. That is why we need something in the plugin to pass the budget ID so the correct budget is adjusted.
Thx for explaining! So if I understood correctly, this would be something like: * Use fund id instead of code (maybe optional) when uploading orders to Koha * Batch edit orders to change the fund they are assigned to Maybe these could be split into 2 bugs with this as an omnibus.
I can't think of a way to get the fund id in the grid coming from the vendor. I have been brain storming with Nick at KohaCon about this and an idea he had was - For the cases where we are add to a basket from 'a new file' or 'a staged file' that there would be a dropdown next to 'a new file' or 'a staged file' to allow selecting the budget the basket is for. - When receiving, always use the current year's budget because that will be the year that it will be paid for. The budgets have the dates and Koha could use that information. I have attached a mockup for the 'add to a basket' part.
Created attachment 140958 [details] a mockup of the change to the add to basket
Created attachment 141004 [details] Shows the different ways the fund drop down is organized in Koha.
It would be helpful if the fund drop down was display/organized as it is on the item receiving page with the funds grouped under the appropriate budget header. When ordering, the funds display by alphabetical order with no indication what fund they are associated with. (see attachment 'fund drop down')
Created attachment 148574 [details] Default accounting details tab gives option to select a fund for all orders from a file Hi all, I've found an option to select a fund for all orders from a file. It is found under the 'Default accounting details' tab, visible at the same stage as selecting items from the file to order. I believe this addresses the need to batch edit orders to apply a fund. Can you please advise, where would it be useful to store the budget ID (or name) with the order? If this is still needed? I think it's a great idea to display the budget names in the fund dropdown when adding orders to baskets. Thanks Aleisha
> I think it's a great idea to display the budget names in the fund dropdown > when adding orders to baskets. I think we should standardize the fund pull downs and always include the budget information. It's not uncommon to order on the current and next years end of year here. I believe Nick did great work showing hierarchy, allowing to display inactive etc. on the receive page. So I hope we could use that as a template.
Created attachment 167427 [details] [review] [WIP] Bug 31606: Make acquisitions fund dropdown consistently show budget name
Created attachment 167505 [details] [review] Bug 31606: Make acquisitions fund dropdown consistently show budget name This patch moves the budget/fund dropdown into a reusable block. So far it has only been applied to dropdowns encountered along the basic order & receive process. To test: 1) Apply patch and restart services 2) Create two budgets. Under each budget, create funds with the same codes (this is so we can depend on the budget names to differentiate between funds). Make one or more funds inactive. 3) Find or create a vendor and an open basket 4) Click Add to basket 5) Search for an existing record 6) Click Add order for your chosen record 7) Fill out required item information 8) Scroll down to Accounting details and open the Fund dropdown. Confirm funds show as expected with their budgets 9) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 10) Cancel or Save your order 11) In another tab, go to Suggestions 12) Click New purchase suggestion 13) Fill out required bibliographic information 14) Scroll down to Acquisition information and open the Fund dropdown. Confirm funds show as expected with their budgets 15) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 16) Submit your suggestion 17) Check the checkbox for your suggestion and mark it as Accepted 18) In your other tab with your basket, click Add to basket 19) Choose From a suggestion 20) Click Order for your suggestion 21) Fill out required item information 22) Scroll down to Accounting details and open the Fund dropdown. Confirm funds show as expected with their budgets 23) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 24) Cancel or Save your order 25) In another tab, go to Serials 26) Click New subscription 27) Fill out required record and serials planning information and Save 28) In your other tab with your basket, click Add to basket 29) Choose From a subscription 30) Search for your subscription and choose Order 31) Scroll down to Accounting details and open the Fund dropdown. Confirm funds show as expected with their budgets 32) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 33) Cancel or Save your order 34) Click Add to basket 35) Choose From existing orders (copy) 36) Open the Fund dropdown. Confirm funds show as expected with their budgets 37) Do a search and check the checkbox for an order, then click Next 38) Open the Fund dropdown. Confirm funds show as expected with their budgets 39) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 40) Cancel or Duplicate orders 41) Click Add to basket 42) Choose From a new file 43) Upload a MARC file and stage a record for import, then choose Add staged files to basket 44) Select a checkbox for a record to expand it 45) Open the Fund dropdown. Confirm funds show as expected with their budgets 46) Go to the Default accounting details tab 47) Open the Fund dropdown. Confirm funds show as expected with their budgets 48) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 49) Save your order 50) Close the basket 51) Click Receive shipments 52) Open the Shipping fund dropdown. Confirm funds show as expected with their budgets 53) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 54) Fill out required invoice information and Save 55) Click Receive for one of your orders 56) Open the Fund dropdown. Confirm funds show as expected with their budgets 57) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected Sponsored-by: Friends of Round Rock Library
Created attachment 167522 [details] [review] Bug 31606: Make acquisitions fund dropdown consistently show budget name This patch moves the budget/fund dropdown into a reusable block. So far it has only been applied to dropdowns encountered along the basic order & receive process. To test: 1) Apply patch and restart services 2) Create two budgets. Under each budget, create funds with the same codes (this is so we can depend on the budget names to differentiate between funds). Make one or more funds inactive. 3) Find or create a vendor and an open basket 4) Click Add to basket 5) Search for an existing record 6) Click Add order for your chosen record 7) Fill out required item information 8) Scroll down to Accounting details and open the Fund dropdown. Confirm funds show as expected with their budgets 9) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 10) Cancel or Save your order 11) In another tab, go to Suggestions 12) Click New purchase suggestion 13) Fill out required bibliographic information 14) Scroll down to Acquisition information and open the Fund dropdown. Confirm funds show as expected with their budgets 15) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 16) Submit your suggestion 17) Check the checkbox for your suggestion and mark it as Accepted 18) In your other tab with your basket, click Add to basket 19) Choose From a suggestion 20) Click Order for your suggestion 21) Fill out required item information 22) Scroll down to Accounting details and open the Fund dropdown. Confirm funds show as expected with their budgets 23) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 24) Cancel or Save your order 25) In another tab, go to Serials 26) Click New subscription 27) Fill out required record and serials planning information and Save 28) In your other tab with your basket, click Add to basket 29) Choose From a subscription 30) Search for your subscription and choose Order 31) Scroll down to Accounting details and open the Fund dropdown. Confirm funds show as expected with their budgets 32) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 33) Cancel or Save your order 34) Click Add to basket 35) Choose From existing orders (copy) 36) Open the Fund dropdown. Confirm funds show as expected with their budgets 37) Do a search and check the checkbox for an order, then click Next 38) Open the Fund dropdown. Confirm funds show as expected with their budgets 39) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 40) Cancel or Duplicate orders 41) Click Add to basket 42) Choose From a new file 43) Upload a MARC file and stage a record for import, then choose Add staged files to basket 44) Select a checkbox for a record to expand it 45) Open the Fund dropdown. Confirm funds show as expected with their budgets 46) Go to the Default accounting details tab 47) Open the Fund dropdown. Confirm funds show as expected with their budgets 48) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 49) Save your order 50) Close the basket 51) Click Receive shipments 52) Open the Shipping fund dropdown. Confirm funds show as expected with their budgets 53) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 54) Fill out required invoice information and Save 55) Click Receive for one of your orders 56) Open the Fund dropdown. Confirm funds show as expected with their budgets 57) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected Sponsored-by: Friends of Round Rock Library
Hi there I've attached a patch that shows the budget name so it's easier to tell which fund to use. This might not solve the whole problem - would really appreciate if some testing could be done on what we have here and happy to keep working on this if more is needed. In particular the part I'm not sure about is "get the fund id in the grid coming from the vendor." - would be good to know if that's still needed with the fix I've attached here. Thanks Aleisha
Created attachment 167908 [details] [review] Bug 31606: Make acquisitions fund dropdown consistently show budget name This patch moves the budget/fund dropdown into a reusable block. So far it has only been applied to dropdowns encountered along the basic order & receive process. To test: 1) Apply patch and restart services 2) Create two budgets. Under each budget, create funds with the same codes (this is so we can depend on the budget names to differentiate between funds). Make one or more funds inactive. 3) Find or create a vendor and an open basket 4) Click Add to basket 5) Search for an existing record 6) Click Add order for your chosen record 7) Fill out required item information 8) Scroll down to Accounting details and open the Fund dropdown. Confirm funds show as expected with their budgets 9) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 10) Cancel or Save your order 11) In another tab, go to Suggestions 12) Click New purchase suggestion 13) Fill out required bibliographic information 14) Scroll down to Acquisition information and open the Fund dropdown. Confirm funds show as expected with their budgets 15) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 16) Submit your suggestion 17) Check the checkbox for your suggestion and mark it as Accepted 18) In your other tab with your basket, click Add to basket 19) Choose From a suggestion 20) Click Order for your suggestion 21) Fill out required item information 22) Scroll down to Accounting details and open the Fund dropdown. Confirm funds show as expected with their budgets 23) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 24) Cancel or Save your order 25) In another tab, go to Serials 26) Click New subscription 27) Fill out required record and serials planning information and Save 28) In your other tab with your basket, click Add to basket 29) Choose From a subscription 30) Search for your subscription and choose Order 31) Scroll down to Accounting details and open the Fund dropdown. Confirm funds show as expected with their budgets 32) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 33) Cancel or Save your order 34) Click Add to basket 35) Choose From existing orders (copy) 36) Open the Fund dropdown. Confirm funds show as expected with their budgets 37) Do a search and check the checkbox for an order, then click Next 38) Open the Fund dropdown. Confirm funds show as expected with their budgets 39) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 40) Cancel or Duplicate orders 41) Click Add to basket 42) Choose From a new file 43) Upload a MARC file and stage a record for import, then choose Add staged files to basket 44) Select a checkbox for a record to expand it 45) Open the Fund dropdown. Confirm funds show as expected with their budgets 46) Go to the Default accounting details tab 47) Open the Fund dropdown. Confirm funds show as expected with their budgets 48) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 49) Save your order 50) Close the basket 51) Click Receive shipments 52) Open the Shipping fund dropdown. Confirm funds show as expected with their budgets 53) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 54) Fill out required invoice information and Save 55) Click Receive for one of your orders 56) Open the Fund dropdown. Confirm funds show as expected with their budgets 57) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected Sponsored-by: Friends of Round Rock Library
Created attachment 168043 [details] [review] Bug 31606: Make acquisitions fund dropdown consistently show budget name This patch moves the budget/fund dropdown into a reusable block. So far it has only been applied to dropdowns encountered along the basic order & receive process. To test: 1) Apply patch and restart services 2) Create two budgets. Under each budget, create funds with the same codes (this is so we can depend on the budget names to differentiate between funds). Make one or more funds inactive. 3) Find or create a vendor and an open basket 4) Click Add to basket 5) Search for an existing record 6) Click Add order for your chosen record 7) Fill out required item information 8) Scroll down to Accounting details and open the Fund dropdown. Confirm funds show as expected with their budgets 9) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 10) Cancel or Save your order 11) In another tab, go to Suggestions 12) Click New purchase suggestion 13) Fill out required bibliographic information 14) Scroll down to Acquisition information and open the Fund dropdown. Confirm funds show as expected with their budgets 15) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 16) Submit your suggestion 17) Check the checkbox for your suggestion and mark it as Accepted 18) In your other tab with your basket, click Add to basket 19) Choose From a suggestion 20) Click Order for your suggestion 21) Fill out required item information 22) Scroll down to Accounting details and open the Fund dropdown. Confirm funds show as expected with their budgets 23) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 24) Cancel or Save your order 25) In another tab, go to Serials 26) Click New subscription 27) Fill out required record and serials planning information and Save 28) In your other tab with your basket, click Add to basket 29) Choose From a subscription 30) Search for your subscription and choose Order 31) Scroll down to Accounting details and open the Fund dropdown. Confirm funds show as expected with their budgets 32) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 33) Cancel or Save your order 34) Click Add to basket 35) Choose From existing orders (copy) 36) Open the Fund dropdown. Confirm funds show as expected with their budgets 37) Do a search and check the checkbox for an order, then click Next 38) Open the Fund dropdown. Confirm funds show as expected with their budgets 39) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 40) Cancel or Duplicate orders 41) Click Add to basket 42) Choose From a new file 43) Upload a MARC file and stage a record for import, then choose Add staged files to basket 44) Select a checkbox for a record to expand it 45) Open the Fund dropdown. Confirm funds show as expected with their budgets 46) Go to the Default accounting details tab 47) Open the Fund dropdown. Confirm funds show as expected with their budgets 48) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 49) Save your order 50) Close the basket 51) Click Receive shipments 52) Open the Shipping fund dropdown. Confirm funds show as expected with their budgets 53) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 54) Fill out required invoice information and Save 55) Click Receive for one of your orders 56) Open the Fund dropdown. Confirm funds show as expected with their budgets 57) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected Sponsored-by: Friends of Round Rock Library
Created attachment 168044 [details] [review] Bug 31606: [WIP] Add FundDropdownSortField system preference Libraries may want to sort the funds by modification/creation date, rather than by ID or code. Work in progress.
Created attachment 169264 [details] [review] Bug 31606: Make acquisitions fund dropdown consistently show budget name This patch moves the budget/fund dropdown into a reusable block. So far it has only been applied to dropdowns encountered along the basic order & receive process. To test: 1) Apply patch and restart services 2) Create two budgets. Under each budget, create funds with the same codes (this is so we can depend on the budget names to differentiate between funds). Make one or more funds inactive. 3) Find or create a vendor and an open basket 4) Click Add to basket 5) Search for an existing record 6) Click Add order for your chosen record 7) Fill out required item information 8) Scroll down to Accounting details and open the Fund dropdown. Confirm funds show as expected with their budgets 9) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 10) Cancel or Save your order 11) In another tab, go to Suggestions 12) Click New purchase suggestion 13) Fill out required bibliographic information 14) Scroll down to Acquisition information and open the Fund dropdown. Confirm funds show as expected with their budgets 15) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 16) Submit your suggestion 17) Check the checkbox for your suggestion and mark it as Accepted 18) In your other tab with your basket, click Add to basket 19) Choose From a suggestion 20) Click Order for your suggestion 21) Fill out required item information 22) Scroll down to Accounting details and open the Fund dropdown. Confirm funds show as expected with their budgets 23) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 24) Cancel or Save your order 25) In another tab, go to Serials 26) Click New subscription 27) Fill out required record and serials planning information and Save 28) In your other tab with your basket, click Add to basket 29) Choose From a subscription 30) Search for your subscription and choose Order 31) Scroll down to Accounting details and open the Fund dropdown. Confirm funds show as expected with their budgets 32) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 33) Cancel or Save your order 34) Click Add to basket 35) Choose From existing orders (copy) 36) Open the Fund dropdown. Confirm funds show as expected with their budgets 37) Do a search and check the checkbox for an order, then click Next 38) Open the Fund dropdown. Confirm funds show as expected with their budgets 39) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 40) Cancel or Duplicate orders 41) Click Add to basket 42) Choose From a new file 43) Upload a MARC file and stage a record for import, then choose Add staged files to basket 44) Select a checkbox for a record to expand it 45) Open the Fund dropdown. Confirm funds show as expected with their budgets 46) Go to the Default accounting details tab 47) Open the Fund dropdown. Confirm funds show as expected with their budgets 48) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 49) Save your order 50) Close the basket 51) Click Receive shipments 52) Open the Shipping fund dropdown. Confirm funds show as expected with their budgets 53) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 54) Fill out required invoice information and Save 55) Click Receive for one of your orders 56) Open the Fund dropdown. Confirm funds show as expected with their budgets 57) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected Sponsored-by: Friends of Round Rock Library
Created attachment 169265 [details] [review] 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 checkbox to 'ignore fund from incoming record?' Leave this unchecked for now and click the 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 checkbox to 'ignore fund from incoming record?' 11) Repeat step 8 and confirm there is no fund pre-selected, for both the staged record and under the Default accounting details tab. Sponsored-by: Friends of Round Rock Library
I just tested this patch and the function is not working. I don't think having a checkbox on the 'job enqueued' page is a good solution for two reasons. 1) sometimes the job goes from not started to complete before I would have a chance to check the box. 2) Even when I did get the box checked while in '0% processed', the function didn't work.
Created attachment 169442 [details] [review] 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
Created attachment 169521 [details] [review] Bug 31606: Ignore incoming fund button when adding orders from staged file This patch adds the 'Add orders and ignore incoming fund' button when using an already staged file to add orders to a basket.
Created attachment 169767 [details] [review] Bug 31606: Make acquisitions fund dropdown consistently show budget name This patch moves the budget/fund dropdown into a reusable block. So far it has only been applied to dropdowns encountered along the basic order & receive process. To test: 1) Apply patch and restart services 2) Create two budgets. Under each budget, create funds with the same codes (this is so we can depend on the budget names to differentiate between funds). Make one or more funds inactive. 3) Find or create a vendor and an open basket 4) Click Add to basket 5) Search for an existing record 6) Click Add order for your chosen record 7) Fill out required item information 8) Scroll down to Accounting details and open the Fund dropdown. Confirm funds show as expected with their budgets 9) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 10) Cancel or Save your order 11) In another tab, go to Suggestions 12) Click New purchase suggestion 13) Fill out required bibliographic information 14) Scroll down to Acquisition information and open the Fund dropdown. Confirm funds show as expected with their budgets 15) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 16) Submit your suggestion 17) Check the checkbox for your suggestion and mark it as Accepted 18) In your other tab with your basket, click Add to basket 19) Choose From a suggestion 20) Click Order for your suggestion 21) Fill out required item information 22) Scroll down to Accounting details and open the Fund dropdown. Confirm funds show as expected with their budgets 23) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 24) Cancel or Save your order 25) In another tab, go to Serials 26) Click New subscription 27) Fill out required record and serials planning information and Save 28) In your other tab with your basket, click Add to basket 29) Choose From a subscription 30) Search for your subscription and choose Order 31) Scroll down to Accounting details and open the Fund dropdown. Confirm funds show as expected with their budgets 32) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 33) Cancel or Save your order 34) Click Add to basket 35) Choose From existing orders (copy) 36) Open the Fund dropdown. Confirm funds show as expected with their budgets 37) Do a search and check the checkbox for an order, then click Next 38) Open the Fund dropdown. Confirm funds show as expected with their budgets 39) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 40) Cancel or Duplicate orders 41) Click Add to basket 42) Choose From a new file 43) Upload a MARC file and stage a record for import, then choose Add staged files to basket 44) Select a checkbox for a record to expand it 45) Open the Fund dropdown. Confirm funds show as expected with their budgets 46) Go to the Default accounting details tab 47) Open the Fund dropdown. Confirm funds show as expected with their budgets 48) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 49) Save your order 50) Close the basket 51) Click Receive shipments 52) Open the Shipping fund dropdown. Confirm funds show as expected with their budgets 53) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected 54) Fill out required invoice information and Save 55) Click Receive for one of your orders 56) Open the Fund dropdown. Confirm funds show as expected with their budgets 57) Toggle the 'Show inactive' checkbox and confirm it shows and hides inactive funds as expected Sponsored-by: Friends of Round Rock Library Signed-off-by: Rhonda Kuiper <rkuiper@roundrocktexas.gov>
Created attachment 169768 [details] [review] 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 <rkuiper@roundrocktexas.gov>
Created attachment 169769 [details] [review] Bug 31606: Ignore incoming fund button when adding orders from staged file This patch adds the 'Add orders and ignore incoming fund' button when using an already staged file to add orders to a basket. Signed-off-by: Rhonda Kuiper <rkuiper@roundrocktexas.gov>