Uploaded image for project: 'ERM Platform'
  1. ERM Platform
  2. ERM-1231

Add date created/last updated metadata to Agreements

    XMLWordPrintable

Details

    • 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

            Activity

              People

                ostephens Owen Stephens
                ostephens Owen Stephens
                Gill Osguthorpe Gill Osguthorpe
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases