Details
-
Story
-
Status: Closed (View Workflow)
-
TBD
-
Resolution: Done
-
ERM Sprint 106, ERM Sprint 107
-
Bienenvolk
Description
Purpose:
Support searching by Agreement start and end date
Description
Add options to search by start and end date into the Agreements search and sort screen
- Separate search options - one for start date, one for end date.
- The user should be able to specify a date on or after which the start/end date falls AND a date on or before which the start/end date falls - these constraints should be applied together. e.g. "find agreements with an end date on or after 1st January 2020 AND on or before 31st December 2020). Both the constraints are optional
- The user should be able to check a box to include agreements without a defined end date and this should be combined with the date constraints as an "OR". e.g. "find agreements with an end date that is either on or after 1st January 2020 OR is empty
- The Agreement end date should always be the latest agreement period end date over all agreement periods, or not set if there is a period with an empty/unset end date
- The Agreement start date should always be the earliest agreement period start date over all agreement periods
The search interface should use the same as implemented in Licenses for searching start/end date, except that Agreements MUST have a start date, so no option is required to search empty start dates
For the checkboxes use the phrases:
- Include agreements with no end date set
User story statement(s):
As an ERM librarian,
I want to be able to search for agreement by start and end date
so that I can find agreements that currently apply or applied during a specific period
As an ERM librarian,
I want to be able to search for agreements that have an overall end date within a specific time period (e.g. this year, next 90 days, next 60 days)
so that I can find agreements that are going to expire and take action to extend or renegotiate them
As an ERM librarian,
I want to be able to search for agreements that do not have an end date defined
so that I can find agreements with no defined end date
Scenarios:
- Scenario:
- Given an agreements with an end date of 31st December 2020
- When I search for all agreements with an end date on or before 31st December 2020
- Then I find this agreements
- Scenario:
- Given a agreements with an end date of 31st December 2020
- When I search for all agreements with an end date on or before 31st December 2020 but on or after 1st January 2020
- Then I find this agreements
- Scenario:
- Given a agreements with an end date of 1st January 2021
- When I search for all agreements with an end date on or before 31st December 2020 but on or after 1st January 2020
- Then I do not find this agreements
- Scenario:
- Given a agreements with no end date defined
- When I search for all agreements without an end date
- Then I find this agreements
- Scenario:
- Given a agreements with no end date defined
- When I search for all agreements with an end date after 1st January 2020 (not including those without an end date)
- Then I do not find this agreements
- Scenario:
- Given an agreement with an start date of 1st January 2020
- When I search for all agreements with a start date on or after 1st January 2020
- Then I find this agreements
- Scenario:
- Given a agreements with an start date of 1st January 2020
- When I search for all agreements with a start date on or after 1st January 2020 but before 31st December 2020
- Then I find this agreements
- Scenario:
- Given a agreements with an start date of 1st January 2021
- When I search for all agreements with a start date on or after 1st January 2020 but on or before 31st December 2020
- Then I do not find this agreements
- Scenario:
- Given the Start date filter
- If I enter a date in both the "On or after" and "On or before" fields, if the "On or after" date is later the "On or before" date
- Then on clicking "Apply" I see the error "The `On or after` date must not be later than the `On or before` date"
- Scenario:
- Given the End date filter
- If I enter a date in both the "On or after" and "On or before" fields, if the "On or after" date is later the "On or before" date
- Then on clicking "Apply" I see the error "The `On or after` date must not be later than the `On or before` date"
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-2870 Agreements period / date management
-
- Closed
-
- relates to
-
ERM-1531 "All periods" accordion for agreements
-
- Closed
-
-
ERM-1533 Agreement start and end dates should be the earliest period start and latest period end date respectively
-
- Closed
-
-
ERM-1534 Previous/Current/Next period display in Agreement summary
-
- Closed
-
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...