Allow Payment Due date on AP Invoice to be modified if not all items are cancelled

Description

District reported that unable to modify payment due date in AP Invoice on invoice with 2 cancelled items and 1 partial status item. Requested ability to modify Payment due date in this situation. USASR-402 indicates intention to implement rules to match classic - Payment due date cannot be changed if all items on the invoice are cancelled.

 

To Do: Update InvoicePOItem.getRemainingInvoiceable() to retrieve the existingAmount from the InvoiceRepository for this invoicePOItem and add it back the invoiceItem.amount.  If it doesn't exist (it's a new item) return zero.

The current call to the repository is now obsolete.

 

Environment

None

Attachments

1

Activity

Former user December 19, 2019 at 8:59 PM

Updated Transactions > AP Invoices > Edit AP Invoices section

Jason Klinger November 14, 2019 at 3:55 PM

Testing:
Create an Invoice that partially fills one item, and fully cancels one or more items. You should be able to modify that Invoice and change the payment due date without error.

Fixed

Details

Assignee

Reporter

Story Points

Fix versions

Times Requested

1

Documentation Required

Completed

Time tracking

1d logged

Sprint

Priority

Better PDF Exporter

Created October 11, 2019 at 6:52 PM
Updated August 12, 2022 at 6:48 PM
Resolved December 19, 2019 at 8:59 PM