Uploaded image for project: 'CFA MX '
  1. CFA MX
  2. CFAMX-10042

CLONE 2020R2.1 - Events - Prohibit selection of a date for which the event is already scheduled

    Details

    • Sprint:
      CFAMX 2020R3 Hardening
    • SCRUM Team:
      Watchmen
    • Story Points:
      5
    • Work Type Classification:
      Sustaining

      Description

      As an operator I want to be prevented from adding a duplicate event to a day for which that event is already scheduled so that my forecast behaves as expected when reversing the event

      Notes

      • Add event
        • Manual Event
        • Sales Item Event
        • Auto Event
      • Edit Event
        • Manual Event
        • Sales Item Event
        • Auto Event
      • When a date is selected that already has the same event (name and type) scheduled, display and error message below the date field and disable the buttons that allow the user to advance
      • Verbiage: This event has already been scheduled for this date, please select a different date.

      Acceptance Criteria

      Manual Event - Add

      1. Confirm when adding a new event from an existing event, to a date for which that event is already scheduled, an error message is displayed under the date field and the Enter Adjustments button is disabled
      2. Confirm when the user selects a date that does not have the event scheduled, no error message is displayed and the Enter adjustments button is enabled
      3. Confirm when switching between dates that have the event scheduled and those that don't, the error message is only displayed for those days for which the event is already scheduled, and the Enter Adjustments button is enabled/disabled following the same criteria

      Manual Event - Edit

      1. Confirm when editing an event, and no change is made to the date and the user clicks on Enter Adjustments, and then on Actions (after making no changes to the event), the Save button is disabled and the Delete button is enabled (this is the path to deleting an event)
      2. Confirm when editing an event and selecting a date that already has the same event scheduled, the error message is displayed under the date field and the Enter Adjustments button is disabled
      3. Confirm when editing an event, and no change is made to the date, that the Enter Adjustments button is enabled
        • Click on Enter adjustment
        • Edit Adjustments
        • Click on Save
        • This action updates the specific instance of the event that is scheduled for this date only
      4. Confirm when editing an event, and a new date is selected that does not already have the specific event scheduled, that the Enter Adjustments button is enabled
        • Click on Enter adjustment
        • Make no edits the Adjustments
        • Click on Save
        • This action moves the event to the new date that was selected
      5. Confirm when editing an event, and a new date is selected that does not already have the specific event scheduled, that the Enter Adjustments button is enabled, and that the adjustments can be edited/updated
        • Click on Enter adjustment
        • Edit Adjustments
        • Click on Save
        • This action updates the adjustments for this specific instance of the event and moves the event to the new date

      Sales Item Event - Add

      1. Confirm when adding a new event from an existing event, to a date for which that event is already scheduled, an error message is displayed under the date field and the Save button is disabled
      2. Confirm when the user selects a date that does not have the event scheduled, no error message is displayed and the Save button is enabled
      3. Confirm when switching between dates that have the event scheduled and those that don't, the error message is only displayed for those days for which the event is already scheduled, and the Save button is enabled/disabled following the same criteria

      Sales Item Event - Edit

      1. Confirm when editing an event, and no change is made to the date and the user clicks on Actions (after making no changes to the event), the Save button is disabled and the Delete button is enabled (this is the path to deleting an event)
      2. Confirm when editing an event and selecting a date that already has the event scheduled the error message is displayed under the date field and the Save button, under Actions, is disabled
        • Caner Saritac This page is a little more complicated, do you think that it would be possible to disable the Time Periods picker/field, and the Add New Item button, when the error is displayed?
      3. Confirm when editing an event, and a new date is selected that does not already have the specific event scheduled, that the Actions > Save button is enabled
        • Click on Actions > Save
        • This action moves the event to the new date that was selected
      4. Confirm when editing an event, and no change is made to the date, and the user clicks on Time Period
        • Click on Time Period
        • Edit Periods
        • Click on Select Sales Items
        • Click on Actions > Save
        • This action updates the Time Periods for the specific instance of the event that is scheduled for this date only
      5. Confirm when editing an event, and no change is made to the date, and the user clicks on Add new item(s)
        • Click on Add new item(s)
        • Select a new item
        • Enter adjustment details for the new item (Note: the save button is disabled until an adjustment is entered)
        • Click on Actions > Save
        • This action updates the Sales Items for the specific instance of the event that is scheduled for this date only
        • Note: Zero Base Forecast check
          • Confirm when a Sales Item is added to an Event and the Sales Item has zero base forecast, AND the adjustment type is %, after clicking on Actions > Save, the user is prompted to remove the item
            • Clicking on Remove automatically removes the items
            • Clicking on Cancel closes the popup
      6. Confirm when editing an event, and a new date is selected that does not already have the specific event scheduled, and both the Time Periods and Sales Items are updated that the changes can be saved
        • Change Date (to one that does not already have the specific event scheduled)
        • Change Time Periods
        • Change Sales Items
        • Actions > Save
        • This action updates the details (time periods and sales items) for the specific event and moves the event to the new date

      Auto Events - Add

      1. Confirm when adding a new event from an existing event, to a date for which that event is already scheduled, an error message is displayed under the date field and the Save button is disabled
      2. Confirm when the user selects a date that does not have the event scheduled, no error message is displayed and the Save button is enabled
      3. Confirm when switching between dates that have the event scheduled and those that don't, the error message is only displayed for those days for which the event is already scheduled, and the Save button is enabled/disabled following the same criteria

      Auto Events - Edit

      1. Confirm when editing an event, and no change is made to the date and the user clicks on Actions (after making no changes to the event), the Save button is disabled and the Delete button is enabled (this is the path to deleting an event)
      2. Confirm when editing an event and selecting a date that already has the event scheduled the error message is displayed under the date field and the Save button, under Actions, is disabled
      3. Confirm when editing an event, and a new date is selected that does not already have the specific event scheduled, that the changes can be saved
        • Change Date (to one that does not already have the specific event scheduled)
        • Actions > Save
        • This action moves the event to the new date that was selected
      4. Confirm when editing an event, and the user clicks on Advanced Options and edits the entries, the Actions > Save button is available
        • Click on Advanced Options
        • Edit selected dates
        • Actions > Save
        • This action updates the event for all days that the event is scheduled (A quick test verified this, the Auto Event logic learns as days are added to it, and it will always use the latest 5 days added to the event, regardless of the date on which it is scheduled)
          • Note: this behavior is different to Manual and Sales Item events, where only the specific instance of the event is updated

        Attachments

        1. BaseForecastZero.png
          82 kB
          Will Englefield
        2. screenshot-1.png
          44 kB
          Will Englefield

          Issue Links

          1.
          Review Test Scripts QA Task Done Unassigned

          0%

          Original Estimate - 0.5h
          Time Not Required
          2.
          Deploy QA Task Done Unassigned

          0%

          Original Estimate - 0.5h
          Time Not Required
          3.
          Functional Review with QA Dev Task Done Unassigned

          0%

          Original Estimate - 0.5h
          Time Not Required
          4.
          DIT Dev Task Done Unassigned

          0%

          Original Estimate - 0.5h
          Time Not Required
          5.
          Patchback Dev Task Done Caner Saritac

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 1h

            Activity

              People

              • Assignee:
                will.englefield Will Englefield (Inactive)
                Reporter:
                will.englefield Will Englefield (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h Time Not Required
                  1h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.