Bug 34170 - Ability to add record/order line specific credits
Summary: Ability to add record/order line specific credits
Status: RESOLVED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-30 10:07 UTC by Katrin Fischer
Modified: 2023-09-11 13:04 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Credit in acq tab (100.73 KB, image/png)
2023-06-30 17:51 UTC, Caroline Cyr La Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2023-06-30 10:07:45 UTC
With invoice adjustments it's possible to enter negative values to indicate a credit (see bug 19166). The problem is, that while these are linked to a specific invoice, there is no way to link an invoice adjustment to a specific order line or record.

The credits might be granted after the initial invoice, because an order has been cancelled mid-term or because of a special discount that was applied. 

In order to be able to calculate the correct cost in that case, we need to be able to link it to a record or order line.

One way this could be achieved would be to allow negative prices on ordering. At the moment when you enter a negative list price, it's stored correctly into the database, but won't be used correctly for calculations and the minus signs is lost in display.
Comment 1 Caroline Cyr La Rose 2023-06-30 13:45:33 UTC
Here is the procedure I give my clients for handling returned items in acquisitions.
https://inlibro.com/knowledge-base/ajouter-un-credit-pour-un-document-retourne/

Basically, make an order, but with a negative price. As far as I can tell, it correctly "returns" the money in the chosen fund once the item is "received", and the minus sign is displayed. It also keeps the credit information in the acquisitions tab in the catalog module, so you know you returned that title. I just tested it in master and it's working.

It's logical, but I find it's a lot of steps to return an item. When I used to do acquisitions, returning items would be something that I did often, for a variety of reasons (however, I used good old spreadsheets to manage my acquisitions as our system didn't have the acquisitions module activated).

If we're to add this feature, I would think differently about how to go about it. For example, skip the whole create basket/close basket/receive item process, and simply add the ability to add a credit from the vendor page (New > Credit). Then either choose to add an arbitrary amount, or choose an ordered/received item to credit.

Or, add a button to add a credit next to the order (with the soon-to-be-added *wink wink* cancel button from bug 33664 :D ).
Comment 2 Caroline Cyr La Rose 2023-06-30 17:51:22 UTC
Created attachment 152910 [details]
Credit in acq tab

Katrin, here's the screenshot of the credit in the acq tab in the catalogue module.
Comment 3 Michaela Sieber 2023-09-11 06:28:21 UTC
I close this bug because it is possible to have negativ prices on order and receive for specific order lines.

The issue that the negativ price is not diplayed well is fixed in Bug 34305 - If actual cost is negative, wrong price will display in the acq details tab

Thanks Caroline for sharing your workflow!
Comment 4 Caroline Cyr La Rose 2023-09-11 13:04:23 UTC
I still think it would be interesting to have a more direct way of doing it.