Bug 21298

Summary: Reopening a basket, the dates reset for date ordered and thus affect the late orders report
Product: Koha Reporter: arees
Component: DocumentationAssignee: Bugs List <koha-bugs>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P4 CC: arees, bob, nick
Version: 17.11   
Hardware: Macintosh   
OS: Mac OS   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Crowdfunding committed: 0
Crowdfunding contact: Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Screenshots of reports before date change and after

Description arees 2018-08-31 00:56:12 UTC
Created attachment 78318 [details]
Screenshots of reports before date change and after

The late orders report allows you to track the length of time an order has been with a supplier. If you re-open a basket in acquisitions to, for example, cancel the order of an item that cannot be supplied, then the dates in the late order report reset to the day you re-opened the basket i.e. An order that is at 90 days will reset to 1 day late. 
This renders the late reporting facility very inaccurate and we cannot rely on this report to track our orders.
Comment 1 Bob Birchall 2018-09-14 23:25:06 UTC
This issue has been addressed with an update to the documentation. It seems there are two ways to delete an order. It is not recommended to re-open the basket to delete, precisely because re-closing the basket will update aqbasket.closeddate, thereby invalidating the Late Orders Report.
The preferred way to cancel an order is to receive, by creating a false invoice and cancelling from there. 
A new section 'Cancelling an order' has been added to the Acquisitions chapter of the manual. 
The commit has been merged, so closing this out now.