]> git.evergreen-ils.org Git - Evergreen.git/blob - docs/RELEASE_NOTES_NEXT/Acquisitions/invoice-close-date.adoc
LP#1791184: ensure that 'make clean' doesn't delete pingest.pl
[Evergreen.git] / docs / RELEASE_NOTES_NEXT / Acquisitions / invoice-close-date.adoc
1 Invoice Closed Date and Closed By Fields
2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3 Acquisitions invoices have 2 new fields:
4
5 * Close Date -- This is set to the time when the ACQ user clicks the "Close"
6   button in the invoice interface.
7   ** This field 'replaces' the existing 'complete' field.  An invoice is
8      considered complete if a close date value is set.
9 * Closed By -- This is set to the logged in staff user who performs the 
10   "Close" action.
11
12 As with the now-defunct 'complete' field, but new fields are cleared in the 
13 event an invoice is reopened.
14
15 These new fields are visible in the invoice interface under the 
16 'Show Details' action for closed invoices.
17
18 Upgrading Invoice Reports
19 +++++++++++++++++++++++++
20
21 Existing report templates that reference the invoice 'complete' field 
22 should be modified to check whether the new close_date field is NOT NULL
23 instead.
24
25 Other Upgrade Considerations
26 ++++++++++++++++++++++++++++
27
28 At deploy time, all invoices with a 'complete' value of TRUE will have their
29 'close_date' field set to NOW.  A value is required, since this field is
30 now the source of whether an invoice is open or closed.
31
32 However, no values will be applied to the closed_by field for already closed
33 invoices.
34