Acq: purchase orders stay "on-order" with some lineitems received and the rest canceled
Bug #1257915 reported by
Lebbeous Fogle-Weekley
This bug affects 11 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
2.11 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Seen both in Evergreen master and 2.3.4, purchase orders can get "stuck" in the "on-order" state even when all the lineitems belonging to it have a more final status.
It's simple enough to reproduce.
- Create a purchase order with, say, 3 lineitems and 2 copies on each of these.
- Receive the first two lineitems outright.
- Receive one of the copies on the last lineitem and cancel the other.
You'll see the PO's own state is still "on-order" when "received" would make more sense.
I'm pretty sure "received" would make more sense even in cases where you had a 100 item PO with 1 item received and 99 canceled.
Does anybody have a case to make for the current behavior or for a third way?
Changed in evergreen: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in evergreen: | |
assignee: | nobody → Chris Sharp (chrissharp123) |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Quick note, if any of the canceled items are not really canceled (keep_debits=true), then I'm assuming the PO would remain on-order until such items were received, deleted, or truly canceled.