Show Package Record: Allow a user to create an agreement and attach package
Priority
Environment
Template
Description
Development Team
Release
Story Points
Sprint
is cloned by
is defined by
relates to
Checklist
hideTestRail: Results
Activity

Khalilah GambrellApril 5, 2019 at 8:25 PM
I used http://folio-snapshot.aws.indexdata.com and the resource is not attached to the package or resource.

md331March 23, 2019 at 1:10 PMEdited
I don't mind too much when it's added, I'd say add it whenever/as soon as you can so it's there and ready for integration testing.
Also, that URL is wrong. You're going to be linking to the Create Agreement page, which is more like /erm/agreements?layer=create
. That URL you provided would just load an existing agreement's view pane.

Igor GodlevskyiMarch 22, 2019 at 5:27 PM
Hello ,
This story is basically to add a button to redirect to agreements app.
The link it will redirect is of the following shape:
Do you want us to add those links before you start related stories in agreements?
Or it is enough for you just to know the shape of the link?
Basically we can add those links but they would not be functional so I my suggestion it to add them when related stories in agreement are finished.

Yurii DanylenkoMarch 18, 2019 at 2:11 PM
It's necessary to do some work on agreements app side to be able to pass reference(package, resource) id to agreement creation page.
Details
Assignee
Yurii DanylenkoYurii DanylenkoReporter
Khalilah GambrellKhalilah GambrellFix versions
TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee

Reporter

As a Librarian
I want the ability to create an agreement and attach an agreement to a package in the knowledge base
Requirement
Only applies to Show Package Detail Record View
This functionality should be available regardless of Holding status
This functionality should be available whether managed or custom
Under Agreements accordion
Display New button
Clicking New button should open a New Agreement record page in the Agreements App
Once user hits save then the package is attached to that newly created Agreement record.
List of agreements: Each row is clickable and takes user to Agreement in Agreements app.
Agreement List default sort: Start date (date descending order)
Please review linked Spike details
eholdings Package Screenshot
https://drive.google.com/file/d/1B-2EkPollcCibuMT28np2-BvV8LdODcD/view?usp=sharing
Acceptance Criteria
Given I am on an eholdings package record
AND I have never attached an agreement to the package record
When I expand the Agreements accordion
Then display "New" button
After click on the button user should be redirected to agreements app by the link like this /erm/agreements?layer=create&authority=EKB-PACKAGE&referenceId=123-45678
display a message [No agreements found]
Given I am on an eholdings package record
AND I have expanded the Agreement accordion
When I click New
Then display a New Agreement record in the Agreements app
Given I clicked the New button on the eholdings package record
And I am on the New Agreement record in the Agreements app
When I hit Save
Then attach the eholdings package to the created Agreements
AND keep me in the Agreements App
Given I clicked the New button on the eholdings package record
And I am on the New agreement record in the Agreements app
When I hit Cancel
Then do not attach the package to the agreement
AND keep me in the Agreements App
Given I am on the package detail record
AND an agreement(s) displays under the Agreements section
When I click an Agreement row
Then display the Agreement record in the Agreements app
Given I am on an eholdings package detail record
WHEN at least one agreement has been attached to the package
THEN display Start Date| Status | Name under Agreements section