Angular Acquisitions Sprint 4: Purchase Order & Line Items Interface

Bug #1942220 reported by Andrea Neiman
70
This bug affects 21 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Wishlist
Unassigned

Bug Description

This work is funded by the Evergreen Community Development Initiative.

Building on the work by Bill Erickson in Bug 1929741, Equinox will continue to angularize the acquisitions interfaces. This piece is focused on the Purchase Order & Line Items interfaces.

Full functional specifications can be seen here: https://yeti.equinoxoli.org/dev/public/techspecs/angacq_sprint4_rev202107.pdf

ECDI is also funding two bugfixes as part of this project:

Bug 1268006 (ACQ should apply a default owning lib to copies managed via batch update)
Bug 1357037 (Additional sort order options when viewing purchase order line items)

tags: removed: wishlist
Revision history for this message
Galen Charlton (gmc) wrote :

A patch series is available in the branch user/gmcharlt/lp1942220_angular_acq_sprint4 / https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/gmcharlt/lp1942220_angular_acq_sprint4

This pull request incorporates the following pending contributions by other Evergreen developers:

* Bug 1929741 (Angularize ACQ Selection and Order Interfaces) [Bill Erickson]
* Bug 1929749 (Angularize Acq Load MARC Order Records) [Tiffany Little]
* Bug 1570623 (Acquisitions: Line Item already owned Copy Count is not updated when a copy is deleted / cancelled) [Tiffany Little]

This pull request also includes patches for the following bugs/enhancements:

* Bug 1981714 (new library setting to specify owning library for auto-created line items)
* Bug 1357037 (Additional sort order options when viewing purchase order line items)
* Bug 1960526 (Angular link color and link accessibility)

This pull request also includes fixes for the following bugs:

* Bug 1268006 (ACQ should apply a default owning lib to copies managed via batch update)

tags: added: pullrequest
Changed in evergreen:
status: New → Confirmed
Revision history for this message
Ruth Frasur Davis (redavis) wrote :

I and members of the ECDI acquisitions testing team have tested this code and consent to signing off on it with my name (Ruth Frasur/rfrasur) and email address, <email address hidden>.

tags: added: signedoff
Revision history for this message
Andrea Neiman (aneiman) wrote :
Andrea Neiman (aneiman)
Changed in evergreen:
milestone: none → 3.10-beta
Revision history for this message
Galen Charlton (gmc) wrote :

A community test server is now available. The particulars can be found here:

https://docs.google.com/document/d/1N49RCxJxp7Yjqgmy67F4rtbSrH3kd2bouDbeKAg42EY/edit

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

I'm planning on testing more extensively later, but I was just tinkering this morning and noticed that if you go to PO#2 on the test server, the statuses are wrong for line items #4 and #5. #4 shows as Delayed Backorder, but if you go into the Items, it's actually Canceled:Invalid ISBN. #5 shows as Canceled:Invalid ISBN, but if you go into the Items it's actually Delayed:Backorder.

I'm not sure where it's grabbing the fund info from either--#4 shows as having $12 encumbered even though the item is canceled, but even if it wasn't, the encumbrance should be $18.50. Unless it's grabbing the price info from line item#3, which *is* $12.

Revision history for this message
Mary Llewellyn (mllewell) wrote :

A few niggling observations:

After activating a purchase order, it does not automatically refresh to change the line item statuses and color. I've had to manually refresh the browser to see the change.

Show Originating Acquisition (Item Status): does not focus on the line item when you arrive on the purchase order. A red box around the line item would be helpful.

Invoicing from a PO. Selecting line items and creating an invoice should open the invoice in a new tab.

The Link to Provider from the PO should open provider record in a new tab.

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

Re: my #5 comment--I do still see that issue on PO#2, but I haven't been able to replicate it when I create my own purchase orders on the test server. So I'm hoping there's just something odd about PO#2.

I tested using the system level acqadmin perm of br1krush, and thus far I don't see anything else that I would consider a showstopper. I do agree with Mary's notes above--especially about the PO reloading upon activation--but wouldn't want to hold this back from getting into 3.10 just based on those lingering tweaks.

Revision history for this message
Christine Morgan (cmorgan-z) wrote :

I came across an issue that I see as a regression. In the dojo interface it is currently possible to use the batch updater in the purchase order to update the fund in selected line items after the purchase order has been activated. Our libraries use this to change the fund when they have accidentally used the wrong fund, have decided to use a different fund, or have uploaded a file with the wrong fiscal year set. In the new interface I see that the batch update option in the PO Actions menu is disabled after the purchase order has been activated so that it is now not possible to update funds. I realize that everything else in the batch updater, except possibly for the collection code, should be disabled after PO activation. The loss of the ability to update the fund, however, is an issue for us. If the batch updater could remain active after PO activation, with only the fund and possibly collection code enabled, that would be ideal but just leaving the batch update option active would give us what we have now.

Revision history for this message
Jennifer Pringle (jpringle-u) wrote :

I agree, if we can't update an incorrect fund after a PO has been activated that's definitely a regression.

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

+1, glad Christine caught that!

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

Per the AIG, we don't consider this particular regression a blocker for Sprint 4 getting into 3.10, but we *do* consider it a blocker for removing the PO/LI dojo interface(s).

Bill Erickson (berick)
Changed in evergreen:
assignee: nobody → Bill Erickson (berick)
Revision history for this message
Bill Erickson (berick) wrote :

Rebased branch pushed with Ruth and my sign offs:

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/berick/lp1942220-ang-acq-sprint4-sign

I also added 2 commits, one with minor rebase fixes, and a second to update the catalog "View/Place Orders" action on the record detail page so it now goes to the new Angular version of this page -- which I'm assuming we want.

Otherwise, testing looks good on my end.

Changed in evergreen:
assignee: Bill Erickson (berick) → nobody
tags: removed: signedoff
Changed in evergreen:
assignee: nobody → Jane Sandberg (sandbergja)
Revision history for this message
Jane Sandberg (sandbergja) wrote (last edit ):

Merged for inclusion in 3.10. Thanks, Galen, Tiffany, Bill, Andrea, Ruth, and all testers and AIG participants!

I also added two follow-up commits

* Since this development migrates eg2's package-lock.json to lockfileVersion 2, I've taken the liberty of bumping the node version and migrating the other package-lock.json files. Without this change, whenever I run `npm i`, I get the message: "This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!" and the lockfile gets migrated back to lockfileVersion 1.
* Fixed a few issues identified by the new linter

Changed in evergreen:
status: Confirmed → Fix Committed
assignee: Jane Sandberg (sandbergja) → nobody
Revision history for this message
Jane Sandberg (sandbergja) wrote :

I opened bug 1991487 to capture Christine's report in comment #8.

Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.