Incoming EDI invoices automatically change amounts in fund debits
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Unassigned |
Bug Description
When an EDI invoice is pulled in where the line item cost differs from the origin amount on the PO, the encumbrance amount is changed in the fund debit before a user ever takes any action on it. I think that the amount of a fund debit should remain the same as the origin_amount until an invoice is--at a minimum--saved, or more ideally when the invoice is closed by a user.
Use case scenario: We have a library where the vendor rolls their processing charges into the line item cost. So if the item is $8 and processing on that item is $4, the line item cost is $12 on the PO. On the subsequent invoice, the line item cost is $8 and there is a direct charge at the bottom of $4. So theoretically, funding-wise this should be a wash.
So the fund debit origin amount is $12, and when the PO is activated the origin amount is $12. When the EDI invoice is pulled in with a line item amount of $8, the amount is automatically being updated to $8 before the user ever accesses the invoice. I don't think it should--it should remain the origin_amount until the user takes some action on that invoice, whether that's to save or close.
This also happens with created invoices, but it happens when you save the invoice. That makes sense to me because that's user-generated, whereas as it's happening with EDI invoices it's happening before a user touches the invoice at all. So they're looking at their fund summaries, and they've inexplicably changed overnight even though they haven't made any orders or paid any invoices.
This is on 3.0.2.
tags: | added: acq-edi acq-funds acq-invoice |
I wonder if this could be configurable behavior. We really prefer the current behavior, because it prevents our staff from doing more manual work. The EDI Invoices come in, correct the prices without our staff having to worry about them, and then we don't have a process of Saving or Closing invoices.