Details
-
Story
-
Status: Closed (View Workflow)
-
TBD
-
Resolution: Done
-
ERM Sprint 119
-
Bienenvolk
-
R3 2021
Description
Purpose/Overview:
Implement date/time created and last updated metadata for Agreements and Agreement Lines
An Agreement should be counted as "updated" when any aspect of an agreement is edited OR an agreement line belonging to the agreement is updated
An Agreement line should be counted as updated when any aspect of the agreement line is edited
Both the Agreement and the Agreement Line display should have the Record last updated/Record created dropdown added to the display below the main Agreement / Agreement Line header as indicated in these screenshots
Scenario 1:
Given: The creation of a new agreement
When: the agreement is first saved
Then: The created and updated timestamps for the agreement should be set to the current time
Scenario 2:
Given: The creation of a new agreement line
When: the agreement line is first saved
Then: The created and updated timestamps for the agreement line should be set to the current time, and the updated timestamp for the owning agreement should be set to the current time
Scenario 3:
Given: An update to an agreement
When: the agreement is saved
Then: The updated timestamp for the agreement should be set to the current time
Scenario 4:
Given: An updated to an agreement line
When: the agreement line is saved
Then: The updated timestamp for the agreement line should be set to the current time, and the updated timestamp for the owning agreement should be set to the current time
Scenario 5:
Given: An agreement
When: the agreement is viewed in the Agreement view pane in the UI
Then: The updated and created timestamps for the agreement should be shown in the UI, using the same approach as for licenses (and elsewhere), just below the main agreement name header (see screenshot)
Scenario 6:
Given: An agreement line
When: the agreement line is viewed in the Agreement line view pane in the UI
Then: The updated and created timestamps for the agreement line should be shown in the UI, using the same approach as for licenses (and elsewhere), just below the main header which reads "Agreement line information" (see screenshot)
Dev Task Breakdown
- Add dateCreated/lastUpdated fields to the Grails domain model for Agreement/AgreementLine
- domain class property
- migration for new column in tables
- Grails should fill those out automatically for the above scenarios, but double check.
TestRail: Results
Attachments
Issue Links
- clones
-
ERM-1230 Add date created/last updated metadata to Licenses and Amendments
-
- Closed
-
- defines
-
UXPROD-3090 UX improvements for Agreements R3 2021
-
- Closed
-
- duplicates
-
ERM-54 Support the standard resource metadata properties for SubscriptionAgreements
-
- Closed
-
- relates to
-
ERM-2923 Add created/updated metadata for Resources in local KB
-
- Closed
-