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

Events - Prohibit selection of a date for which the event is already scheduled

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Sprint:
      CFAMX 2020R3 SA Sprint 4
    • 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. screenshot-9.png
          screenshot-9.png
          16 kB
        2. screenshot-8.png
          screenshot-8.png
          44 kB
        3. screenshot-7.png
          screenshot-7.png
          13 kB
        4. screenshot-6.png
          screenshot-6.png
          53 kB
        5. screenshot-5.png
          screenshot-5.png
          53 kB
        6. screenshot-4.png
          screenshot-4.png
          9 kB
        7. screenshot-3.png
          screenshot-3.png
          9 kB
        8. screenshot-2.png
          screenshot-2.png
          88 kB
        9. screenshot-11.png
          screenshot-11.png
          12 kB
        10. screenshot-10.png
          screenshot-10.png
          33 kB
        11. screenshot-1.png
          screenshot-1.png
          44 kB
        12. image-2020-05-21-18-57-40-118.png
          image-2020-05-21-18-57-40-118.png
          10 kB
        13. BaseForecastZero.png
          BaseForecastZero.png
          82 kB

          Issue Links

            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 - 25h Original Estimate - 25h
                  25h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 28h 2m
                  28h 2m

                    PagerDuty

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