Uploaded Purchase orders can't be activated
Bug #865552 reported by
Mary Llewellyn
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Evergreen version: 2.0.9
OpenSRF version: 2.0.0
PostgreSQL version: 8.4
Linux distribution: Ubuntu 10.04 Lucid
When you use the acq function "Load MARC Order Records", when you click on "Create Purchase Order" but not "Activate Purchase Order" and upload a vendor order straight to the PO, the purchase order cannot be activated, even after you've assigned a fund to the lineitems. The lineitems all have a status of "pending order" and can't be moved to "on order".
If you do click on "Activate Purchase Order" before uploading the vendor MARC order file, the same is true. The PO is not activated, and the lineitems have a status of "pending order."
tags: | added: po |
Changed in evergreen: | |
status: | New → Fix Committed |
milestone: | none → 2.2.0beta1 |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I can confirm that this continues to be a problem as of 2.2 alpha 1, and I have a little more detail to add to this report. When you select "Create Purchase Order" but not "Activate Purchase Order," the state in acq.purchase_order is set to "on-order" when it should be set to "pending." If I change this value to "pending" through a direct database update, I am then able to activate the order.
When the "Activate Purchase Order" option is selected, the purchase order state is set to "on-order" as it should be, but the individual lineitems loaded into acq.lineitem with a state of "pending-order" when it should be a state of "on-order." If I do a direct update through the database to change the state of the lineitems to "on-order," then the PO appears to be activated.