Comment 2 for bug 1829954

Revision history for this message
Tiffany Little (tslittle) wrote :

Given Christine's testing, I went back to the drawing board with this one. I can confirm that I saw the same thing as Christine--original fund debit is not restored, but a new one is created. Also, +1 to her comment that it should restore the copy.

But when I dug deeper and actually reproduced the workflow that caused this, I got my original result. Basically, if the item is on-order, then marked cancelled, and then later invoiced (possibly by EDI), the fund debit is not restored when received. So what happened for one of our libraries is that the staff member cancelled the item, but then the invoice came in via EDI, which linked to that lineitem. Then he got the materials and when he marked them as received, the fund debit was not restored. So if the cancelled lineitem is linked to an invoice and *then* received, the fund debit isn't restored.

So, in brief, to test:
1. Create a purchase order.
2. Create a brief record to create a new line item.
3. Give it price, etc. info.
4. Activate.
5. Mark the lineitem as Cancelled: By Vendor. If you're cross-checking your associated fund, you'll see the fund debit disappears.
6. Create an invoice from that lineitem and save it.
7. Go back to the PO and receive the lineitem.
8. Cross check your fund and you'll see there is no corresponding fund debit.