Uploaded image for project: 'mod-orders-storage'
  1. mod-orders-storage
  2. MODORDSTOR-131

Renewal/subscription PO schema changes

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 10.0.0
    • Labels:
    • Template:
    • Sprint:
      ACQ Sprint 82
    • Story Points:
      2
    • Development Team:
      Thunderjet

      Description

      Overview

      • Rename the "renewal" field to "ongoing" in purchaseOrder/CompositePurchaseOrder schemas
      • Rename the "renewal" schema to "ongoing"
      • Remove "cycle" from the ongoing schema
      • Remove the default value from "manualRenewal" in the ongoing schema - in some cases it doesn't makes sense to have this field present so we don't want a default value.
      • Add a "isSubscription" field to the ongoing schema.
        • boolean
        • default: false
      • Change description of "renewalDate" to: "The date this Ongoing PO's order lines were renewed"

      Data Migration Considerations

      • need to add new field w/ default value (false)
      • for existing records with renewal information, they must have a renewalInterval set - Dennis Bridges what's a reasonable value to use in this case? 365 days
        • this isn't required in the schemas but it is conditionally required (if orderType=ongoing && subscription=true) - see MODORDERS-351
      • some fields will need to be renamed if present in existing records

      Acceptance Criteria

      • schemas and examples are updated
      • sample data is updated
      • data migration scripts are implemented

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                khandramai Viachaslau Khandramai
                Reporter:
                cmcnally Craig McNally
                Tester Assignee:
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases