Acq: Purchase Order Activates with 0 Copies on a Line Item
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Unassigned |
Bug Description
Evergreen version: 2.0.10
Postgres: 8.4
OS: Ubu Lucid
It is currently possible to activate a purchase order where line item(s) have 0 copies.
This leads to several problems:
1. Holdings are not created for the line item
2. Funds are not estimated for the line item
3. Funds are not encumbered for the line item
This all makes sense because there is no copy to create or estimate /encumber funds for.
When this occurs libraries attempt to fix this by adding copies after the PO is activated. This leads to bigger problems. When copies are added after a purchase order is activated the system will use the estimated price to calculate the Total Estimated for the purchase order but funds are never encumbered for these copies. These copies also do not have barcodes.
The copies that are created after the fact only partially exist in the system and often cannot be received giving the error "Event: 1502:ASSET_
From an invoice there is the ability to add additional copies to a line item through the invoice if a library receives and is billed for more copies than originally ordered. This feature also creates these items that partially exist.
The majority of this problem would be solved if a purchase order was not activatable if a line item had 0 copies. This would force library staff to find the line item(s) without copies and add copies before being able to activate the purchase order.
My fault for opening a second ticket. 1027244 has more details, so marking this as duplicate.